[ovirt-users] Re: Can't access Storage > Volumes through the UI.

2019-12-11 Thread Fred Rolland
It seems to be missing here:
https://github.com/oVirt/ovirt-engine/blob/master/frontend/webadmin/modules/uicompat/src/main/resources/org/ovirt/engine/ui/uicompat/LocalizedEnums.properties#L723

Are you using a specific Locale language? Maybe switching to English can
unblock you for now.

Please open a bugzilla for this issue.

On Wed, Dec 11, 2019 at 11:40 AM Gobinda Das  wrote:

> Hi,
>  Are you using gluster storage? If yes then can you please check whether
> "Gluster Service" is enabled in your Cluster or not?
>
> On Wed, Dec 11, 2019 at 2:27 PM Valentin Bajrami <
> valentin.bajr...@target-holding.nl> wrote:
>
>> Hi Fred,
>>
>> Forgot to mention that I did this already. Downgraded firefox to an older
>> version from 70 to version 66. Didn't help. Tried chrome browser and yet no
>> success. On another environment, the same version of ovirt-engine version
>> seems not to be affected. ui.log and engine.log do not seem to show
>> anything useful afaik.
>>
>> Valentin
>> On 12/11/19 9:41 AM, Fred Rolland wrote:
>>
>> Maybe it is a cache issue?
>> Can you try to clean the cache in the browser?
>>
>> On Tue, Dec 10, 2019 at 9:03 PM Valentin Bajrami <
>> valentin.bajr...@target-holding.nl> wrote:
>>
>>> Hi Eyal,
>>>
>>> Have you had time to see the logs? Any idea what's going on? Could you
>>> or anyone else reproduce this on version 4.3.6.7-1.el7?
>>> On 12/9/19 2:26 PM, Valentin Bajrami wrote:
>>>
>>> Hi Eyal,
>>>
>>> Although I've attached the log files, I couldn't find anything useful
>>> myself. See if you can make something out of it.
>>>
>>> Best regards,
>>> Valentin
>>> On 12/9/19 1:37 PM, Eyal Shenitzky wrote:
>>>
>>> Hi Valentin,
>>>
>>> Can you please add the ui.log and engine.log?
>>>
>>> On Mon, 9 Dec 2019 at 14:08, Valentin Bajrami <
>>> valentin.bajr...@target-holding.nl> wrote:
>>>
>>>> Hello everyone,
>>>>
>>>> Recently, I upgraded ovirt-engine from 4.2.5.3-1.el7 to 4.3.6.7-1.el7
>>>> but going to  Storage > Volumes   nothing seems to happen. Volumes does
>>>> not open up.
>>>>
>>>> The error I see in the debugger mode (firefox) is as follows:
>>>>
>>>> org.ovirt.engine.ui.uicompat.EnumTranslator WARNING: Missing Enum
>>>> resource 'V5'. Cannot find constant 'StorageFormatType___V5'; expecting
>>>> a method name.  There is also a bug here:
>>>> https://bugzilla.redhat.com/show_bug.cgi?id=1759102
>>>>
>>>> Anyone any diea?
>>>>
>>>> --
>>>> Met vriendelijke groeten / Kind regards,
>>>> Valentin Bajrami
>>>> Target Holding
>>>>
>>>>
>>>> ___
>>>> 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/FZLY7JEXAIKVZDDIX4L7J4CE4EGMV5DQ/
>>>>
>>>
>>>
>>> --
>>> Regards,
>>> Eyal Shenitzky
>>>
>>> --
>>> Met vriendelijke groeten,
>>>
>>> Valentin Bajrami
>>> Target Holding
>>>
>>> --
>>> Met vriendelijke groeten,
>>>
>>> Valentin Bajrami
>>> Target Holding
>>>
>>> ___
>>> 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/7D3WOFOI5Y2C26QN664XC2BXB6CGMR3S/
>>>
>> --
>> Met vriendelijke groeten,
>>
>> Valentin Bajrami
>> Target Holding
>>
>> ___
>> 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/PQKAHRPVPQLWKKTKRDQKYW3NCPDMKXNU/
>>
>
>
> --
>
>
> Thanks,
> Gobinda
>
___
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/AT2UEQF2E3A4WIHSBTRMSGT2GFDRYJXF/


[ovirt-users] Re: Can't access Storage > Volumes through the UI.

2019-12-11 Thread Fred Rolland
Maybe it is a cache issue?
Can you try to clean the cache in the browser?

On Tue, Dec 10, 2019 at 9:03 PM Valentin Bajrami <
valentin.bajr...@target-holding.nl> wrote:

> Hi Eyal,
>
> Have you had time to see the logs? Any idea what's going on? Could you or
> anyone else reproduce this on version 4.3.6.7-1.el7?
> On 12/9/19 2:26 PM, Valentin Bajrami wrote:
>
> Hi Eyal,
>
> Although I've attached the log files, I couldn't find anything useful
> myself. See if you can make something out of it.
>
> Best regards,
> Valentin
> On 12/9/19 1:37 PM, Eyal Shenitzky wrote:
>
> Hi Valentin,
>
> Can you please add the ui.log and engine.log?
>
> On Mon, 9 Dec 2019 at 14:08, Valentin Bajrami <
> valentin.bajr...@target-holding.nl> wrote:
>
>> Hello everyone,
>>
>> Recently, I upgraded ovirt-engine from 4.2.5.3-1.el7 to 4.3.6.7-1.el7
>> but going to  Storage > Volumes   nothing seems to happen. Volumes does
>> not open up.
>>
>> The error I see in the debugger mode (firefox) is as follows:
>>
>> org.ovirt.engine.ui.uicompat.EnumTranslator WARNING: Missing Enum
>> resource 'V5'. Cannot find constant 'StorageFormatType___V5'; expecting
>> a method name.  There is also a bug here:
>> https://bugzilla.redhat.com/show_bug.cgi?id=1759102
>>
>> Anyone any diea?
>>
>> --
>> Met vriendelijke groeten / Kind regards,
>> Valentin Bajrami
>> Target Holding
>>
>>
>> ___
>> 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/FZLY7JEXAIKVZDDIX4L7J4CE4EGMV5DQ/
>>
>
>
> --
> Regards,
> Eyal Shenitzky
>
> --
> Met vriendelijke groeten,
>
> Valentin Bajrami
> Target Holding
>
> --
> Met vriendelijke groeten,
>
> Valentin Bajrami
> Target Holding
>
> ___
> 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/7D3WOFOI5Y2C26QN664XC2BXB6CGMR3S/
>
___
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/3IFV5YNO34LVWZCMNVVYKUHVGC7VHC6R/


[ovirt-users] Re: How can I use python to find all the virtual machines in the ovirt-engine interface, and export a virtual machine into an ova file ?

2019-10-30 Thread Fred Rolland
Hi,

Take a look at these examples:
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/list_vms.py
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/export_vm_as_ova.py

Regards,
Freddy

On Thu, Oct 24, 2019 at 4:36 AM  wrote:

> If I want to use python to find all the virtual machines in the
> ovirt-engine interface, and export a virtual machine into an ova file to
> the specified directory, do I have the corresponding official documentation
> and API for my reference?
> ___
> 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/62FREZWEPJRG5UGTAT56PMLXAQGOTQHY/
>
___
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/VEEY7WQZPSYEO4AKYDLYJCVO3EM5OGWN/


[ovirt-users] Re: Linked Clones?

2019-09-22 Thread Fred Rolland
Fabio,

Did you tried to create a VM based on a template with thin-provisioning
mode?
This looks like this is what you want to to achieve. The VM will have a
QCOW disk based on the template disk that will stay Read-Only.

Regards,
Freddy

On Thu, Sep 19, 2019 at 10:50 AM Simone Tiraboschi 
wrote:

>
>
> On Thu, Sep 19, 2019 at 9:24 AM  wrote:
>
>> Hi,
>>
>> I am approaching and studying oVirt in order to propose the solution to a
>> customer as a replacement for a commercial solution they have now.
>> They only need Desktop virtualization.
>> Sorry for the silly question, but I can't find a way to deploy a VM
>> (template) to users as a "linked-clone", meaning that the users' image
>> still refers to the original image but modification are written (and
>> afterwards read) from a new location. This technique is called
>> Copy-on-write.
>> Can this be achieved with oVirt?
>>
>
> Hi,
> oVirt provides VM Pools:
> https://www.ovirt.org/documentation/admin-guide/chap-Pools.html
>
> but the VMs in pool are designed to be stateless and so, on that user
> case, the user specific data should stored on an external (not on the VM
> disk) storage area like an NFS or SMB/CIFS share mounted inside the VM at
> user login time.
>
> Probably you can achieve something closer to your initial idea relying on
> oVirt-CinderLib integration over a capable SAN or a Ceph storage.
>
> https://ovirt.org/develop/release-management/features/storage/cinderlib-integration.html
> Please be aware that in 4.3 cinder-lib integration is still a
> "tech-preview" grade feature and the design of the whole solution will
> probably require a relevant integration/configuration effort on your side
> to correctly achieve copy-on-write behaviour on storage side.
>
>
>
>>
>> Fabio
>> ___
>> 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/3XITFLEJDICOFY3KQTBHFASBF7KANJCV/
>>
> ___
> 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/2KFQCPLGDL6NEBLVLMO6WG4KMXURNJEI/
>
___
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/MYHC5QM5IUESI5U2TDUQPXSFOEGDFGJT/


[ovirt-users] Re: lvm agregation of lun in a storage domain

2019-07-04 Thread Fred Rolland
Yes, you need to put the Storage Domain in maintenance.
Then you will have a "Remove button" on the LUN row like this:

https://imgur.com/a/9bZNz

On Thu, Jul 4, 2019 at 12:13 PM Nathanaël Blanchet  wrote:

> Hello
>
> We made a mistake at the conception of our storage domain and we
> aggreggated two FC luns like so:
>
> We need to retrieve one of the two luns for other use, is there a way to
> easy detach one of the two luns from the VG ?
>
>
> --
> Nathanaël Blanchet
>
> Supervision réseau
> Pôle Infrastrutures Informatiques
> 227 avenue Professeur-Jean-Louis-Viala
> 34193 MONTPELLIER CEDEX 5 
> Tél. 33 (0)4 67 54 84 55
> Fax  33 (0)4 67 54 84 14blanc...@abes.fr
>
> ___
> 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/CMDEKJIO4IJZ27J2RHNXPOGU75G7RWEA/
>
___
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/43FREWW6APJAVF3NPG5DD2PR5ZHYH4IT/


[ovirt-users] Re: [ovirt-devel] USB on host support?

2019-07-02 Thread Fred Rolland
This page should answer your question:
https://www.ovirt.org/documentation/vmm-guide/chap-Administrative_Tasks.html#adding-a-host-device-to-a-virtual-machine

On Mon, Jul 1, 2019 at 7:19 PM Hetz Ben Hamo  wrote:

> It shows the device, but how to map it to a VM?
>
> On Sun, Jun 30, 2019, 01:22 Nir Soffer  wrote:
>
>> On Sat, Jun 29, 2019 at 11:57 PM Hetz Ben Hamo  wrote:
>>
>>> One of the requirements is USB host support (which will be on the nodes,
>>> not on the desktops). I haven't found any way to connect USB to a VM other
>>> then through SPICE, but this method won't help as these dongles won't be on
>>> desktops.
>>>
>>> Is this in the road map of oVirt?
>>>
>>
>> Did you try Compute > Virtual machines > vm-name > Host devices?
>>
>> 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/FHXWSAOPXWURUN76MIJR7CSNJI55S5IO/
>
___
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/QVWY743KGCJ6SCZREHK6MJH75U2CK3JO/


[ovirt-users] Re: Nvme over fabric array support through OVirt MANAGED_BLOCK_STORAGE Domain

2019-05-30 Thread Fred Rolland
Hi,
Do you have a link to the documentation of the Cinder driver you want to
use?

You will need to have the disks available on all the hosts on the DC in
order to be able to migrate the VM.
You can configure the hosts that the VM can run on if you want to enable
only specific hosts.

Note that this feature is still on tech preview and only a limited set of
drivers has been tested.
Also, there are manual installation steps that you will need to do:

https://ovirt.org/develop/release-management/features/storage/cinderlib-integration.html#manual-install


Please let me know if you have any questions.

Thanks,
Freddy

On Thu, May 30, 2019 at 10:35 AM  wrote:

> for an NVMe over fabric storage array that supports Cinder backend plugin,
> is it possible to use MANAGED_BLOCK_STORAGE domain to configure Virtual
> disk? in this case, is it required to have a single Virtual disk accessible
> from all the VDSM hosts (within the cluster) to support VM migration?
>
> Thanks,
> Amit
> ___
> 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/QTBLWYR3I7KOPTKQILA5EUYXGHOXKDG6/
>
___
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/IVFKOPAPI3QFALGLKNY7VILW3IFHO3WV/


[ovirt-users] Re: oVirt Node 4.3.2 Activation/Deactivation Loop

2019-05-28 Thread Fred Rolland
It seems that the host has issues connecting the storage domain.

Check the ConnectStorageServerVDS command sent to see what are the
connection details and try to understand why the host cannot connect.
It could be networking issues, firewall, storage server missing
configuration ...


On Mon, May 27, 2019 at 8:12 PM  wrote:

> I have a two-node cluster with one host (ovirt1) running the oVirt engine
> and the other running the most recent oVirt Node (4.3.2 from March 2019)
> software.  The engine host has the following information:
>
> OS Version:
> RHEL - 7 - 6.1810.2.el7.centos
>
> OS Description:
> CentOS Linux 7 (Core)
> Kernel Version: 3.10.0 - 957.12.2.el7.x86_64
> KVM Version: 2.12.0 - 18.el7_6.5.1
> LIBVIRT Version: libvirt-4.5.0-10.el7_6.9
> VDSM Version: vdsm-4.30.13-1.el7
> SPICE Version: 0.14.0 - 6.el7_6.1
> GlusterFS Version: [N/A]
> CEPH Version: librbd1-10.2.5-4.el7
> Open vSwitch Version: openvswitch-2.10.1-3.el7
> Kernel Features: PTI: 1, IBRS: 0, RETP: 1, SSBD: 3
> VNC Encryption: Enabled
>
> Aside from the other issue I raised of seeing the "Uncaught exception
> occurred. Please try reloading the page. Details: (TypeError) : Cannot read
> property 'a' of null
> Please have your administrator check the UI logs" error on the main host,
> ovirt1 appears to functioning normally.
>
> The node (ovirt2) however is having consistent problems.  The follow
> sequence of events is reproducible and is causing the host to enter a
> "NonOperational" state on the cluster:
>
> * Host ovirt2 installed
> * VDSM ovirt2 command ConnectStorageServerVDS failed: Message timeout
> which can be caused by communication issues
> * Host ovirt2 is not responding. Host cannot be fenced automatically
> because power management for the host is disabled.
> * Host ovirt2 cannot access the Storage Domain(s)  attached to
> the Data Center DataCenter1. Setting Host state to Non-Operational.
> (5/27/1912:43:22 PM)
> * (Banner appears in GUI) Failed Activating Host ovirt2.witsconsult.com
> * Failed to connect Host ovirt2 to Storage Pool DataCenter1
> (5/27/1912:47:07 PM)
> * Host ovirt2 cannot access the Storage Domain(s)  attached to
> the Data Center DataCenter1. Setting Host state to Non-Operational.
> (5/27/1912:47:07 PM)
> * Host ovirt2 is not responding. Host cannot be fenced automatically
> because power management for the host is disabled. (5/27/1912:47:07 PM)
> * VDSM ovirt2 command ConnectStorageServerVDS failed: Message timeout
> which can be caused by communication issues  (5/27/1912:47:07 PM)
>
> I can then re-activate ovirt2, which appears as green for approximately 5
> minutes and then repeats all of the above issues.
>
> What can I do to troubleshoot this?
> ___
> 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/TR5A2YGMX2KUX2PPAFY2F5BQCDO4CJ3D/
>
___
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/SPMZDSUOYI5NSKVHA2OJYBRQO2NXBV2I/


[ovirt-users] Re: Scale out ovirt 4.3 (from 3 to 6 or 9 nodes) with hyperconverged setup and Gluster

2019-05-16 Thread Fred Rolland
Sahina,
Can someone from your team review the steps done by Adrian?
Thanks,
Freddy

On Thu, Apr 25, 2019 at 5:14 PM Adrian Quintero 
wrote:

> Ok, I will remove the extra 3 hosts, rebuild them from scratch and
> re-attach them to clear any possible issues and try out the suggestions
> provided.
>
> thank you!
>
> On Thu, Apr 25, 2019 at 9:22 AM Strahil Nikolov 
> wrote:
>
>> I have the same locks , despite I have blacklisted all local disks:
>>
>> # VDSM PRIVATE
>> blacklist {
>> devnode "*"
>> wwid Crucial_CT256MX100SSD1_14390D52DCF5
>> wwid WDC_WD5000AZRX-00A8LB0_WD-WCC1U0056126
>> wwid WDC_WD5003ABYX-01WERA0_WD-WMAYP2335378
>> wwid
>> nvme.1cc1-324a31313230303131353936-414441544120535838323030504e50-0001
>> }
>>
>> If you have multipath reconfigured, do not forget to rebuild the
>> initramfs (dracut -f). It's a linux issue , and not oVirt one.
>>
>> In your case you had something like this:
>>/dev/VG/LV
>>   /dev/disk/by-id/pvuuid
>>  /dev/mapper/multipath-uuid
>> /dev/sdb
>>
>> Linux will not allow you to work with /dev/sdb , when multipath is
>> locking the block device.
>>
>> Best Regards,
>> Strahil Nikolov
>>
>> В четвъртък, 25 април 2019 г., 8:30:16 ч. Гринуич-4, Adrian Quintero <
>> adrianquint...@gmail.com> написа:
>>
>>
>> under Compute, hosts, select the host that has the locks on /dev/sdb,
>> /dev/sdc, etc.., select storage devices and in here is where you see a
>> small column with a bunch of lock images showing for each row.
>>
>>
>> However as a work around, on the newly added hosts (3 total), I had to
>> manually modify /etc/multipath.conf and add the following at the end as
>> this is what I noticed from the original 3 node setup.
>>
>> -
>> # VDSM REVISION 1.3
>> # VDSM PRIVATE
>> # BEGIN Added by gluster_hci role
>>
>> blacklist {
>> devnode "*"
>> }
>> # END Added by gluster_hci role
>> --
>> After this I restarted multipath and the lock went away and was able to
>> configure the new bricks thru the UI, however my concern is what will
>> happen if I reboot the server will the disks be read the same way by the OS?
>>
>> Also now able to expand the gluster with a new replicate 3 volume if
>> needed using http://host4.mydomain.com:9090.
>>
>>
>> thanks again
>>
>> On Thu, Apr 25, 2019 at 8:00 AM Strahil Nikolov 
>> wrote:
>>
>> In which menu do you see it this way ?
>>
>> Best Regards,
>> Strahil Nikolov
>>
>> В сряда, 24 април 2019 г., 8:55:22 ч. Гринуич-4, Adrian Quintero <
>> adrianquint...@gmail.com> написа:
>>
>>
>> Strahil,
>> this is the issue I am seeing now
>>
>> [image: image.png]
>>
>> The is thru the UI when I try to create a new brick.
>>
>> So my concern is if I modify the filters on the OS what impact will that
>> have after server reboots?
>>
>> thanks,
>>
>>
>>
>> On Mon, Apr 22, 2019 at 11:39 PM Strahil  wrote:
>>
>> I have edited my multipath.conf to exclude local disks , but you need to
>> set '#VDSM private' as per the comments in the header of the file.
>> Otherwise, use the /dev/mapper/multipath-device notation - as you would
>> do with any linux.
>>
>> Best Regards,
>> Strahil NikolovOn Apr 23, 2019 01:07, adrianquint...@gmail.com wrote:
>> >
>> > Thanks Alex, that makes more sense now  while trying to follow the
>> instructions provided I see that all my disks /dev/sdb, /dev/sdc, /dev/sdd
>> are locked and inidicating " multpath_member" hence not letting me create
>> new bricks. And on the logs I see
>> >
>> > Device /dev/sdb excluded by a filter.\n", "item": {"pvname":
>> "/dev/sdb", "vgname": "gluster_vg_sdb"}, "msg": "Creating physical volume
>> '/dev/sdb' failed", "rc": 5}
>> > Same thing for sdc, sdd
>> >
>> > Should I manually edit the filters inside the OS, what will be the
>> impact?
>> >
>> > thanks again.
>> > ___
>> > 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/FW3IR3NMQTYZLXBT2VLOCLBKOYJS3MYF/
>>
>>
>>
>> --
>> Adrian Quintero
>> ___
>> 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/EW7NKT76JR3TLPP63M7DTDF2TLSMX556/
>>
>>
>>
>> --
>> Adrian Quintero
>> ___
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> 

[ovirt-users] Re: Error while executing action RefreshLunsSize: REFRESH_LUN_ERROR

2019-05-15 Thread Fred Rolland
Hi,

Can you run getDeviceList on each hosts and check if the device has the
same size on all hosts?

Thanks,

Fred

On Thu, Oct 6, 2016 at 10:56 AM, vasily.lamy...@megafon.ru <
vasily.lamy...@megafon.ru> wrote:

> *I want to add some space on my LUN.*
>
> *Previously I added the place simply by pressing the “plus” button in
> domain management.*
>
> *Today I have some error with this. I touch “plus” button and get next
> errors:*
>
> *In web:* “Error while executing action RefreshLunsSize:
> REFRESH_LUN_ERROR ”
>
> *In engine.log:*
>
> 2016-10-06 05:30:09,974 ERROR 
> [org.ovirt.engine.core.bll.storage.domain.RefreshLunsSizeCommand]
> (default task-1) [784d8d11] Failed to refresh device
> 3600c0ff0001b7485f7aeea570100 Not all VDS are seeing the same size
> VDS :[Host[node10,37d1a1a7-4d40-45bb-8351-0b4f8b3d349c],
> Host[node1,5a978ba9-3314-4f4d-bfc2-59aaefc5a33c],
> Host[node3,d03c5b81-fdc3-4407-a444-feaa3d2e9d96],
> Host[node2,a44c06e1-379d-4e73-8a8f-60210a99141e]]
>
> 2016-10-06 05:30:09,974 ERROR 
> [org.ovirt.engine.core.bll.storage.domain.RefreshLunsSizeCommand]
> (default task-1) [784d8d11] Command 'org.ovirt.engine.core.bll.
> storage.domain.RefreshLunsSizeCommand' failed: EngineException: Failed to
> refresh LUNs. Not all VDS are seeing the same size: [LUN :
> 3600c0ff0001b7485f7aeea570100VDS: node10, node1, node3, node2]
> (Failed with error REFRESH_LUN_ERROR and code 5060)
>
> 2016-10-06 05:30:09,975 INFO  
> [org.ovirt.engine.core.bll.storage.domain.RefreshLunsSizeCommand]
> (default task-1) [784d8d11] Command [id=44f94cb2-3eff-49b5-85c6-d2cb79801277]:
> Compensating CHANGED_STATUS_ONLY of org.ovirt.engine.core.common.
> businessentities.StoragePoolIsoMap; snapshot: EntityStatusSnapshot:{id='
> StoragePoolIsoMapId:{storagePoolId='0001-0001-0001-0001-034e',
> storageId='f5309743-d46b-4365-951a-571d2d9fbc87'}', status='Active'}.
>
> 2016-10-06 05:30:15,683 ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (default task-1) [784d8d11]
> Correlation ID: 784d8d11, Job ID: b47afe3a-6052-4c67-a5b6-7f7303aa18b6,
> Call Stack: null, Custom Event ID: -1, Message: Failed to resize LUNs.
>
> Not all the hosts are seeing the same LUN size.
>
>
>
> *But on all node’s I see same LUN size in `multipath –ll`*
>
> *How can i repair this problem, and expand lun size in ovirt?*
>
>
>
> --
>
> Информация в этом сообщении предназначена исключительно для конкретных
> лиц, которым она адресована. В сообщении может содержаться конфиденциальная
> информация, которая не может быть раскрыта или использована кем-либо, кроме
> адресатов. Если вы не адресат этого сообщения, то использование,
> переадресация, копирование или распространение содержания сообщения или его
> части незаконно и запрещено. Если Вы получили это сообщение ошибочно,
> пожалуйста, незамедлительно сообщите отправителю об этом и удалите со всем
> содержимым само сообщение и любые возможные его копии и приложения.
>
> The information contained in this communication is intended solely for the
> use of the individual or entity to whom it is addressed and others
> authorized to receive it. It may contain confidential or legally privileged
> information. The contents may not be disclosed or used by anyone other than
> the addressee. If you are not the intended recipient(s), any use,
> disclosure, copying, distribution or any action taken or omitted to be
> taken in reliance on it is prohibited and may be unlawful. If you have
> received this communication in error please notify us immediately by
> responding to this email and then delete the e-mail and all attachments and
> any copies thereof.
>
> (c)20mf50
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>

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


[ovirt-users] Re: Add Storage Domain to existing Datacenter - side effect

2019-03-24 Thread Fred Rolland
If none of the nodes can access the storage domain, then the storage domain
will move to inactive status and the nodes will stay in UP.
If one of the node cannot access the storage domain and all the other nodes
can access, then the storage domain will stay in UP and the node will not.

The "Skip fencing on cluster connectivity issues " is not related to node
<-> storage domain connectivity but related to oVirt engine(manager)<->
nodes connectivity.

On Fri, Mar 22, 2019 at 3:51 PM  wrote:

> Hello Guys,
>
>
>
> We are evaluating oVirt , and this morning I had to face to a side effect
> ( small impact because oVIrt Datacenter is actually a small one).
>
>1. I added a new Storage domain from iSCSI SAN
>2. Not all hosts HBA were authorized to access to this LUN (lack of
>configuration on SAN side)
>3. One of ovirt Node on four nodes into my datacenter couldn’t access
>to the LUN => this ovirt node has gone into “Non-responsible” state. => All
>VMs running into this host has gone to another
>
>
>
> My question is regarding the “operational mode” :
>
>- If I add a Storage Domain which is not already fully configured /
>badly configured (“regarding HBA acces granted on SAN side), when I add the
>Storage Domain to my DC, each oVirt node into my datacenter will move to
>“non-operationnal” state after fews seconds since no one will be able to
>log into the new LUN ? (This state change can have some “major effect”  (vm
>migration between hosts without any logic) ?)
>
>
>
> Does I miss something ?
>
> Is there a guard ? Is Cluster Fencing policy option: *Skip fencing on
> cluster connectivity issues => Threshold: xx% *can protect this type of
> error  ?
>
>
>
> Regards,
>
> Jean-Baptiste
>
>
>
>
>
>
> ___
> 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/AIKWEISCUFXYNGDYLHVAD7EKIVUL4S5F/
>
___
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/RLY4EDEUGXHEQQSFHZAAJNAIXR7HVYCN/


[ovirt-users] Re: cli

2018-10-24 Thread Fred Rolland
Hi,

You can use the python SDK:
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/list_vms.py

Regards,
Fred

On Wed, Oct 24, 2018 at 6:04 PM  wrote:

> Hi,
>
> How can I list all VMs on the CLI?
>
> Thanks
>
> --
> --
> Jose Ferradeira
> http://www.logicworks.pt
> ___
> 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/S3YSX65EAQAX3MNTEEF6GKPMJRFDJJYV/
>
___
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/PKMNFS2JZ5K4UUU5SJ7V46MCSJVH7RBO/


[ovirt-users] Re: Unable to mount NFS lun

2018-09-17 Thread Fred Rolland
Hi,

Check this page for troubleshooting:

https://www.ovirt.org/documentation/how-to/troubleshooting/troubleshooting-nfs-storage-issues/

Regards,
Freddy

On Mon, Sep 17, 2018 at 1:08 PM, Budur Nagaraju  wrote:

> Hi
>
> When I do a NFS mount in the oVirt getting error , below are the logs.
>
>
>
> https://pastebin.com/T1ASaB4V
>
> Thanks,
> Nagaraju
>
>
> ___
> 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/EBK5VIEPTEDF3SRH3IQCFXZBTXHP5UTL/
>
>
___
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/UXXHRMSQWLKGEURU7Y3LXZ5SGSH7I6GM/


[ovirt-users] Re: Data Center non-responsive, storage not loading, and psql errors after importing an ova

2018-08-23 Thread Fred Rolland
Can you provide the content of the table "storage_domains" from the
database?


On Thu, Aug 23, 2018 at 10:44 AM, Sandro Bonazzola 
wrote:

> Michal, Tal, can you please have a look?
>
> 2018-08-22 2:54 GMT+02:00 :
>
>> I still havn't found a solution to this issue, but it was requested that
>> I post my engine.log and vdsm.log files. You can find a copy of my
>> engine.log here: https://git.nightscapetech.com
>> /uploads/-/system/personal_snippet/1/baddae4e4cdc787d6f13363
>> eb4657350/engine.log and my vdsm.log here: https://git.nightscapetech.com
>> /uploads/-/system/personal_snippet/1/e43cf9648a138b717343add
>> a3c02b594/vdsm.log
>>
>> Thank you.
>> ___
>> 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/communit
>> y/about/community-guidelines/
>> List Archives: https://lists.ovirt.org/archiv
>> es/list/users@ovirt.org/message/CXSZGTKJXBQFZYHWWDRVCM2DYZUVRIA4/
>>
>
>
>
> --
>
> SANDRO BONAZZOLA
>
> MANAGER, SOFTWARE ENGINEERING, EMEA R RHV
>
> Red Hat EMEA 
>
> sbona...@redhat.com
> 
> 
>
> ___
> 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/O2RTFLHVSEJFENGFG2NUO3NFYYY2UOIQ/
>
>
___
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/UWW7FG5YE7DYYYTKLVBIDOEO4CCJBPZB/


[ovirt-users] Re: Update disk alias by using ovirtsdk4

2018-08-23 Thread Fred Rolland
Try to update the DiskAttachment:

vm = vms_service.list(search='name=NFSVM')[0]
disk_attachments_service = vms_service.vm_service(vm.id
).disk_attachments_service()

#here I take the first one, works because I have only one disk
disk_attachment = disk_attachments_service.list()[0]

disk_attachment_service = disk_attachments_service.attachment_service(
disk_attachment.id)

disk_attachment_service.update(
types.DiskAttachment(
disk=types.Disk(
name='NewDiskName',
),
),
)

On Thu, Aug 23, 2018 at 2:53 AM,  wrote:

> Hello list!
>
> I have been trying to rename a disk alias that defaults to
> "some_template_name-Disk1" to something more logical by using ovirtsdk4 (in
> my example to "vm2_disk_0"). On the list itself, I saw a couple of examples
> for older version of SDK. Basically, I am trying to create a VM and then
> update its properties, notably "alias" attribute that can be found in
> types.Disk. The first portion of the code works well (vm provisioning), but
> second one (alias update) does not, causing the TypeError exception.
> Obviously, I am doing something wrong here. I have spent most of the time
> trying to figure out how to actually do this. I would kindly ask for some
> hint.
>
> Thank you in advance!
>
> Regards,
>
> Branimir
>
> ***
>
> # create a vm
> vms_service = connection.system_service().vms_service()
>
> vms_service.add(
> types.Vm(
>
> # --- vm name
> name='vm2',
>
> # --- vCpus
> cpu=types.Cpu(
> topology=types.CpuTopology(cores=2, sockets=1)
> ),
>
> # --- memory
> memory = 512*1024*1024,
>
> # -- oVirt cluster
> cluster = types.Cluster(
> name='cluster_1',
> ),
>
> # -- template to use
> template = types.Template(
> name='centos7-tmplt-compute-node-v1'),
>
> # -- boot device
> os = types.OperatingSystem(boot=types.Boot(devices=[types.
> BootDevice.HD])),
> ),
> )
>
> # update the vm in terms of disk name
> vm = vms_service.list(search='name=vm2')[0]
> vm_service = vms_service.vm_service(vm.id)
>
> updated_vm = vm_service.update(
> types.Vm(
> disk_attachment = types.Disk(alias='vm2_disk_0')
> )
> )
> ___
> 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/JWUFND4JXIJMZ4HY5LPBSKIBBN4GEL5V/
>
___
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/6NDRHVFQVNIUDCZYNTE5FUPZKUOMTW4Z/


[ovirt-users] Re: storage domain sync problem and fail to run vm after change LUN mapping

2018-08-12 Thread Fred Rolland
Vdsm requires to have "user_friendly_names no" in order to have same device
names on all the hosts.

https://github.com/oVirt/vdsm/blob/9d229e0c1b486c87c682904740c38bcbd0682fa7/lib/vdsm/tool/configurators/multipath.py#L113

On Thu, Aug 9, 2018 at 11:55 PM, dvotrak  wrote:

> Environment:
> Ovirt version: 4.2.5
> Centos 7.5
>
>
> During a planned maintenance window, multipath configuration was changed
> according to the storage vendor guidelines.
> The new configuration modify user_friendly_names from no to yes, so the
> multipath -ll output changed from this "360060160a6213400fa2d31acbbfce511
> dm-8 DGC" to this: "mpathh (360060160a6213400fa2d31acbbfce511) dm-8 DGC".
>
> After this change, the following errors are displayed:
>
> 1) when attempting to start a VM with direct LUN: Failed to run VM
>  on Host  VM  is down. Exit message: Bad volume
> specification 
> Inspecting the VM disk, the lun id remains the previous one (
> 360060160a6213400fa2d31acbbfce511) insted of the new one (mpathh)
> Remove/detach and re-add/re-attach the disk to VM doesen't help.
>
> 2) randomly: Storage domains with IDs [] could not be synchronized. To
> synchronize them, please move them to maintenance and then activate.
> Moving it to maintenance and then activate it doesen't help.
>
> Inspecting storage domain luns, almost all change the lun id to the new
> ones (mpathXX), but this one remain in "the old style" (maybe because
> lun_id is a primary key and this one was already taken?)
>
>
> Any idea on how to resolve these problems?
>
> Thanks
>
>
> Sent with ProtonMail  Secure Email.
>
>
> ___
> 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/XDGU2DA3S5LHKYFHANZU5Q72PD25UP52/
>
>
___
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/BWUGCU3PIHM6CSUOU4CMTFKQY77TLE76/


[ovirt-users] Re: Error attaching cd iso image from data domain

2018-06-06 Thread Fred Rolland
hi,

In 4.2 it is possible to upload an ISO to a Data Domain.

Gianluca, please open a bug with the relevant logs.

Thanks,
Fred

On Tue, Jun 5, 2018 at 11:55 PM, Nicolas Vaye 
wrote:

> Hi Gianluca,
>
> i can reproduce your problem, but for me if I have understood everything
> correctly, there's a little mistake.
>
> I don't know why the web ui autorize us to upload an iso file to a storage
> domain for which the domain type is not ISO,
> but this is the problem.
>
> In fact if you have a look at the concerned storage domain, you can see
> your iso is not uploaded and his status is "Paused by system".
> We cannot upload an iso image to a data storage domain. We can upload an
> iso image to a iso storage domain, you must have one and only one in your
> datacenter.
>
> So if you already have an iso storage domain, you must cancel and remove
> the upload of your iso image to data storage domain (iSCSI),
> after that, you can upload your iso image to your iso domain and i think
> for your VM, everything will work well to change the CD.
>
> I think for the best comprehension to all user, the web ui should inform
> us that upload an iso image to a data storage domain which is not an ISO
> domain, is forbidden.
>
> Best regards,
>
> Nicolas VAYE
>
>  Message initial 
>
> Date: Tue, 5 Jun 2018 13:39:31 +0200
> Objet: [ovirt-users] Re: Error attaching cd iso image from data domain
> À: users mailto:users%20%3cus...@ovirt.org%3e>>
> De: Gianluca Cecchi  gianluca%20cecchi%20%3cgianluca.cec...@gmail.com%3e>>
> On Wed, May 30, 2018 at 12:06 PM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
> Hello,
> I'm with oVirt 4.2.3 (upgraded from 4.1 and compatibilities set to 4.2)
> I have a CentOS 7 VM.
> I correctly uploaded an iSO image to the disks of a data storage domain
> (iSCSI).
> Now in web admin portal I select the VM, then the 3 dots in top right,
> then change cd
> I'm proposed with the [Eject] line and into the dropdown I see the two iso
> images I have uploaded up to now.
> I select an image and then OK
>
> I get a window with title "Operation canceled" and content
> Error while executing action Change CD: Drive image file could not be found
>
> Do I have to edit any setting in my VM to be able to connect an ISO image
> this way?
> Or other things to check?
>
>
>
>
> Only me with this problem?
> I verified that on another 4.2.3 environment with NFS based data domain I
> can upload an ISO and then attach eto a CentOS 7 VM without any problem.
> Can anyone test if it works for him/her on block storage domain (iSCSI or
> SAN) so that eventually I'm going to open a bug for this problem?
> Thanks,
> Gianluca
>
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org sers-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/UHHVVBPJEFCW2Z6BDO3I2RHKW7EL5SCL/
>
> ___
> 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/PHBM5OKKTHBQXAPBJDFR2LS4ZBASY5ZH/
>
___
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/DTIJYTGHRGG4YSYDSNFL367L6EKUNQWJ/


[ovirt-users] Re: Simple API call to start VM

2018-05-31 Thread Fred Rolland
Try to use:
--data ''

On Thu, May 31, 2018 at 5:30 AM, Kirin van der Veer <
kirin.vanderv...@planetinnovation.com.au> wrote:

> Many thanks to:
> gsswzt, Luca, Andrej, Fred, Karli, Ondra and Bohdan for their replies.
>
> A number of people mentioned the need to specify a CA cert, but curl was
> able to find my organizations CA locally - so that was not an issue.
> Correcting my url to include ovirt-engine in the path and my username to
> admin@internal as suggested by Andrej as per below:
> curl --user "admin@internal:SECRETPASSWORD" --request POST --header
> "Content-Type: application/xml" --header "Accept: application/xml" --data
> '' https://ovirt-engine.localnet:443/ovirt-engine/api/vms/
> 69c47a91-bbv1-4eda-b71d-7bddf82ee8ab/start
>
> Got me a new error message:
> 
> 
> For correct usage, see: https://ovirt-engine.localnet/
> ovirt-engine/apidoc#services/vm/methods/start
> Request syntactically incorrect.
> 
>
> I followed the URL, but it just seemed to repeat the information already
> available at http://ovirt.github.io/ovirt-engine-api-model/4.2/#
> services/vm/methods/start
>
> Here is the relevant section of engine.log on ovirt-engine.localnet:
> 2018-05-31 10:48:15,550+10 INFO  
> [org.ovirt.engine.core.sso.utils.AuthenticationUtils]
> (default task-25) [] User admin@internal successfully logged in with
> scopes: ovirt-app-api ovirt-ext=token-info:authz-search
> ovirt-ext=token-info:public-authz-search ovirt-ext=token-info:validate
> ovirt-ext=token:password-access
> 2018-05-31 10:48:15,569+10 INFO  
> [org.ovirt.engine.core.bll.aaa.CreateUserSessionCommand]
> (default task-29) [8ffa0f3] Running command: CreateUserSessionCommand
> internal: false.
> 2018-05-31 10:48:15,581+10 INFO  [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (default task-29) [8ffa0f3]
> EVENT_ID: USER_VDC_LOGIN(30), User admin@internal-authz connecting from
> '192.168.1.0' using session 'JNweIEHoHhw9U+wMt7Z03Ovb5Pc1zR3WyvTcSfRTpdHj
> d55CHbcspfDcJgToMVshtlgXamzvUSW2rzHB9ApJHA==' logged in.
> 2018-05-31 10:48:15,587+10 ERROR [org.ovirt.engine.api.restapi.
> resource.validation.IOExceptionMapper] (default task-29) [] IO exception
> while processing "POST" request for path "/vms/69c47a91-bbv1-4eda-b71d-
> 7bddf82ee8ab/start"
> 2018-05-31 10:48:15,587+10 ERROR [org.ovirt.engine.api.restapi.
> resource.validation.IOExceptionMapper] (default task-29) [] Exception:
> java.io.IOException: javax.xml.stream.XMLStreamException: ParseError at
> [row,col]:[1,2]
> Message: The markup in the document preceding the root element must be
> well-formed.
> at 
> org.ovirt.engine.api.restapi.xml.JAXBProvider.readFrom(JAXBProvider.java:200)
> [restapi-jaxrs.jar:]
> at 
> org.ovirt.engine.api.restapi.xml.JAXBProvider.readFrom(JAXBProvider.java:162)
> [restapi-jaxrs.jar:]
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorConte
> xt.readFrom(AbstractReaderInterceptorContext.java:66)
> [resteasy-jaxrs-3.0.24.Final.jar:3.0.24.Final]
> at org.jboss.resteasy.core.interception.ServerReaderInterceptorContext
> .readFrom(ServerReaderInterceptorContext.java:61)
> [resteasy-jaxrs-3.0.24.Final.jar:3.0.24.Final]
> at org.jboss.resteasy.core.interception.AbstractReaderInterceptorConte
> xt.proceed(AbstractReaderInterceptorContext.java:56)
> [resteasy-jaxrs-3.0.24.Final.jar:3.0.24.Final]
> at org.jboss.resteasy.security.doseta.DigitalVerificationInterceptor
> .aroundReadFrom(DigitalVerificationInterceptor.java:36)
> [resteasy-crypto-3.0.24.Final.jar:3.0.24.Final]
> 
> at java.lang.Thread.run(Thread.java:748) [rt.jar:1.8.0_171]
> Caused by: javax.xml.stream.XMLStreamException: ParseError at
> [row,col]:[1,2]
> Message: The markup in the document preceding the root element must be
> well-formed.
> at 
> com.sun.org.apache.xerces.internal.impl.XMLStreamReaderImpl.next(XMLStreamReaderImpl.java:604)
> [rt.jar:1.8.0_171]
> at com.sun.xml.bind.v2.runtime.unmarshaller.
> StAXStreamConnector.bridge(StAXStreamConnector.java:164)
> at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.
> unmarshal0(UnmarshallerImpl.java:415)
> at com.sun.xml.bind.v2.runtime.unmarshaller.UnmarshallerImpl.
> unmarshal(UnmarshallerImpl.java:386)
> at 
> org.ovirt.engine.api.restapi.xml.JAXBProvider.readFrom(JAXBProvider.java:187)
> [restapi-jaxrs.jar:]
> ... 104 more
> 2018-05-31 10:48:15,593+10 INFO  
> [org.ovirt.engine.core.bll.aaa.LogoutSessionCommand]
> (default task-29) [4531c52a] Running command: LogoutSessionCommand
> internal: false.
> 2018-05-31 10:48:15,598+10 INFO  [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] (default task-29) [4531c52a]
> EVENT_ID: USER_VDC_LOGOUT(31), User admin@internal-authz connected from
> '192.168.1.0' using session 'JNweIEHoHhw9U+wMt7Z03Ovb5Pc1zR3WyvTcSfRTpdHj
> d55CHbcspfDcJgToMVshtlgXamzvUSW2rzHB9ApJHA==' logged out.
> 2018-05-31 10:48:27,542+10 INFO  
> [org.ovirt.engine.core.sso.servlets.OAuthRevokeServlet]
> 

[ovirt-users] Re: Simple API call to start VM

2018-05-30 Thread Fred Rolland
HI,

Check here for an example:
http://ovirt.github.io/ovirt-engine-api-model/4.3/#_example_start_the_virtual_machine

>From your example, it may be a few issues:
- missing "ovirt-engine" in the URL
- the user should be admin@internal
- if you use https, you should specify a certificate

Regards,
Fred

On Wed, May 30, 2018 at 9:07 AM, Kirin van der Veer <
kirin.vanderv...@planetinnovation.com.au> wrote:

> Hi oVirt users,
> I have (what I hope) is a simple problem.
> I want to make an https request to start a VM via the oVirt REST API.
> Here is the command that I think should work:
> curl --user "admin:SECRETPASSWORD" --request POST --header "Content-Type:
> application/xml" --header "Accept: application/xml" --data ''
> https://ovirtengine.localnet:443/api/vms/69c47a91-bbv1-
> 4eda-b71d-7bddf82ee8ab/start
>
> However I get a 404 in response (see below):
> 
> 
> 404 Not Found
> 
> Not Found
> The requested URL /api/vms/60c47a91-bca1-4eda-b71d-7bddf82ee8ab/start
> was not found on this server.
> 
>
> Where have I made a mistake here?
>
>
>
> *IMPORTANT NOTE. *If you are NOT AN AUTHORISED RECIPIENT of this e-mail,
> please contact Planet Innovation Pty Ltd by return e-mail or by telephone
> on +613 9945 7510.  In this case, you should not read, print, re-transmit,
> store or act in reliance on this e-mail or any attachments, and should
> destroy all copies of them.  This e-mail and any attachments are
> confidential and may contain legally privileged information and/or
> copyright material of Planet Innovation Pty Ltd or third parties.  You
> should only re-transmit, distribute or commercialise the material if you
> are authorised to do so.  Although we use virus scanning software, we deny
> all liability for viruses or alike in any message or attachment. This
> notice should not be removed.
>
> ___
> 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/5N6N4BHF6ZFJLEARSEALCON7DJIMXRCZ/
>
>
___
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/O7X2Z2DGANICGCNNLDH5ZGOGDZCWPCZG/


[ovirt-users] Re: Hosts : Upgrade failed - 4.2.3

2018-05-16 Thread Fred Rolland
It looks you still have 4.1 repos...

On Wed, May 16, 2018 at 1:25 PM, Nicolas Ecarnot 
wrote:

> Hello,
>
> I was on 4.2.2 and it failed.
> I upgraded to 4.2.3 and it's still failing.
>
> From the GUI, I switch one host into maintenance mode, try to upgrade it,
> and it is failing.
>
> On the engine, the engine.log is not saying anything helpful.
> But on the engine, I see in /var/log/ovirt-engine/host-dep
> loy/ovirt-host-mgmt-ansible-20180516121013-xxx-dacf1972-
> f184-4d01-a863-7974579e6bc8.log, I see :
>
> http://mirror.centos.org/centos/7/storage/x86_64/gluster-3.
>> 8/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
>> Essai d'un autre miroir.
>> To address this issue please refer to the below wiki article
>> https://wiki.centos.org/yum-errors
>>
>> If above article doesn't help to resolve this issue please use
>> https://bugs.centos.org/.
>>
>> http://mirror.centos.org/centos/7/virt/x86_64/ovirt-4.1/
>> repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
>> Essai d'un autre miroir.
>>
>
> This is french, but I'm sure you understand that it translates into
> "gluster repo issue".
>
> Is there something I could do?
>
> Thank you.
>
> --
> Nicolas ECARNOT
> ___
> Users mailing list -- users@ovirt.org
> To unsubscribe send an email to users-le...@ovirt.org
>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org


Re: [ovirt-users] Re-attaching ISOs and moving ISOs storage

2018-05-06 Thread Fred Rolland
0304/storagedomains/017dd620-65ec-4fa4-8d46-67737dedd7a1/activate"
>  rel="activate"/> href="/ovirt-engine/api/v4/datacenters/5a54bf81-0228-02bc-0358-0304/storagedomains/017dd620-65ec-4fa4-8d46-67737dedd7a1/deactivate"
>  rel="deactivate"/>VMStorage
>  href="/ovirt-engine/api/v4/datacenters/5a54bf81-0228-02bc-0358-0304/storagedomains/017dd620-65ec-4fa4-8d46-67737dedd7a1/disks"
>  rel="disks"/>11770357874688
> false118111600640
> 5
> false
> oktrue
> active
> backoffice01.cluster/vm-storage2  
>   nfs
> v4
> false
> false
> data38654705664
> 10
> false href="/ovirt-engine/api/v4/datacenters/5a54bf81-0228-02bc-0358-0304" 
> id="5a54bf81-0228-02bc-0358-0304"/>
>  href="/ovirt-engine/api/v4/datacenters/5a54bf81-0228-02bc-0358-0304" 
> id="5a54bf81-0228-02bc-0358-0304"/>
>  href="/ovirt-engine/api/v4/datacenters/5a54bf81-0228-02bc-0358-0304/storagedomains/e572c874-17f8-4ad8-9bac-b6f563a9fc17"
>  id="e572c874-17f8-4ad8-9bac-b6f563a9fc17"> href="/ovirt-engine/api/v4/datacenters/5a54bf81-0228-02bc-0358-0304/storagedomains/e572c874-17f8-4ad8-9bac-b6f563a9fc17/activate"
>  rel="activate"/> href="/ovirt-engine/api/v4/datacenters/5a54bf81-0228-02bc-0358-0304/storagedomains/e572c874-17f8-4ad8-9bac-b6f563a9fc17/deactivate"
>  rel="deactivate"/>tegile-virtman  
>href="/ovirt-engine/api/v4/datacenters/5a54bf81-0228-02bc-0358-0304/storagedomains/e572c874-17f8-4ad8-9bac-b6f563a9fc17/disks"
>  rel="disks"/>2190433320960
> false226559524864
> 5
> false
> okfalse
> active
> 192.168.64.248auto  
>   /export/virtman/VirtualServerShare_1
> nfsv4 
>false
> false
> data8589934592
> 10
> false href="/ovirt-engine/api/v4/datacenters/5a54bf81-0228-02bc-0358-0304" 
> id="5a54bf81-0228-02bc-0358-0304"/>
>  href="/ovirt-engine/api/v4/datacenters/5a54bf81-0228-02bc-0358-0304" 
> id="5a54bf81-0228-02bc-0358-0304"/>
>  href="/ovirt-engine/api/v4/datacenters/5a54bf81-0228-02bc-0358-0304/storagedomains/f5914df0-f46c-4cc0-b666-c929aa0225ae"
>  id="f5914df0-f46c-4cc0-b666-c929aa0225ae"> href="/ovirt-engine/api/v4/datacenters/5a54bf81-0228-02bc-0358-0304/storagedomains/f5914df0-f46c-4cc0-b666-c929aa0225ae/activate"
>  rel="activate"/> href="/ovirt-engine/api/v4/datacenters/5a54bf81-0228-02bc-0358-0304/storagedomains/f5914df0-f46c-4cc0-b666-c929aa0225ae/deactivate"
>  rel="deactivate"/>VMISOs
> 11770357874688false
> 0
> 5
> false
> okfalse
> maintenance
> backoffice01.cluster/vm-iso   
>  nfs
> v1
> false
> false
> iso38654705664
> 10
> false href="/ovirt-engine/api/v4/datacenters/5a54bf81-0228-02bc-0358-0304" 
> id="5a54bf81-0228-02bc-0358-0304"/>
>  href="/ovirt-engine/api/v4/datacenters/5a54bf81-0228-02bc-0358-0304" 
> id="5a54bf81-0228-02bc-0358-0304"/>
> 
>
>
> 
> Regards,
> Callum
>
> --
>
> Callum Smith
> Research Computing Core
> Wellcome Trust Centre for Human Genetics
> University of Oxford
> e. cal...@well.ox.ac.uk
>
> On 2 May 2018, at 14:46, Fred Rolland <froll...@redhat.com> wrote:
>
> Can you share the REST API data of the Storage domain and Data Center?
> Here an example of the URLs, you will need to replace with correct ids.
>
> http://MY-SERVER/ovirt-engine/api/v4/storagedomains/
> 13461356-f6f7-4a58-9897-2fac61ff40af
> <http://my-server/ovirt-engine/api/v4/storagedomains/13461356-f6f7-4a58-9897-2fac61ff40af>
>
> http://MY-SERVER/ovirt-engine/api/v4/datacenters/5a5df553-
> 022d-036d-01e8-0071/storagedomains
> <http://my-server/ovirt-engine/api/v4/datacente

Re: [ovirt-users] Can't switch ovirt host to maintenance mode : image transfer in progress

2018-05-02 Thread Fred Rolland
Hi,

Maybe you tried to upload/download images, and these are still running.
Go to the disks tab and see if you have Upload/Download operations in
progress cancel them.
You have the option to cancel in the Download/Upload buttons.

Regards,
Fred

On Wed, May 2, 2018 at 11:29 AM, Arnaud Lauriou 
wrote:

> Hi,
>
> While upgrading host from ovirt 4.1.9 to ovirt 4.2.2, got one ovirt host
> which I can't move to maintenance mode for the following reason :
> 2018-05-02 10:16:18,789+02 WARN 
> [org.ovirt.engine.core.bll.MaintenanceNumberOfVdssCommand]
> (default task-27) [193c3d45-5b25-4ccf-9d2c-5b792e99b9fe] Validation of
> action 'MaintenanceNumberOfVdss' failed for user admin@internal-authz.
> Reasons: VAR__TYPE__HOST,VAR__ACTION__MAINTENANCE,VDS_CANNOT_MAINTENA
> NCE_HOST_WITH_RUNNING_IMAGE_TRANSFERS,$host x,$disks
> a1476ae5-990d-45a7-90bd-c2553f8d08d3,
> b2616eef-bd13-4d9b-a513-52445ebaedb6,
> 13152865-2753-407a-a0e1-425e09889d92,$disks_COUNTER 3
>
> I don't know what are those 3 images transfers in progress, there is no VM
> running on this host.
> I try to list old task running on it with the taskcleaner.sh script on the
> engine : found nothing.
>
> How can I delete or remove those entries ?
>
> Regards,
>
> Arnaud Lauriou
> ___
> 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] Re-attaching ISOs and moving ISOs storage

2018-05-02 Thread Fred Rolland
> (EE-ManagedThreadFactory-engine-Thread-33456) [40a82b47] START,
> ConnectStorageServerVDSCommand(HostName = virtA003,
> StorageServerConnectionManagementVDSParameters:{hostId='
> fe2861fc-2b47-4807-b054-470198eda473', storagePoolId='--
> --00
> 00', storageType='NFS', connectionList='[
> StorageServerConnections:{id='da392861-aedc-4f1e-97f4-6919fb01f1e9',
> connection='backoffice01.cluster:/vm-iso', iqn='null', vfsType='null',
> mountOptions='null', nfsVersion='null', nfsRetrans='null', nfsTimeo='null',
> iface='null', netIfaceName='null'}]'}), log id: 23ce648f
> 2018-05-02 09:16:02,446+01 INFO  [org.ovirt.engine.core.
> vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]
> (EE-ManagedThreadFactory-engine-Thread-33456) [40a82b47] FINISH,
> ConnectStorageServerVDSCommand, return: 
> {da392861-aedc-4f1e-97f4-6919fb01f1e9=0},
> log id: 23ce648f
> 2018-05-02 09:16:02,450+01 INFO  [org.ovirt.engine.core.
> vdsbroker.irsbroker.ActivateStorageDomainVDSCommand]
> (EE-ManagedThreadFactory-engine-Thread-33455) 
> [93433989-8e26-48a9-bd3a-2ab95f296c08]
> START, ActivateStorageDomainVDSCommand( ActivateStorageDomainVDSComman
> dParameters:{storagePoolId='5a54bf81-0228-02bc-0358-0304',
> ignoreFailoverLimit='false', stor
> ageDomainId='f5914df0-f46c-4cc0-b666-c929aa0225ae'}), log id: 5c864594
> 2018-05-02 09:16:02,635+01 ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] 
> (EE-ManagedThreadFactory-engine-Thread-33455)
> [93433989-8e26-48a9-bd3a-2ab95f296c08] EVENT_ID:
> IRS_BROKER_COMMAND_FAILURE(10,803), VDSM command ActivateStorageDomainVDS
> failed: Storage domain not in pool: 
> u'domain=f5914df0-f46c-4cc0-b666-c929aa0225ae,
> pool=5a5
> 4bf81-0228-02bc-0358-0304'
> 2018-05-02 09:16:02,635+01 ERROR [org.ovirt.engine.core.
> vdsbroker.irsbroker.ActivateStorageDomainVDSCommand]
> (EE-ManagedThreadFactory-engine-Thread-33455) 
> [93433989-8e26-48a9-bd3a-2ab95f296c08]
> Command 'ActivateStorageDomainVDSCommand( ActivateStorageDomainVDSComman
> dParameters:{storagePoolId='5a54bf81-0228-02bc-0358-0304',
> ignoreFailoverLimit='false', st
> orageDomainId='f5914df0-f46c-4cc0-b666-c929aa0225ae'})' execution failed:
> IRSGenericException: IRSErrorException: Storage domain not in pool:
> u'domain=f5914df0-f46c-4cc0-b666-c929aa0225ae,
> pool=5a54bf81-0228-02bc-0358-0304'
> 2018-05-02 09:16:02,635+01 INFO  [org.ovirt.engine.core.
> vdsbroker.irsbroker.ActivateStorageDomainVDSCommand]
> (EE-ManagedThreadFactory-engine-Thread-33455) 
> [93433989-8e26-48a9-bd3a-2ab95f296c08]
> FINISH, ActivateStorageDomainVDSCommand, log id: 5c864594
> 2018-05-02 09:16:02,635+01 ERROR [org.ovirt.engine.core.bll.
> storage.domain.ActivateStorageDomainCommand] 
> (EE-ManagedThreadFactory-engine-Thread-33455)
> [93433989-8e26-48a9-bd3a-2ab95f296c08] Command 'org.ovirt.engine.core.bll.
> storage.domain.ActivateStorageDomainCommand' failed: EngineException:
> org.ovirt.engine.core.vdsbroker.irsbroker.IrsOperationFailedNoFailove
> rException: IRSGenericException: IRSErrorException: Storage domain not in
> pool: u'domain=f5914df0-f46c-4cc0-b666-c929aa0225ae,
> pool=5a54bf81-0228-02bc-0358-0304' (Failed with error
> StorageDomainNotInPool and code 353)
> 2018-05-02 09:16:02,636+01 INFO  [org.ovirt.engine.core.bll.
> storage.domain.ActivateStorageDomainCommand] 
> (EE-ManagedThreadFactory-engine-Thread-33455)
> [93433989-8e26-48a9-bd3a-2ab95f296c08] Command
> [id=22b0f3c1-9a09-4e26-8096-d83465c8f4ee]: Compensating
> CHANGED_STATUS_ONLY of 
> org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap;
> snapshot: EntityStatus
> Snapshot:{id='StoragePoolIsoMapId:{storagePoolId='5a54bf81-0228-02bc-0358-0304',
> storageId='f5914df0-f46c-4cc0-b666-c929aa0225ae'}', status='Maintenance'}.
> 2018-05-02 09:16:02,660+01 ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] 
> (EE-ManagedThreadFactory-engine-Thread-33455)
> [93433989-8e26-48a9-bd3a-2ab95f296c08] EVENT_ID:
> USER_ACTIVATE_STORAGE_DOMAIN_FAILED(967), Failed to activate Storage
> Domain VMISOs (Data Center Default) by admin@internal-authz
>
> Regards,
> Callum
>
> --
>
> Callum Smith
> Research Computing Core
> Wellcome Trust Centre for Human Genetics
> University of Oxford
> e. cal...@well.ox.ac.uk
>
> On 2 May 2018, at 08:44, Fred Rolland <froll...@redhat.com> wrote:
>
> Hi,
>
> Can you provide logs from engine and Vdsm(SPM)?
> What is the state now?
>
> Thanks,
> Fred
>
> On Tue, May 1, 2018 at 4:11 PM, Callum Smith <cal...@well.ox.ac.uk> wrote:
>
>> Dear All,
>>
>> It appears that clicking "detach&quo

Re: [ovirt-users] Re-attaching ISOs and moving ISOs storage

2018-05-02 Thread Fred Rolland
Hi,

Can you provide logs from engine and Vdsm(SPM)?
What is the state now?

Thanks,
Fred

On Tue, May 1, 2018 at 4:11 PM, Callum Smith  wrote:

> Dear All,
>
> It appears that clicking "detach" on the ISO storage domain is a really
> bad idea. This has gotten half way through the procedure and now can't be
> recovered from. Is there any advice for re-attaching the ISO storage domain
> manually? An NFS mount didn't add it back to the "pool" unfortunately.
>
> On a separate note, is it possible to migrate this storage to a new
> location? And if so how.
>
> Regards,
> Callum
>
> --
>
> Callum Smith
> Research Computing Core
> Wellcome Trust Centre for Human Genetics
> University of Oxford
> e. cal...@well.ox.ac.uk
>
>
> ___
> 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] Use an oVirt-VM as a VDSM server

2018-04-30 Thread Fred Rolland
Hi,

You will need to enable nested virtualization in your physical host.

To check if enable:
cat /sys/module/kvm_intel/parameters/nested

If the output is "N", you will need to add a file
/etc/modprobe.d/kvm_intel.conf
with the content:
options kvm-intel nested=Y

Then reboot, or reload the KVM module.

Note that the performance of the nested VMs will be impacted.

Regards,
Fred

[1] https://www.linux-kvm.org/page/Nested_Guests
[2]
https://www.linuxtechi.com/enable-nested-virtualization-kvm-centos-7-rhel-7/

On Mon, Apr 30, 2018 at 4:02 PM, James Michels <
karma.sometimes.hu...@gmail.com> wrote:

> Greetings.
>
> In terms of teaching our students how to create and configure an oVirt
> infrastructure, we're planning to provide each of them a VM that will act
> as a Manager server, which has no issues so far. The problem is that we
> don't have enough physical machines to use as virtualization servers
> (VDSM), therefore we have been trying to use a CentOS7 based oVirt guest to
> run as a VDSM server.
>
> However, when trying to add it as a host, a (logical) error message shows
> up saying that the VM doesn't allow virtualization.
>
> The question is simple: Is there a way to enable virtualization on an
> oVirt VM, so we can deploy them as VDSM servers?
>
> This is oVirt 4.2.2 FWIW.
>
> Thanks
>
> James
>
> ___
> 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] restricting release version when upgrading/installing Linux Enterprise hosts?

2018-04-30 Thread Fred Rolland
Hi,
Newer Vdsm will work with older engine, so in your case, I don't see any
reason not to update the Vdsm.

BTW, can you describe what do you mean by "a very customized cinder/ceph
setup" ?

Thanks,
Fred

On Sun, Apr 29, 2018 at 3:55 PM, Matthias Leopold <
matthias.leop...@meduniwien.ac.at> wrote:

> Hi,
>
> is it possible to restrict the oVirt version when installing or upgrading
> CentOS hypervisor hosts? let's say: 4.2.3 is already released, but i want
> to update/install certain hosts only to version 4.2.2 to have the same
> version in the whole cluster/data center. i know i could to this manually
> with yum and specifying rpm package versions but is there an "oVirt way"?
> or is this not necessary at all and newer hosts will always work smoothly
> with older engine and other hosts? still i think this is a topic that must
> be of interest to others.
>
> besides that: please excuse my impatience sometimes, my upgrade of our
> oVirt installation (4.1.9 to 4.2.2) worked perfectly, even with a very
> customized cinder/ceph setup. thanks a lot for this great software!
>
> matthias
>
> ___
> 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] Remove Host Device Error

2018-04-29 Thread Fred Rolland
Hi,

You hit this one: https://bugzilla.redhat.com/show_bug.cgi?id=155

It is fixed in 4.2.2

Regards,
Fred

On Sat, Apr 28, 2018 at 7:28 AM, gss...@pku.edu.cn 
wrote:

>  Hi,
>
> I got this log in /var/log/ovirt-engine/engine.log, when I remove a host
> pass through SCSI device in VM.
>
> 2018-04-28 12:23:14,568+08 ERROR 
> [org.ovirt.engine.core.bll.hostdev.RemoveVmHostDevicesCommand]
> (default task-9) [7d10eb49-328e-4cde-89b9-3f3e7e9d3666] Command
> 'org.ovirt.engine.core.bll.hostdev.RemoveVmHostDevicesCommand' failed:
> null
> 2018-04-28 12:23:14,568+08 ERROR 
> [org.ovirt.engine.core.bll.hostdev.RemoveVmHostDevicesCommand]
> (default task-9) [7d10eb49-328e-4cde-89b9-3f3e7e9d3666] Exception:
> java.lang.NullPointerException
> at org.ovirt.engine.core.bll.hostdev.RemoveVmHostDevicesCommand.
> executeCommand(RemoveVmHostDevicesCommand.java:64) [bll.jar:]
> at org.ovirt.engine.core.bll.CommandBase.
> executeWithoutTransaction(CommandBase.java:1205) [bll.jar:]
> at org.ovirt.engine.core.bll.CommandBase.
> executeActionInTransactionScope(CommandBase.java:1345) [bll.jar:]
> at 
> org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1987)
> [bll.jar:]
> at org.ovirt.engine.core.utils.transaction.TransactionSupport.
> executeInNewTransaction(TransactionSupport.java:202) [utils.jar:]
> at org.ovirt.engine.core.utils.transaction.TransactionSupport.
> executeInRequired(TransactionSupport.java:137) [utils.jar:]
> at org.ovirt.engine.core.utils.transaction.TransactionSupport.
> executeInScope(TransactionSupport.java:105) [utils.jar:]
> at 
> org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1405)
> [bll.jar:]
> at 
> org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:412)
> [bll.jar:]
> at org.ovirt.engine.core.bll.executor.
> DefaultBackendActionExecutor.execute(DefaultBackendActionExecutor.java:13)
> [bll.jar:]
> at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:509)
> [bll.jar:]
> at org.ovirt.engine.core.bll.Backend.runActionImpl(Backend.java:491)
> [bll.jar:]
> at org.ovirt.engine.core.bll.Backend.runAction(Backend.java:444)
> [bll.jar:]
> at sun.reflect.GeneratedMethodAccessor370.invoke(Unknown Source)
> [:1.8.0_161]
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_161]
> at java.lang.reflect.Method.invoke(Method.java:498)
> [rt.jar:1.8.0_161]
>
>
> ___
> 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] Problems uploading ISOs

2018-04-26 Thread Fred Rolland
Hi,

- What version are you using?
- What storage are you using in the ISO domain?
- Can you provide a more verbose log?

Thanks,
Fred

On Wed, Apr 25, 2018 at 4:48 PM, Ramon Sierra  wrote:

> I have successfully uploaded many ISOs without any problem using
> ovirt-iso-uploader. But since yesterday everytime I tried to upload
> another ISO it is giving me the following error.
>
> ERROR: glfs_init failed: Success
>
> I've been looking for a possible solution but nothing works yet. Any
> guidance on this matter will be appreciate it.
>
> Ramon
>
>
> ___
> 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] External Provider https (unknown error)

2018-04-10 Thread Fred Rolland
Hi,

Can you please open a bug?

>From the code, it seems that the OpenStack Storage providers are not
implementing a needed method  [1], that is present in other providers [2].

Thanks,
Fred



[1]
https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/provider/ProviderProxy.java#L20

[2]
https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/provider/BaseProviderProxy.java#L60

On Tue, Apr 10, 2018 at 10:30 AM, Stefan Wendler  wrote:

> On 04/06/2018 19:43, Dominik Holler wrote:
> > On Wed, 4 Apr 2018 13:29:56 +0200
> > Stefan Wendler  wrote:
> >
> >> Hi,
> >>
> >> I am currently trying to attach Glance (OpenStack Image) and Cinder
> >> (OpenStack Volume) as external provider and am facing a problem when
> >> trying to use https in the Provider-URL on an ovirt 3.6 and 4.1
> >> cluster.
> >>
> >> The Provider-URL I am using is in the form:
> >> https://:9292 (or port 8776 for Cinder -  is either a fqdn
> >> or an IP-Address)
> >>
> >> Whenever I press the "Test" button in the "Add Provider" dialog I get
> >> the message "Test Failed (unknown error)." There is no entry in any
> >> logfile whatsoever (at least not in any logs that are associated with
> >> ovirt). I would expect an ssl cert dialog here. I can telnet to the
> >> destination ports from the engine and the nodes so Clance and Cinder
> >> are reachable
> >>
> >> I have also read that this might happen, if there is a corrupted
> >> /var/lib/ovirt-engine/external_truststore
> >> But this file is not even existing and when i create it by hand, it is
> >> not touched.
> >>
> >> How can I get this to work or even get an error message that gives me
> >> a hint where to look?
> >>
> >
> > If there is something logged, it would be in engine.log.
> > Can you please re-check if there is something related logged in
> > engine.log?
> >
> > Are you using authentication?
> >
> > Do you use HTTPS for Glance/Cinder and authentication?
>
> Thanks for the reply. The log file states nothing whatsoever.
> Theresponse is so insanely fast that it feels as if something fails an
> early validation. It does not matter, if I use authentication or not. If
> I use http instead of https it logs the following error:
>
>  engine.log 
> 2018-04-09 15:39:39,298+02 INFO
> [org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand]
> (default task-77) [b91f14f3-d8f6-43a1-a377-2d1523ee58dd] Running
> command: TestProviderConnectivityCommand internal: false. Entities
> affected :  ID: aaa0----123456789aaa Type: SystemAction
> group CREATE_STORAGE_POOL with role type ADMIN
> 2018-04-09 15:39:39,403+02 ERROR
> [org.ovirt.engine.core.bll.provider.storage.AbstractOpenStackStorageProvid
> erProxy]
> (default task-77) [b91f14f3-d8f6-43a1-a377-2d1523ee58dd] Not Found
> (OpenStack response error code: 404)
> 2018-04-09 15:39:39,404+02 ERROR
> [org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand]
> (default task-77) [b91f14f3-d8f6-43a1-a377-2d1523ee58dd] Command
> 'org.ovirt.engine.core.bll.provider.TestProviderConnectivityCommand'
> failed: EngineException: (Failed with error PROVIDER_FAILURE and code 5050)
>  EOM 
>
> So http goes thru and responds with the expected error (connection via
> http is reset immediately). But for https it does not even get this far.
> I can access the Provider-URL and Auth-URL via browser and from the
> engine's command line and get a valid json response.
>
> It also does not matter, if I use authentication or not. Error end
> response rate stays the same. I checked with our hosting provider that
> the urls are correct.
>
> I have attached a screenshot of the "Edit Provider"-Window with the
> message. It's the only place something is logged. Setting log level to
> debug shows nothing either.
>
> ___
> 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] Fw: Data Operations On Any Host

2018-04-09 Thread Fred Rolland
Hi Jeremy,

Yes, this is what I meant.

Regards,
Fred

On Sun, Apr 8, 2018 at 5:42 PM, Cryptic <cryptic5...@hotmail.com> wrote:

>
> Hi Fred,
>
>
> Thanks for the reply and information. When you say all testing flows were
> done with this option do you mean with this option disabled it is possible
> I could have issues that would not have been identified during the testing
> of this version?
>
>
> Thanks.
> Jeremy
>
>
>
> --
> *From:* Fred Rolland <froll...@redhat.com>
> *Sent:* Tuesday, 3 April 2018 3:58 PM
> *To:* Cryptic
> *Cc:* users@ovirt.org
> *Subject:* Re: [ovirt-users] Fw: Data Operations On Any Host
>
> Jeremy,
>
> There is currently no option to restrict the data operations to specific
> hosts.
>
> You can disable this feature in the DB, disable "DataOperationsByHSM" in
> the vdc_options table.
>
> Note that since it is enabled by default since 4.1, all testing flows were
> done with this option.
>
> Regards,
> Fred
>
> On Sun, Apr 1, 2018 at 11:02 AM, Cryptic <cryptic5...@hotmail.com> wrote:
>
> Hi to all,
>
> In relation to the changes made to distribute data operations between all
> the hosts in a data center rather than burden the SPM. I am very new to
> oVirt and am having troubles finding information on this and need
> assistance to prevent this happening on my development oVirt 4.2 system.
> The issue I have is that I have a cluster which hosts all the storage
> volumes using gluster and they have 10G NICs. I also have a separate
> cluster which is virtualisation only and each host only has 3 x 1G
> aggregated NICs. When I perform disk moves between storage domains it often
> uses one of the virtualisation hosts which drastically increases the time
> taken to move the disk. Can I restrict these types of operations to a set
> of hosts or turn it off altogether so that it just uses the SPM like it
> used to in the past. Distributing it is a great feature but unfortunately
> is no good in my current setup.
>
> Regards,
> Jeremy
>
>
>
> ___
> 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] Engine reports

2018-04-04 Thread Fred Rolland
Shirly, can you take a look?

On Wed, Apr 4, 2018 at 12:17 PM, Peter Hudec <phu...@cnc.sk> wrote:

> Tried to install ovirt metrics, but got error
>
> ANSIBLE_LOG_PATH=/tmp/ansible.log ansible-playbook -vvv -e
> @/root/vars.yaml -i /root/ansible-inventory-origin-37-aio
> playbooks/byo/config.yml
>
>   1. Hosts:localhost
>  Play: Determine openshift_version to configure on first master
>  Task: For an RPM install, abort when the release requested does
> not match the available version.
>  Message:  You requested openshift_release 3.7, which is not matched by
>the latest OpenShift RPM we detected as origin-3.10.0
>on host localhost.
>We will only install the latest RPMs, so please ensure
> you are getting the release
>you expect. You may need to adjust your Ansible
> inventory, modify the repositories
>available on the host, or run the appropriate OpenShift
> upgrade playbook.
>
>     regards
> Peter
>
>
> On 04/04/2018 09:13, Fred Rolland wrote:
> > Hi,
> >
> > Check these links:
> >
> > https://ovirt.org/blog/2018/01/ovirt-report-using-grafana/
> > https://ovirt.org/develop/release-management/features/
> metrics/metrics-store/
> >
> > Regards,
> > Fred
> >
> > On Tue, Apr 3, 2018 at 9:38 AM, Anantha Raghava
> > <rag...@exzatechconsulting.com <mailto:rag...@exzatechconsulting.com>>
> > wrote:
> >
> > Hi,
> >
> > I see that oVirt DWH is installed with Version 4.2.x. Now, how do I
> > take the reports? I version 3.5, we had Jasper reports module using
> > which we could take utilization reports. Can we do something similar
> > here?
> >
> > --
> >
> > Thanks & Regards,
> >
> >
> > Anantha Raghava
> >
> >
> > Do not print this e-mail unless required. Save Paper & trees.
> >
> >
> > ___
> > Users mailing list
> > Users@ovirt.org <mailto:Users@ovirt.org>
> > http://lists.ovirt.org/mailman/listinfo/users
> > <http://lists.ovirt.org/mailman/listinfo/users>
> >
> >
> >
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
>
> --
> *Peter Hudec*
> Infraštruktúrny architekt
> phu...@cnc.sk <mailto:phu...@cnc.sk>
>
> *CNC, a.s.*
> Borská 6, 841 04 Bratislava
> Recepcia: +421 2  35 000 100
>
> Mobil:+421 905 997 203
> *www.cnc.sk* <http:///www.cnc.sk>
>
> ___
> 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] Engine reports

2018-04-04 Thread Fred Rolland
Hi,

Check these links:

https://ovirt.org/blog/2018/01/ovirt-report-using-grafana/
https://ovirt.org/develop/release-management/features/metrics/metrics-store/

Regards,
Fred

On Tue, Apr 3, 2018 at 9:38 AM, Anantha Raghava <
rag...@exzatechconsulting.com> wrote:

> Hi,
>
> I see that oVirt DWH is installed with Version 4.2.x. Now, how do I take
> the reports? I version 3.5, we had Jasper reports module using which we
> could take utilization reports. Can we do something similar here?
> --
>
> Thanks & Regards,
>
>
> Anantha Raghava
>
> Do not print this e-mail unless required. Save Paper & trees.
>
> ___
> 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] Fw: Data Operations On Any Host

2018-04-03 Thread Fred Rolland
Jeremy,

There is currently no option to restrict the data operations to specific
hosts.

You can disable this feature in the DB, disable "DataOperationsByHSM" in
the vdc_options table.

Note that since it is enabled by default since 4.1, all testing flows were
done with this option.

Regards,
Fred

On Sun, Apr 1, 2018 at 11:02 AM, Cryptic  wrote:

> Hi to all,
>
> In relation to the changes made to distribute data operations between all
> the hosts in a data center rather than burden the SPM. I am very new to
> oVirt and am having troubles finding information on this and need
> assistance to prevent this happening on my development oVirt 4.2 system.
> The issue I have is that I have a cluster which hosts all the storage
> volumes using gluster and they have 10G NICs. I also have a separate
> cluster which is virtualisation only and each host only has 3 x 1G
> aggregated NICs. When I perform disk moves between storage domains it often
> uses one of the virtualisation hosts which drastically increases the time
> taken to move the disk. Can I restrict these types of operations to a set
> of hosts or turn it off altogether so that it just uses the SPM like it
> used to in the past. Distributing it is a great feature but unfortunately
> is no good in my current setup.
>
> Regards,
> Jeremy
>
>
>
> ___
> 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] create a cloned virtual machine based on a template with SDK API python

2018-03-22 Thread Fred Rolland
Hi Nicolas,

You can find an example here:

https://github.com/oVirt/ovirt-engine-sdk/blob/21f637345597729240f217cfe84fe2a2cf39a655/sdk/examples/add_independet_vm.py#L56

Regards,
Fred

On Thu, Mar 22, 2018 at 9:09 AM, Nicolas Vaye 
wrote:

> Hi,
>
> I want to create a cloned virtual machine based on a template with SDK API
> python and i don't find the parameter to indicate the clone action for the
> disk
>
> here is my code :
>
> #!/usr/bin/env python
> # -*- coding: utf-8 -*-
>
> #
> # Copyright (c) 2016 Red Hat, Inc.
> #
> # Licensed under the Apache License, Version 2.0 (the "License");
> # you may not use this file except in compliance with the License.
> # You may obtain a copy of the License at
> #
> #   http://www.apache.org/licenses/LICENSE-2.0
> #
> # Unless required by applicable law or agreed to in writing, software
> # distributed under the License is distributed on an "AS IS" BASIS,
> # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
> # See the License for the specific language governing permissions and
> # limitations under the License.
> #
> from pprint import pprint
> import logging
> import time
>
> import ovirtsdk4 as sdk
> import ovirtsdk4.types as types
>
>
>
> template_name='test_debian_9.4'
> template_version=1
> cluster_name='nico-cluster'
> data_domain_name='OVIRT-TEST2'
>
>
>
> logging.basicConfig(level=logging.DEBUG, filename='example.log')
>
> # This example will connect to the server and start a virtual machine
> # with cloud-init, in order to automatically configure the network and
> # the password of the `root` user.
>
> # Create the connection to the server:
> connection = sdk.Connection(
> url='https://ocenter.province-sud.prod/ovirt-engine/api',
> username='admin@internal',
> password='admin',
> ca_file='CA_ocenter.pem',
> debug=True,
> log=logging.getLogger(),
> )
>
>
>
> ##
>  TEMPLATE 
> ##
>
> # Get the reference to the root of the tree of services:
> system_service = connection.system_service()
>
> # Get the reference to the service that manages the storage domains:
> storage_domains_service = system_service.storage_domains_service()
>
> # Find the storage domain we want to be used for virtual machine disks:
> storage_domain = storage_domains_service.list(search='name='+data_domain_
> name)[0]
>
>
> # Get the reference to the service that manages the templates:
> templates_service = system_service.templates_service()
>
> # When a template has multiple versions they all have the same name, so
> # we need to explicitly find the one that has the version name or
> # version number that we want to use. In this case we want to use
> # version 1 of the template.
> templates = templates_service.list(search='name='+template_name)
> template_id = None
> for template in templates:
> if template.version.version_number == template_version:
> template_id = template.id
> break
>
> if template_id == None:
> print "ERREUR le template "+template_name+"en version
> "+str(template_version)+" n'a pas été trouvé!!"
>
> # Find the template disk we want be created on specific storage domain
> # for our virtual machine:
> template_service = templates_service.template_service(template_id)
> disk_attachments = connection.follow_link(template_service.get().disk_
> attachments)
>
> print "disk_attachments=" + str(len(disk_attachments))
>
> template_disk_attachments = []
> for disk in disk_attachments:
> template_disk_attachments.append(types.DiskAttachment(
> disk=types.Disk(
> id=disk.id,
> format=types.DiskFormat.COW,
> storage_domains=[
> types.StorageDomain(
> id=storage_domain.id,
> ),
> ],
> ),
> )
> )
>
>
>
> # Get the reference to the service that manages the virtual machines:
> vms_service = system_service.vms_service()
>
> # Add a new virtual machine explicitly indicating the identifier of the
> # template version that we want to use and indicating that template disk
> # should be created on specific storage domain for the virtual machine:
> vm = vms_service.add(
> types.Vm(
> name='myvm',
> cluster=types.Cluster(
> name=cluster_name
> ),
> stateless=False,
> type=types.VmType('server'),
> comment='based on template '+template_name+'en version
> '+str(template_version),
> template=types.Template(
> id=template_id
> ),
> disk_attachments=template_disk_attachments,
> )
> )
>
>
>
> # Get a reference to the service that manages the virtual machine that
> # was created in the previous step:
> vm_service = vms_service.vm_service(vm.id)
>
> # Wait till the virtual 

Re: [ovirt-users] Fiber Channel Storage not coming up

2018-03-21 Thread Fred Rolland
Can you see the LUNs on the host?
To check the status, run: multipath -ll

Try also to execute the following command  /usr/libexec/vdsm/fc-scan -v



On Tue, Mar 20, 2018 at 10:03 PM, Jean Pickard  wrote:

> Hello,
> Today I noticed that most of my VMs weren't accessible.
> Once i checked the system, I noticed my FC channel SAN data domain is
> inactive.
>
>
> 2018-03-19 16:01:05,308-0700 ERROR (periodic/32) [virt.vm]
> (vmId='43700e39-8812-41c6-9cd6-e555a2f19e35') Unable to get watermarks
> for drive vda: failed to open block device '/rhev/data-center/0001-
> 0001-0001-0001-0311/cecbec42-bff1-4e8d-9c37-
> c260b7305af7/images/05563eaf-ea90-4364-b92e-4b53173a3a5f/
> 242a97ec-9459-4ce1-b61a-3331a7617f2d': No such file or directory (vm:814)
> 2018-03-19 16:01:06,018-0700 ERROR (monitor/cecbec4) [storage.Monitor]
> Error checking domain cecbec42-bff1-4e8d-9c37-c260b7305af7 (monitor:426)
> Traceback (most recent call last):
>   File "/usr/share/vdsm/storage/monitor.py", line 407, in
> _checkDomainStatus
> self.domain.selftest()
>   File "/usr/share/vdsm/storage/sdc.py", line 50, in __getattr__
> return getattr(self.getRealDomain(), attrName)
>   File "/usr/share/vdsm/storage/sdc.py", line 53, in getRealDomain
> return self._cache._realProduce(self._sdUUID)
>   File "/usr/share/vdsm/storage/sdc.py", line 136, in _realProduce
> domain = self._findDomain(sdUUID)
>   File "/usr/share/vdsm/storage/sdc.py", line 153, in _findDomain
> return findMethod(sdUUID)
>   File "/usr/share/vdsm/storage/blockSD.py", line 1610, in findDomain
> return BlockStorageDomain(BlockStorageDomain.findDomainPath(sdUUID))
>   File "/usr/share/vdsm/storage/blockSD.py", line 1550, in findDomainPath
> raise se.StorageDomainDoesNotExist(sdUUID)
> StorageDomainDoesNotExist: Storage domain does not exist:
> (u'cecbec42-bff1-4e8d-9c37-c260b7305af7',)
> 2018-03-19 16:01:07,331-0700 ERROR (periodic/32) [virt.vm]
> (vmId='235702f2-286e-403b-b395-db9c1d603d99') Unable to get watermarks
> for drive vda: failed to open block device '/rhev/data-center/0001-
> 0001-0001-0001-0311/cecbec42-bff1-4e8d-9c37-
> c260b7305af7/images/8eb9847f-4e4e-4bda-b4fa-a44119137ee2/
> ddf7c854-fa95-4c3f-b76a-4a90c8067c7e': No such file or directory (vm:814)
>
> My attempts to activate my data center storage is failing as well.
> I don't see any errors in my engine log under /var/log/ovirt-engine.
>
> Any idea why my storage is not coming up?
>
> Thank you,
>
> Jean
>
> ___
> 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] Attach Export Domain to another Data Center - Failure

2018-03-21 Thread Fred Rolland
Can you provide the vdsm logs from the host.
It looks the vdsm failed to connect to the server.

On Wed, Mar 21, 2018 at 11:21 AM, Andrei Verovski 
wrote:

> Hi,
>
> I have 2-host oVirt setup with 2 Data Centers, one with local storage
> domain (DC #1) for VMs + Export domain on NFS, another with all NFS shared
> (DC #2).
> Trying to export VMs from DC #1 to DC #2.
> VMs are exported to DC #1 export domain (NFS), then domain put into
> maintenance mode and detached from DC #1.
>
> Unfortunately, attaching it to DC #2 failed. Logs attached. Tried to run
> this command twice.
> Workaround are possible in order to accomplish this task, yet it would be
> better to do in a way as it was designed.
> Thanks.
>
>
> 2018-03-21 10:43:24,024+02 ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] 
> (EE-ManagedThreadFactory-engine-Thread-128904)
> [570ec5d9-fff5-4656-afbd-90b3207a616e] EVENT_ID:
> USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED(963), Failed to attach Storage
> Domain node10-NFS-EXPORTS to Data Center StrDataCenter11. (User:
> admin@internal-authz)
> 2018-03-21 10:46:16,512+02 ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] 
> (EE-ManagedThreadFactory-engine-Thread-128956)
> [1435fc81] EVENT_ID: VDS_STORAGES_CONNECTION_FAILED(188), Failed to
> connect Host node11 to the Storage Domains node10-NFS-EXPORTS.
> 2018-03-21 10:46:16,651+02 ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] 
> (EE-ManagedThreadFactory-engine-Thread-128955)
> [a81ffa4a-5a58-41a0-888a-f0edc321609b] EVENT_ID:
> USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED(963), Failed to attach Storage
> Domain node10-NFS-EXPORTS to Data Center StrDataCenter11. (User:
> admin@internal-authz)
>
>
> *tail -n 1000 engine.log | grep 570ec5d9-fff5-4656-afbd-90b3207a616e*
> 2018-03-21 10:41:14,643+02 INFO  [org.ovirt.engine.core.bll.
> storage.domain.AttachStorageDomainToPoolCommand] (default task-2)
> [570ec5d9-fff5-4656-afbd-90b3207a616e] Lock Acquired to object
> 'EngineLock:{exclusiveLocks='[1d7208ce-d3a1-4406-9638-fe7051562994=STORAGE]',
> sharedLocks=''}'
> 2018-03-21 10:41:16,129+02 INFO  [org.ovirt.engine.core.bll.
> storage.domain.AttachStorageDomainToPoolCommand] 
> (EE-ManagedThreadFactory-engine-Thread-128904)
> [570ec5d9-fff5-4656-afbd-90b3207a616e] Running command:
> AttachStorageDomainToPoolCommand internal: false. Entities affected :
> ID: 1d7208ce-d3a1-4406-9638-fe7051562994 Type: StorageAction group
> MANIPULATE_STORAGE_DOMAIN with role type ADMIN,  ID:
> 80cc922f-8dea-4fed-b951-1060ba116ad5 Type: StoragePoolAction group
> MANIPULATE_STORAGE_DOMAIN with role type ADMIN
> 2018-03-21 10:43:23,564+02 ERROR [org.ovirt.engine.core.bll.
> storage.domain.AttachStorageDomainToPoolCommand] 
> (EE-ManagedThreadFactory-engine-Thread-128904)
> [570ec5d9-fff5-4656-afbd-90b3207a616e] Cannot connect storage connection
> server, aborting attach storage domain operation.
> 2018-03-21 10:43:23,567+02 INFO  
> [org.ovirt.engine.core.bll.CommandCompensator]
> (EE-ManagedThreadFactory-engine-Thread-128904) 
> [570ec5d9-fff5-4656-afbd-90b3207a616e]
> Command [id=921ca7cd-4f93-46aa-8de2-91b13b8f96cb]: Compensating
> NEW_ENTITY_ID of 
> org.ovirt.engine.core.common.businessentities.StoragePoolIsoMap;
> snapshot: 
> StoragePoolIsoMapId:{storagePoolId='80cc922f-8dea-4fed-b951-1060ba116ad5',
> storageId='1d7208ce-d3a1-4406-9638-fe7051562994'}.
> 2018-03-21 10:43:24,024+02 ERROR [org.ovirt.engine.core.dal.
> dbbroker.auditloghandling.AuditLogDirector] 
> (EE-ManagedThreadFactory-engine-Thread-128904)
> [570ec5d9-fff5-4656-afbd-90b3207a616e] EVENT_ID:
> USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED(963), Failed to attach Storage
> Domain node10-NFS-EXPORTS to Data Center StrDataCenter11. (User:
> admin@internal-authz)
> 2018-03-21 10:43:24,114+02 INFO  [org.ovirt.engine.core.bll.
> storage.domain.AttachStorageDomainToPoolCommand] 
> (EE-ManagedThreadFactory-engine-Thread-128904)
> [570ec5d9-fff5-4656-afbd-90b3207a616e] Lock freed to object
> 'EngineLock:{exclusiveLocks='[1d7208ce-d3a1-4406-9638-fe7051562994=STORAGE]',
> sharedLocks=''}'
>
>
>
> *[root@node00 ovirt-engine]# tail -n 1000 engine.log | grep
> a81ffa4a-5a58-41a0-888a-f0edc321609b*
> 2018-03-21 10:44:11,025+02 INFO  [org.ovirt.engine.core.bll.
> storage.domain.AttachStorageDomainToPoolCommand] (default task-16)
> [a81ffa4a-5a58-41a0-888a-f0edc321609b] Lock Acquired to object
> 'EngineLock:{exclusiveLocks='[1d7208ce-d3a1-4406-9638-fe7051562994=STORAGE]',
> sharedLocks=''}'
> 2018-03-21 10:44:11,236+02 INFO  [org.ovirt.engine.core.bll.
> storage.domain.AttachStorageDomainToPoolCommand] 
> (EE-ManagedThreadFactory-engine-Thread-128955)
> [a81ffa4a-5a58-41a0-888a-f0edc321609b] Running command:
> AttachStorageDomainToPoolCommand internal: false. Entities affected :
> ID: 1d7208ce-d3a1-4406-9638-fe7051562994 Type: StorageAction group
> MANIPULATE_STORAGE_DOMAIN with role type ADMIN,  ID:
> 

Re: [ovirt-users] Faulty multipath only cleared with VDSM restart

2018-03-11 Thread Fred Rolland
The multipath report does not have any effects on stability/performance.
It is used for creating events to the user in the engine, in order to
detect earlier issues in their storage. [1]

In your case, you would have an wrong alarm in the Engine that would not be
cleared until next Vdsm restart.


[1]
https://ovirt.org/develop/release-management/features/storage/multipath-events/#event-reporting

On Sun, Mar 11, 2018 at 2:23 PM, Bruckner, Simone <
simone.bruck...@fabasoft.com> wrote:

> Hi Fred,
>
>
>
>   thank you for the explanation. I restarted VDSM and will monitor the
> behaviour.
>
>
>
> Does that faulty multipath report have any side effects on stability and
> performance?
>
>
>
> All the best,
>
> Oliver
>
>
>
> *Von:* Fred Rolland [mailto:froll...@redhat.com]
> *Gesendet:* Sonntag, 11. März 2018 11:23
> *An:* Bruckner, Simone <simone.bruck...@fabasoft.com>
> *Cc:* users@ovirt.org
> *Betreff:* Re: [ovirt-users] Faulty multipath only cleared with VDSM
> restart
>
>
>
> Hi Simone,
>
> The multipath health is built on VDSM start from the current multipath
> state, and after that it is maintained based on events sent by udev.
>
> You can read about the implementation details in [1].
>
> It seems that in your scenario, either udev did not sent the needed
> clearing events or that Vdsm mishandled them.
>
> Therefore only restart of the Vdsm will clear the report.
>
> In order to be able to debug the issue, we will need Vdsm logs with debug
> level (on storage log) when the issue is happening.
>
>
>
> Thanks,
>
> Fred
>
>
> [1] https://ovirt.org/develop/release-management/features/
> storage/multipath-events/
>
>
>
> On Fri, Mar 9, 2018 at 1:07 PM, Bruckner, Simone <
> simone.bruck...@fabasoft.com> wrote:
>
> Hi,
>
>
>
>   after rebooting SAN switches we see faulty multipath entries in VDSM.
>
>
>
> Running vdsm-client Host getStats shows multipathHealth entries
>
>
>
> "multipathHealth": {
>
>   "3600601603cc04500a2f9cd597080db0e": {
>
> "valid_paths": 2,
>
> "failed_paths": [
>
>   "sdcl",
>
>   "sdde"
>
> ]
>
>   },
>
>   …
>
>
>
> Running multipath –ll does not show any errors.
>
>
>
> After restarting VSDM, the multipathHealth entires from vdsm-client are
> empty again.
>
>
>
> Is the a way to clear those multipathHealth entires without restarting
> VDSM?
>
>
>
> Thank you and all the best,
>
> Simone
>
>
>
>
> ___
> 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] Faulty multipath only cleared with VDSM restart

2018-03-11 Thread Fred Rolland
Hi Simone,

The multipath health is built on VDSM start from the current multipath
state, and after that it is maintained based on events sent by udev.
You can read about the implementation details in [1].

It seems that in your scenario, either udev did not sent the needed
clearing events or that Vdsm mishandled them.
Therefore only restart of the Vdsm will clear the report.

In order to be able to debug the issue, we will need Vdsm logs with debug
level (on storage log) when the issue is happening.

Thanks,
Fred

[1]
https://ovirt.org/develop/release-management/features/storage/multipath-events/

On Fri, Mar 9, 2018 at 1:07 PM, Bruckner, Simone <
simone.bruck...@fabasoft.com> wrote:

> Hi,
>
>
>
>   after rebooting SAN switches we see faulty multipath entries in VDSM.
>
>
>
> Running vdsm-client Host getStats shows multipathHealth entries
>
>
>
> "multipathHealth": {
>
>   "3600601603cc04500a2f9cd597080db0e": {
>
> "valid_paths": 2,
>
> "failed_paths": [
>
>   "sdcl",
>
>   "sdde"
>
> ]
>
>   },
>
>   …
>
>
>
> Running multipath –ll does not show any errors.
>
>
>
> After restarting VSDM, the multipathHealth entires from vdsm-client are
> empty again.
>
>
>
> Is the a way to clear those multipathHealth entires without restarting
> VDSM?
>
>
>
> Thank you and all the best,
>
> Simone
>
>
>
> ___
> 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] Can't move/copy VM disks between Data Centers

2018-03-05 Thread Fred Rolland
Using Export domain should work also, but I would go the way I described
earlier.

On Sun, Mar 4, 2018 at 1:27 PM, Andrei V <andre...@starlett.lv> wrote:

> Hi,
>
> On 02/27/2018 04:29 PM, Fred Rolland wrote:
>
> Hi,
>
> Just to make clear what you want to achieve:
> - DC1 - local storage - host1 - VMs
> - DC2 - local storage - host2
>
> You want to move the VMs from DC1 to DC2.
>
>
> Yes, thanks, this is exactly what I want to accomplish.
> BTW, are export domains from different data centers visible to each other?
>
> If not, wouldn't be simpler to export VM#1 in DC #1 to Export domain #1,
> copy over ssh to DC #2 Export domain, and finally import it into DC #2.
>
> PS. I can't test right now myself, sitting home on sick leave..
>
>
>
> What you can do:
> - Add a shared storage domain to the DC#1
> - Move VM disk from local SD to shared storage domain
> - Put shared storage domain to maintenance
> - Detach shared storage from DC1
> - Attach shared storage to DC2
> - Activate shared storage
> - You should be able to register the VM from the shared storage into the
> DC2
> - If you want/need move disks from shared storage to local storage in DC2
>
> Please test this flow with a dummy VM before doing on important VMs.
>
> Regards,
>
> Freddy
>
> On Mon, Feb 26, 2018 at 1:46 PM, Andrei Verovski <andre...@starlett.lv>
> wrote:
>
>> Hi,
>>
>> Thanks for clarification. I’m using 4.2.
>> Anyway, I have to define another data center with shared storage domain
>> (since data center with local storage domain can have only 1 host), and the
>> do what you have described.
>>
>> Is it possible to copy VM disks from 1 data center #1 local storage
>> domain to another data center #2 NFS storage domain, or need to use export
>> storage domain ?
>>
>>
>>
>> On 26 Feb 2018, at 13:30, Fred Rolland <froll...@redhat.com> wrote:
>>
>> Hi,
>> Which version are you using?
>>
>> in 4.1 , the support of adding shared storage to local DC was added [1].
>> You can copy/move disks to the shared storage domain, then detach the SD
>> and attach to another DC.
>>
>> In any case, you wont be able to live migrate VMs from the local DC, it
>> is not supported.
>>
>> Regards,
>> Fred
>>
>> [1] https://ovirt.org/develop/release-management/features/storag
>> e/sharedStorageDomainsAttachedToLocalDC/
>>
>> On Fri, Feb 23, 2018 at 1:35 PM, Andrei V <andre...@starlett.lv> wrote:
>>
>>> Hi,
>>>
>>> I have oVirt setup, separate PC host engine + 2 nodes (#10 + #11) with
>>> local storage domains (internal RAIDs).
>>> 1st node #10 is currently active and can’t be turned off.
>>>
>>> Since oVirt doesn’t support more then 1 host in data center with local
>>> storage domain as described here:
>>> http://lists.ovirt.org/pipermail/users/2018-January/086118.html
>>> defined another data center with 1 node #11.
>>>
>>> Problem:
>>> 1) can’t copy or move VM disks from node #10 (even of inactive VMs) to
>>> node #11, this node is NOT being shown as possible destination.
>>> 2) can’t migrate active VMs to node #11.
>>> 3) Added NFS shares to data center #1 -> node #10, but can’t change data
>>> center #1 -> storage type to Shared, because this operation requires
>>> detachment of local storage domains, which is not possible, several VMs are
>>> active and can’t be stopped.
>>>
>>> VM disks placed on local storage domains because of performance
>>> limitations of our 1Gbit network.
>>> 2 VMs running our accounting/inventory control system, and are critical
>>> to NFS storage performance limits.
>>>
>>> How to solve this problem ?
>>> Thanks in advance.
>>>
>>> Andrei
>>>
>>>
>>> ___
>>> 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
>>
>>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Installation using virtual machines

2018-03-05 Thread Fred Rolland
Hi,

The ovirt engine can be run in a virtual engine. Look for "hosted engine".

What do you mean by "guests" ?
If you mean the hosts running the VMs, it is possible but not recommended.
Real hardware is the best way.

Regards,
Fred



On Thu, Mar 1, 2018 at 9:55 AM, Anastasiya Ruzhanskaya <
anastasiya.ruzhansk...@frtk.ru> wrote:

> Hello!
> I have read the documentation on the web site, but still it is not clear
> for me : is it possible to install ovirt engine as well as guests on
> virtual machines, not on the real hardware?
>
> ___
> 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.2.1 Storage with Fibre Channel Protocol

2018-03-05 Thread Fred Rolland
Hi,

All hosts in the Data Center should have access to the storage.
Think of the DC as a migration domain. If one of the hosts fails and you
need to migrate the VMs to another host, the VMs disks needs to be
available in the new host.

You cannot use the same LUN in different domains.
Either ask the storage administrator to split the LUN into 3 smaller LUNs
or maybe use an NFS server for the ISO domain.

Regards,
Fred

On Thu, Mar 1, 2018 at 1:13 PM, Sérgio Marques  wrote:

> Hello,
>
> I'm new in Ovirt, loving it, but i'm having some doubts when it comes to
> add FCP Storage. I have two clusters, one called Production and the other
> Development, each cluster with two nodes and i want to configure Data
> Domain. My doubts are:
>
> 1 - Every nodes must have connection to de FCP? If only de SPM have it, if
> it falls, who can connect to the storage?
>
> 2 - I have only one LUN in EVA HSV300 for me and i want to add three
> Storage Domains (Data, ISO e Export). Is it possible? How? This is because
> when i add data storage domain and choose the only LUN available it warn me
> that all data is going to be lost "This operation might be unrecoverable
> and destructive"
>
> 3 - Any advice about best practices about implementation?
>
> Thanks
>
> --
> Cumprimentos,
> Sérgio Marques
>
> ___
> 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] Problem Storage Iscsi

2018-03-05 Thread Fred Rolland
Hi,

Can you provide Vdsm logs from the host with the issues?

Thanks,
Fred

On Fri, Mar 2, 2018 at 5:00 PM, João Floriano - Magnet <
j...@magnetwork.com.br> wrote:

> Hello everyone!
>
> I am facing the following problem with ovirt 4.2.1, out of nowhere all
> virtual machines are paused and only return operals if log in via ssh on
> the host and execute a "virsh destroy domain", it is necessary to
> reactivate disk and network after this process. In the events I get the
> following message: VM X has been paused due to storage I / O problem.
>
> Currently I have iscsi storage configured on a server with target and
> based on some test I did not identify problems of communication of the
> hosts to the storage
>
> can you help me?
>
> --
>
>
> ___
> 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] Can't move/copy VM disks between Data Centers

2018-02-27 Thread Fred Rolland
Hi,

Just to make clear what you want to achieve:
- DC1 - local storage - host1 - VMs
- DC2 - local storage - host2

You want to move the VMs from DC1 to DC2.

What you can do:
- Add a shared storage domain to the DC#1
- Move VM disk from local SD to shared storage domain
- Put shared storage domain to maintenance
- Detach shared storage from DC1
- Attach shared storage to DC2
- Activate shared storage
- You should be able to register the VM from the shared storage into the DC2
- If you want/need move disks from shared storage to local storage in DC2

Please test this flow with a dummy VM before doing on important VMs.

Regards,

Freddy

On Mon, Feb 26, 2018 at 1:46 PM, Andrei Verovski <andre...@starlett.lv>
wrote:

> Hi,
>
> Thanks for clarification. I’m using 4.2.
> Anyway, I have to define another data center with shared storage domain
> (since data center with local storage domain can have only 1 host), and the
> do what you have described.
>
> Is it possible to copy VM disks from 1 data center #1 local storage domain
> to another data center #2 NFS storage domain, or need to use export storage
> domain ?
>
>
>
> On 26 Feb 2018, at 13:30, Fred Rolland <froll...@redhat.com> wrote:
>
> Hi,
> Which version are you using?
>
> in 4.1 , the support of adding shared storage to local DC was added [1].
> You can copy/move disks to the shared storage domain, then detach the SD
> and attach to another DC.
>
> In any case, you wont be able to live migrate VMs from the local DC, it is
> not supported.
>
> Regards,
> Fred
>
> [1] https://ovirt.org/develop/release-management/features/storage/
> sharedStorageDomainsAttachedToLocalDC/
>
> On Fri, Feb 23, 2018 at 1:35 PM, Andrei V <andre...@starlett.lv> wrote:
>
>> Hi,
>>
>> I have oVirt setup, separate PC host engine + 2 nodes (#10 + #11) with
>> local storage domains (internal RAIDs).
>> 1st node #10 is currently active and can’t be turned off.
>>
>> Since oVirt doesn’t support more then 1 host in data center with local
>> storage domain as described here:
>> http://lists.ovirt.org/pipermail/users/2018-January/086118.html
>> defined another data center with 1 node #11.
>>
>> Problem:
>> 1) can’t copy or move VM disks from node #10 (even of inactive VMs) to
>> node #11, this node is NOT being shown as possible destination.
>> 2) can’t migrate active VMs to node #11.
>> 3) Added NFS shares to data center #1 -> node #10, but can’t change data
>> center #1 -> storage type to Shared, because this operation requires
>> detachment of local storage domains, which is not possible, several VMs are
>> active and can’t be stopped.
>>
>> VM disks placed on local storage domains because of performance
>> limitations of our 1Gbit network.
>> 2 VMs running our accounting/inventory control system, and are critical
>> to NFS storage performance limits.
>>
>> How to solve this problem ?
>> Thanks in advance.
>>
>> Andrei
>>
>>
>> ___
>> 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
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can't move/copy VM disks between Data Centers

2018-02-26 Thread Fred Rolland
Hi,
Which version are you using?

in 4.1 , the support of adding shared storage to local DC was added [1].
You can copy/move disks to the shared storage domain, then detach the SD
and attach to another DC.

In any case, you wont be able to live migrate VMs from the local DC, it is
not supported.

Regards,
Fred

[1]
https://ovirt.org/develop/release-management/features/storage/sharedStorageDomainsAttachedToLocalDC/

On Fri, Feb 23, 2018 at 1:35 PM, Andrei V  wrote:

> Hi,
>
> I have oVirt setup, separate PC host engine + 2 nodes (#10 + #11) with
> local storage domains (internal RAIDs).
> 1st node #10 is currently active and can’t be turned off.
>
> Since oVirt doesn’t support more then 1 host in data center with local
> storage domain as described here:
> http://lists.ovirt.org/pipermail/users/2018-January/086118.html
> defined another data center with 1 node #11.
>
> Problem:
> 1) can’t copy or move VM disks from node #10 (even of inactive VMs) to
> node #11, this node is NOT being shown as possible destination.
> 2) can’t migrate active VMs to node #11.
> 3) Added NFS shares to data center #1 -> node #10, but can’t change data
> center #1 -> storage type to Shared, because this operation requires
> detachment of local storage domains, which is not possible, several VMs are
> active and can’t be stopped.
>
> VM disks placed on local storage domains because of performance
> limitations of our 1Gbit network.
> 2 VMs running our accounting/inventory control system, and are critical to
> NFS storage performance limits.
>
> How to solve this problem ?
> Thanks in advance.
>
> Andrei
>
>
> ___
> 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] No master storage domain, force select?

2018-01-18 Thread Fred Rolland
Hi,

What is the status of the Data Center?
What is the status of the hosts?
Is there a host selected as SPM?

Also attach the engine/vdsm logs.


Thanks,
Fred

On Thu, Jan 18, 2018 at 7:26 AM, Jure Kranjc  wrote:

> Hello,
>
> is there a way to force select master storage domain? I have three data
> domains, we had some storage problems and now none of the domains is
> master. I cannot activate any because I should first activate the master
> one. Any help appreciated.
>
>
>
> ___
> 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.2.1 rc1 and upload iso to data domain test

2018-01-17 Thread Fred Rolland
Hi,

I tested uploading an ISO to Gluster on my setup and it worked fine.

The size is OK:

# ls -lsh
/rhev/data-center/mnt/glusterSD/*:_fred1/f80e6d34-7c4c-4c0b-9451-dd140812c4ee/images/fa2209bc-d34c-4f3e-a425-9a085d72c3ba/0deef094-05a3-49c4-a347-ca423bd57a87
1.6G -rw-rw. 1 vdsm kvm 1.6G Jan 17 10:06
/rhev/data-center/mnt/glusterSD/:_fred1/f80e6d34-7c4c-4c0b-9451-dd140812c4ee/images/fa2209bc-d34c-4f3e-a425-9a085d72c3ba/0deef094-05a3-49c4-a347-ca423bd57a87


Are you seeing any other issues with your Gluster setup?
Creating regular disks, copy/move disks to this SD?

Thanks,
Fred

On Tue, Jan 16, 2018 at 4:25 PM, Gianluca Cecchi <gianluca.cec...@gmail.com>
wrote:

>
>
> On Tue, Jan 16, 2018 at 2:30 PM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>>
>>
>> On Tue, Jan 16, 2018 at 2:21 PM, Gianluca Cecchi <
>> gianluca.cec...@gmail.com> wrote:
>>
>>> On Tue, Jan 16, 2018 at 6:48 AM, Fred Rolland <froll...@redhat.com>
>>> wrote:
>>>
>>>> Hi,
>>>> I will look into it.
>>>>
>>>> Is it also not working also for non-iso images?
>>>>
>>>> Thanks,
>>>> Fred
>>>>
>>>>
>>> Hello,
>>> I get the same with a disk.
>>> I have tried with a raw disk of size 1Gb.
>>> When I upload I can set the size (why?) while with the iso image I could
>>> not.
>>> The disk is recognized as "data" in upload window (the iso fie was
>>> correctly recognized as "iso"), but in image-proxy.log I get
>>>
>>> (Thread-42 ) INFO 2018-01-16 14:15:50,530 web:95:web:(log_start) START
>>> [192.168.150.101] GET /info/
>>> (Thread-42 ) INFO 2018-01-16 14:15:50,532 web:102:web:(log_finish)
>>> FINISH [192.168.150.101] GET /info/: [200] 20 (0.00s)
>>> (Thread-43 ) INFO 2018-01-16 14:16:12,659 web:95:web:(log_start) START
>>> [192.168.150.105] PUT /tickets/
>>> (Thread-43 ) INFO 2018-01-16 14:16:12,661 
>>> auth2:170:auth2:(add_signed_ticket)
>>> Adding new ticket: >> 4744-8a58-f1948afa20b7', url=u'https://ovirt01.localdomain.local:54322'
>>> at 0x7f048c03c610>
>>> (Thread-43 ) INFO 2018-01-16 14:16:12,662 web:102:web:(log_finish)
>>> FINISH [192.168.150.105] PUT /tickets/: [200] 0 (0.00s)
>>> (Thread-44 ) INFO 2018-01-16 14:16:13,800 web:95:web:(log_start) START
>>> [192.168.150.101] OPTIONS /images/81569ab3-1b92-4744-
>>> 8a58-f1948afa20b7
>>> (Thread-44 ) INFO 2018-01-16 14:16:13,814 web:102:web:(log_finish)
>>> FINISH [192.168.150.101] OPTIONS /images/81569ab3-1b92-47
>>> 44-8a58-f1948afa20b7: [204] 0 (0.02s)
>>> (Thread-45 ) INFO 2018-01-16 14:16:13,876 web:95:web:(log_start) START
>>> [192.168.150.101] PUT /images/81569ab3-1b92-4744-8a58
>>> -f1948afa20b7
>>> (Thread-45 ) WARNING 2018-01-16 14:16:13,877 web:112:web:(log_error)
>>> ERROR [192.168.150.101] PUT /images/81569ab3-1b92-4744-8a58-f1948afa20b7:
>>> [401] Not authorized (0.00s)
>>>
>>> Gianluca
>>>
>>
>>
>> BTW:
>> I don't know if its is in some way related with the upload problems, but
>> in my engine .log I see these kind of messages every 5 or such seconds:
>>
>> 2018-01-16 14:27:38,428+01 INFO  [org.ovirt.engine.core.vdsbrok
>> er.gluster.GlusterServersListVDSCommand] (DefaultQuartzScheduler3)
>> [61e72c38] START, GlusterServersListVDSCommand(HostName =
>> ovirt02.localdomain.local, VdsIdVDSCommandParametersBase:
>> {hostId='cb9cc605-fceb-4689-ad35-43ba883f4556'}), log id: 65e60794
>> 2018-01-16 14:27:38,858+01 INFO  [org.ovirt.engine.core.vdsbrok
>> er.gluster.GlusterServersListVDSCommand] (DefaultQuartzScheduler3)
>> [61e72c38] FINISH, GlusterServersListVDSCommand, return: [
>> 192.168.150.103/24:CONNECTED, ovirt03.localdomain.local:CONNECTED,
>> ovirt01.localdomain.local:CONNECTED], log id: 65e60794
>> 2018-01-16 14:27:38,867+01 INFO  [org.ovirt.engine.core.vdsbrok
>> er.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler3)
>> [61e72c38] START, GlusterVolumesListVDSCommand(HostName =
>> ovirt02.localdomain.local, GlusterVolumesListVDSParameter
>> s:{hostId='cb9cc605-fceb-4689-ad35-43ba883f4556'}), log id: 6e01993d
>> 2018-01-16 14:27:39,221+01 WARN  [org.ovirt.engine.core.vdsbrok
>> er.gluster.GlusterVolumesListReturn] (DefaultQuartzScheduler3)
>> [61e72c38] Could not associate brick 
>> 'ovirt02.localdomain.local:/gluster/brick1/engine'
>> of volume '6e2bd1d7-9c8e-4c54-9d85-f36e1b871771' with correct network as
>> no gluster network found in 

Re: [ovirt-users] oVirt 4.2.1 rc1 and upload iso to data domain test

2018-01-15 Thread Fred Rolland
Hi,
I will look into it.

Is it also not working also for non-iso images?

Thanks,
Fred

On Jan 14, 2018 8:16 PM, "Gianluca Cecchi" 
wrote:

> Hello,
> I see in release notes this
>
> BZ 1530730 [downstream clone - 4.2.1] [RFE] Allow uploading ISO images to
> data domains and using them in VMs
> It is now possible to upload an ISO file to a data domain and attach it to
> a VM as a CDROM device.
> In order to do so the user has to upload an ISO file via the UI (which
> will recognize the ISO by it's header and will upload it as ISO) or via the
> APIs in which case the request should define the disk container
> "content_type" property as "iso" before the upload.
> Once the ISO exists on an active storage domain in the data center it will
> be possible to attach it to a VM as a CDROM device either through the "Edit
> VM" dialog or through the APIs (see example in comment #27
>
> So I'm trying it on an HCI Gluster environment of mine for testing.
> I get this in image-proxy.log
>
> (Thread-39 ) INFO 2018-01-14 18:35:38,066 web:95:web:(log_start) START
> [192.168.150.101] PUT /images/0d852f7a-b19e-447d-82ad-966755070701
> (Thread-39 ) WARNING 2018-01-14 18:35:38,067 web:112:web:(log_error) ERROR
> [192.168.150.101] PUT /images/0d852f7a-b19e-447d-82ad-966755070701: [401]
> Not authorized (0.00s)
> (Thread-40 ) INFO 2018-01-14 18:35:38,106 web:95:web:(log_start) START
> [192.168.150.101] PUT /images/0d852f7a-b19e-447d-82ad-966755070701
> (Thread-40 ) WARNING 2018-01-14 18:35:38,106 web:112:web:(log_error) ERROR
> [192.168.150.101] PUT /images/0d852f7a-b19e-447d-82ad-966755070701: [401]
> Not authorized (0.00s)
>
>
> Does this mean the functionality is not completely ready yet or what?
> Any one has already tried on iSCSI and/or FC?
>
> Thanks,
> Gianluca
>
>
> ___
> 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.2 CEPH support

2018-01-08 Thread Fred Rolland
Hi,

Do you have a link about this information?

Thanks,
Freddy

On Sun, Jan 7, 2018 at 9:01 PM, Abdurrahman A. Ibrahim <
a.rahman.at...@gmail.com> wrote:

> Hello,
>
> I read in RHV 4.2 Beta release note that CEPH will be supported using
> iSCSI.
> I have tried to check community documentation regarding CEPH support but
> there was no luck. Do we have such document?
>
>
> Best regards,
> Ab
>
>
> ___
> 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] Local storage and multiple hosts in cluster

2018-01-07 Thread Fred Rolland
No, you cannot.
This is by design. If you want to use local storage, you can have only one
host in the cluster/data center.

On Fri, Jan 5, 2018 at 4:14 PM, Waqar Khan  wrote:

> Hi,
> I have 1 engine manager and 2 nodes. The 2 nodes are using local storage
> (this is for testing out ovirt and learning about it). I cannot however add
> 2 hosts to the same cluster in the same data centre without shared storage.
> Is there a workaround for this?
>
> Regards
>
> ___
> 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 with Gluster upgraded to 4.2: unable to boot vm with libgfapi

2018-01-02 Thread Fred Rolland
ovirt-engine/BLL.virt

Seems to be a problem when building the XML, before sending to Vdsm.

On Tue, Jan 2, 2018 at 10:41 AM, Gianluca Cecchi 
wrote:

> On Tue, Jan 2, 2018 at 9:34 AM, Yaniv Kaul  wrote:
>
>>
>>
>>>
>> I'm indeed missing even the create command on the VDSM... strange. Can
>> you file a bug about this?
>> Y.
>>
>
> Which Product/Component? ovirt-engine/General ?
>
> Gianluca
>
>
> ___
> 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] 4.2: Can't add local storage

2017-12-26 Thread Fred Rolland
What about this chapter:

https://www.ovirt.org/documentation/admin-guide/chap-Storage/#preparing-and-adding-local-storage

On Wed, Dec 27, 2017 at 8:56 AM, Yaniv Kaul  wrote:

>
>
> On Dec 27, 2017 5:33 AM, "Blaster"  wrote:
>
> On 12/24/2017 11:58 PM, Sandro Bonazzola wrote:
>
>
>
> Il 24 Dic 2017 18:28, "Blaster"  ha scritto:
>
> Fresh install of 4.2 self hosted engine.
>
> Right after install, I tried to add local storage.  I tried to put the
> hosted engine VM into maint mode, but it forever just sat there in the
> going into maint state, and never actually went into maint state.
>
> The default Datacenter was in uninitialized state.
>
> So I tried adding an NFS storage domain, which initialized the
> datacenter.  Now when I try and put the hosted engine VM into maint mode I
> get: Cannot switch the hosts to maintenance mode. There are no available
> hosts capable of running the engine VM.
>
> What am I doing wrong?
>
>
> You need to add a second host allowing the hosted engine to migrate in
> order to move the host to maintenance.
>
>
> This is bad terminology on oVirt's part.  I was wanting to add local SATA
> disk as I have a 1 node environment with no shared storage.  To accomplish
> what I really wanted to do, I had to change the datacenter storage type to
> local storage, the a local file system option appeared in the create new
> storage domain diaglog.
>
> oVirt/RHEV team really needs a good documentation writer, as this storage
> option isn't even documented in the storage section of the administration
> guide.
>
>
> oVirt is a community project. I'd be happy if you could send a patch to
> improve the documentation around this!
>
>
> Installing my first 4.2 system, and it's obvious the documentation writer
> hasn't sat down and down and done a clean install.  Lots of stuff missing.
>
>
> Same as above - would be great to get constructive feedback and if
> possible, fixes.
> Y.
>
>
> I've never looked at Proxmox, but it's taking the hobbyist and small
> environment virtualization world by storm, especially after Xen's latest
> licensing changes.  oVirt should have this.  But it's way too complicated
> and way too fragile and way under documented.
>
> ___
> 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
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] configurations on ovirt engine on centos 7

2017-12-03 Thread Fred Rolland
(Please always reply to the list)

If it is a FQDN issue, you can try this:
- create a new file: ovirt-engine/engine.conf.d/99-
alternate-engine-fqdns.conf
- add a line with the FQDN or IP you want to use(You can have multiple with
a space between them):
SSO_ALTERNATE_ENGINE_FQDNS="ov.example.com"
- restart the engine



On Sun, Dec 3, 2017 at 3:19 PM, Deepthi Gunasekara <
deepthigunasekara1...@gmail.com> wrote:

> Sir/madam,
>
> Yeah.i think i configured it correctly. I think the problem is on external
> fqdn resolving. How can we resolve it. I am using ubuntu os as my host os.
> And also how can we ener ACL for the engine.
>
> Thank you!
> Deepthi
>
> On 3 Dec 2017 18:15, "Fred Rolland" <froll...@redhat.com> wrote:
>
>> Hi Deepthi,
>>
>> We will need some more details on what your problem is.
>>
>> Did the setup process finished without errors?
>> What do you mean by: "i could not open the ovirt engine on firefox
>> browser on my host machine." ?
>> What do you get/see?
>> What is the host machine? The machine where the engine is installed?
>>
>> Thanks,
>> Freddy
>>
>>
>> On Thu, Nov 30, 2017 at 8:04 AM, Deepthi Gunasekara <
>> deepthigunasekara1...@gmail.com> wrote:
>>
>>> dear sir/madam,
>>>
>>> i am having problems configuring ovirt engine on centos 7, installed in
>>> a virtual box. I followed the instructions on the documentation
>>> <https://www.ovirt.org/documentation/install-guide/chap-Installing_oVirt/>
>>> here. But i could not open the ovirt engine on firefox browser on my host
>>> machine. i did it several times. can you please guid me out to configure
>>> the problem.
>>>
>>> Thank you.
>>> Deepthi
>>>
>>> ___
>>> 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] configurations on ovirt engine on centos 7

2017-12-03 Thread Fred Rolland
Hi Deepthi,

We will need some more details on what your problem is.

Did the setup process finished without errors?
What do you mean by: "i could not open the ovirt engine on firefox browser
on my host machine." ?
What do you get/see?
What is the host machine? The machine where the engine is installed?

Thanks,
Freddy


On Thu, Nov 30, 2017 at 8:04 AM, Deepthi Gunasekara <
deepthigunasekara1...@gmail.com> wrote:

> dear sir/madam,
>
> i am having problems configuring ovirt engine on centos 7, installed in a
> virtual box. I followed the instructions on the documentation
> 
> here. But i could not open the ovirt engine on firefox browser on my host
> machine. i did it several times. can you please guid me out to configure
> the problem.
>
> Thank you.
> Deepthi
>
> ___
> 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] how to clean stuck task

2017-11-13 Thread Fred Rolland
For cleaning these "Tasks" entries (which are actually Jobs in the DB), you
will need to use taskcleaner.sh.
The unlock_entity.sh is for removing locks on entities.

Before running the task cleaner, you need to be sure you actually don't
have any tasks running in the SPM.

Regarding the snapshot creation on 'apex", can you provide the logs around
the time of the operation?



On Mon, Nov 13, 2017 at 8:06 PM, Gianluca Cecchi 
wrote:

> On Mon, Nov 13, 2017 at 7:01 PM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>>
>>
>>
>> I'd prefer to avoid direct manage of the rdbms...
>>
>> As it happened on Friday, after running again the command
>>
>> PGPASSWORD=... /usr/share/ovirt-engine/setup/dbutils/unlock_entity.sh -t
>> all -u engine
>>
>> now the gui after some time shows no active task
>>
>> but the vm still shows as locked and in the event pane I only have the
>> message
>> Snapshot '13-11-2017-16-30-Danilo' creation for VM 'apex' was initiated
>> by user1@internal-authz.
>> but no message about its correct completion
>>
>> This is my disks' subtab situation for the vm, where it seems all ok:
>> https://drive.google.com/file/d/1tF3VdA8gzMVvtn2x4HTKOmltRmU
>> R7cTG/view?usp=sharing
>>
>> And this the snapshots' subtab where it seems all ok:
>> https://drive.google.com/file/d/1qbEhdS6eOZL-f8y5xCnuc_4_HsY
>> M4mAa/view?usp=sharing
>>
>> But the VM has the lock symbol in side of itself.
>> Any guidance appreciated, both to solve the problem and to understand if
>> the snapshot is consistent, as a user should to changes to the VM with a
>> chance to have to come back
>>
>> Gianluca
>>
>
> I have just verified that if I run a new task (in my case has been the
> removal of the snaptest VM), suddenly I see from 0 to 3 tasks, with the
> deletion task completing with success, while the 2 stale tasks appearing
> again in the task pane where they disappeared
> see here:
> https://drive.google.com/file/d/1xcbJsI02iSEAHYEiFYkRWvz9SW_
> ElsIY/view?usp=sharing
>
>
> ___
> 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] How to list our company as a Provider

2017-11-09 Thread Fred Rolland
You should send a Pull Request to the ovirt site [1] adding you company
details, and discuss there with the maintainers.

[1] https://github.com/oVirt/ovirt-site

On Wed, Nov 8, 2017 at 12:39 PM, Computer Port IT Solutions <
computerportitsoluti...@gmail.com> wrote:

> Hi,
>
> We would like to know how we can be listed as a oVirt provider for India
> and we would like to be listed in Professional Services:
> https://www.ovirt.org/community/user-stories/users-and-providers/
>
> Thanks and regards
>
> Computer Port IT Solutions
> India
>
> ___
> 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] Hosted Engine installation + GlusterFS cluster

2017-11-09 Thread Fred Rolland
Hi,

The steps for this kind of setup are described in [1].
However it seems you have already succeeded in installing, so maybe you
need some additional steps [2]
Did you add a storage domain that will act as Master Domain? It is needed,
then the initial Storage Domain should be imported automatically.


[1]
https://www.ovirt.org/blog/2017/04/up-and-running-with-ovirt-4.1-and-gluster-storage/
[2]
https://www.ovirt.org/documentation/gluster-hyperconverged/chap-Additional_Steps/

On Thu, Nov 9, 2017 at 10:50 AM, Artem Tambovskiy <
artem.tambovs...@gmail.com> wrote:

> Another yet attempt to get a help on hosted-engine deployment with
> glusterfs cluster.
> I already spend a day trying to get bring such a setup to work with no
> luck.
>
> The hosted engine being successfully deployed but I can't activate the
> host, the storage domain for the host is missing and I can't even add it.
> So either something went wrong during deployment or my glusterfs cluster
> doesn't configured properly.
>
> That are the prerequisites for this?
>
> - glusterfs cluster of 3 nodes with replica 3 volume
> - Any specific volume configs?
> - how many volumes should I prepare for hosted engine deployment?
>
> Any other thoughts?
>
> Regards,
> Artem
>
> ___
> 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] engine FQDN

2017-11-09 Thread Fred Rolland
Hi,
You can try this:
- create a new file: ovirt-engine/engine.conf.d/99-
alternate-engine-fqdns.conf
- add a line with the FQDN or IP you want to use(You can have multiple with
a space between them):
SSO_ALTERNATE_ENGINE_FQDNS="ov.example.com"

On Thu, Nov 9, 2017 at 3:26 AM, 董青龙  wrote:

> Hi,all
> I have an environment of ovirt 4.1.2.2, and the engine is hosted
> engine. I used a FQDN which could be only resolved locally when the 
> environment was
> deployed. A record of the engine FQDN was added in /etc/hosts of all hosts
> and engine.  Now I want to change engine FQDN to another one which can be
> resolved on internet. What should I do? I found that the engine could not
> be accessed by IP.
> Anyone can help? Thanks!
>
>
>
>
> ___
> 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] Unable to use Netgear RN3220 for NFS storage domain

2017-11-05 Thread Fred Rolland
What version of NFS do you have on the Netgear?
It could be a SELinux configuration.

On Sun, Nov 5, 2017 at 3:19 PM, Walt Holman <whol...@lawrenceburgtn.gov>
wrote:

> Currently running version 4.1.6.2-1.el7.centos
>
> The logfile is attached and the relevant entries are at the bottom of the
> log. It evidently doesn't get rotated, so it contains entries going back to
> when I first setup the box in 2/17.
>
> I've perused that page countless times now, but I still can't get it to
> work on this setup. In the sanlock log file, the attempts to add the domain
> end in "s2 add_lockspace fail result -19" I don't know much about sanlock,
> but I wish I knew what result -19 meant, perhaps it would clue me in.
> Thanks for your help.
>
> -Walt
>
> - Original Message -
> From: "Fred Rolland" <froll...@redhat.com>
> To: "Walt Holman" <whol...@lawrenceburgtn.gov>
> Cc: "users" <users@ovirt.org>
> Sent: Sunday, November 5, 2017 5:22:05 AM
> Subject: Re: [ovirt-users] Unable to use Netgear RN3220 for NFS storage
> domain
>
> Hi,
>
> Which version are you using ?
> Can you provide /var/log/sanlock.log ?
>
> Also check this page:
> [ https://www.ovirt.org/documentation/how-to/troubleshooting/
> troubleshooting-nfs-storage-issues | https://www.ovirt.org/
> documentation/how-to/troubleshooting/troubleshooting-nfs-storage-issues ]
>
> Thanks,
> Freddy
>
>
> On Fri, Nov 3, 2017 at 7:00 PM, Walt Holman < [ mailto:
> whol...@lawrenceburgtn.gov | whol...@lawrenceburgtn.gov ] > wrote:
>
>
> Hello all,
>
> I've got an oVirt setup that I'm trying to add an NFS storage domain from
> a Netgear ReadyNAS 3220 NAS server. I've setup the NFS exports as follows:
>
> "/data/Virtual_Machines" 127.0.0.1(insecure,insecure_
> locks,no_subtree_check,crossmnt,anonuid=36,anongid=36,all_squash,ro,sync)
> 10.50.31.83(insecure,insecure_locks,no_subtree_check,rw,
> root_squash,anonuid=36,anongid=36,crossmnt,sync)
>
> Where 10.50.31.83 is my oVirt box. I've made sure that
> /data/Virtual_Machines is chowned to 36:36 and each time I add it, it fails
> after performing the following steps: The oVirt box mounts the file share,
> creates all the files and directories, they are owned by 36:36 correctly,
> the new storage domain box closes and I am returned to the oVirt Management
> console where within a couple of seconds, I'm presented with a dialog box
> that says:
>
> Operation Canceled
> Error while executing action Attach Storage Domain: AcquireHostIDFailure
>
> I've looked through logs and found the there is a SanlockException(19,
> "Sanlock lockspace add failure', 'No such device')) that seems to be the
> culprit.
>
> Just to test, I've used the same exports file on my local machine (which
> has limited storage), and shared out a directory via NFS. I can
> successfully connect and use that storage within oVirt, but of course it
> does me no good. The RN3220 has approximately 10TB free on it at the
> moment, so it's not a space issue and as mentioned the directories and
> files all get created and are owned by vdsm:kvm It really feels like
> something's up with the ReadyNAS, but I'm not sure what? I've attached the
> vdsm.log file and have access to any other logs you may need.
>
> Any help would be greatly appreciated as I'm about to bring up another
> node and really need access to network storage. I'm currently using only
> local storage attached to the host.
>
> -Walt
> ___
> Users mailing list
> [ mailto:Users@ovirt.org | Users@ovirt.org ]
> [ http://lists.ovirt.org/mailman/listinfo/users | http://lists.ovirt.org/
> mailman/listinfo/users ]
>
>
>
>
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Unable to use Netgear RN3220 for NFS storage domain

2017-11-05 Thread Fred Rolland
Hi,

Which version are you using ?
Can you provide /var/log/sanlock.log ?

Also check this page:
https://www.ovirt.org/documentation/how-to/troubleshooting/troubleshooting-nfs-storage-issues

Thanks,
Freddy


On Fri, Nov 3, 2017 at 7:00 PM, Walt Holman 
wrote:

> Hello all,
>
> I've got an oVirt setup that I'm trying to add an NFS storage domain from
> a Netgear ReadyNAS 3220 NAS server. I've setup the NFS exports as follows:
>
> "/data/Virtual_Machines" 127.0.0.1(insecure,insecure_
> locks,no_subtree_check,crossmnt,anonuid=36,anongid=36,all_squash,ro,sync)
> 10.50.31.83(insecure,insecure_locks,no_subtree_check,rw,
> root_squash,anonuid=36,anongid=36,crossmnt,sync)
>
> Where 10.50.31.83 is my oVirt box. I've made sure that
> /data/Virtual_Machines is chowned to 36:36 and each time I add it, it fails
> after performing the following steps: The oVirt box mounts the file share,
> creates all the files and directories, they are owned by 36:36 correctly,
> the new storage domain box closes and I am returned to the oVirt Management
> console where within a couple of seconds, I'm presented with a dialog box
> that says:
>
> Operation Canceled
> Error while executing action Attach Storage Domain: AcquireHostIDFailure
>
> I've looked through logs and found the there is a SanlockException(19,
> "Sanlock lockspace add failure', 'No such device')) that seems to be the
> culprit.
>
> Just to test, I've used the same exports file on my local machine (which
> has limited storage), and shared out a directory via NFS. I can
> successfully connect and use that storage within oVirt, but of course it
> does me no good. The RN3220 has approximately 10TB free on it at the
> moment, so it's not a space issue and as mentioned the directories and
> files all get created and are owned by vdsm:kvm  It really feels like
> something's up with the ReadyNAS, but I'm not sure what? I've attached the
> vdsm.log file and have access to any other logs you may need.
>
> Any help would be greatly appreciated as I'm about to bring up another
> node and really need access to network storage. I'm currently using only
> local storage attached to the host.
>
> -Walt
> ___
> 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] Start ovirt-engine in another node.

2017-11-05 Thread Fred Rolland
If the disk is available, maybe you can try to create a new VM and use the
orginal disk.
How did you create the VM originally ?

On Thu, Nov 2, 2017 at 11:46 PM, Arthur Melo <art...@afabrica.net> wrote:

> I have an Equalogic via iSCSI. It's possible to access the images.
>
> Atenciosamente,
> Arthur Melo
> Linux User #302250
>
>
> 2017-11-02 19:10 GMT-02:00 Yaniv Kaul <yk...@redhat.com>:
>
>>
>>
>> On Nov 2, 2017 10:10 PM, "Arthur Melo" <art...@afabrica.net> wrote:
>>
>> The image is in storage. I don't have backup because it was recently
>> migrated. I have a task to make backup system on the next week.
>> I just need to start in another node.
>>
>>
>> We need a bit more details to help...
>>
>> Which storage is that? How do you access it? Can you access the image?
>> Y.
>>
>>
>> I have 5 servers with workload balance enabled and HA. The second node
>> suddenly restarted and I lost control of my cluster.
>>
>>
>> Atenciosamente,
>> Arthur Melo
>> Linux User #302250
>>
>>
>> 2017-11-02 17:48 GMT-02:00 Yaniv Kaul <yk...@redhat.com>:
>>
>>>
>>>
>>> On Thu, Nov 2, 2017 at 9:04 PM, Arthur Melo <art...@afabrica.net> wrote:
>>>
>>>> Hi Fred!
>>>>
>>>> Thanks for the answer. Isn't hosted-engine. I deployed a virtual
>>>> machine and installed ovirt-engine.
>>>>
>>>
>>> And where is its image? Did you have any backup to the VM disk image or
>>> the oVirt Engine DB and files?
>>> Y.
>>>
>>>
>>>>
>>>>
>>>> Atenciosamente,
>>>> Arthur Melo
>>>> Linux User #302250
>>>>
>>>>
>>>> 2017-11-02 16:20 GMT-02:00 Fred Rolland <froll...@redhat.com>:
>>>>
>>>>> Hi,
>>>>>
>>>>> Are you using hosted-engine?
>>>>> Take a look at:
>>>>> https://www.ovirt.org/documentation/self-hosted/chap-Troubleshooting/
>>>>> Regards,
>>>>> Fred
>>>>>
>>>>> On Thu, Nov 2, 2017 at 7:36 PM, Arthur Melo <art...@afabrica.net>
>>>>> wrote:
>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> My node has died and I need to start ovirt-engine VM in another node.
>>>>>> Can someone save my life?
>>>>>>
>>>>>>
>>>>>> Atenciosamente,
>>>>>> Arthur Melo
>>>>>> Linux User #302250
>>>>>>
>>>>>>
>>>>>> ___
>>>>>> 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
>>>>
>>>>
>>>
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt management has lost its SSL.

2017-11-05 Thread Fred Rolland
Hi,
Can you send the engine log around the time you tried to import the export
domain?
Thanks

On Fri, Nov 3, 2017 at 9:47 PM, ~Stack~  wrote:

> On 11/03/2017 01:17 PM, ~Stack~ wrote:
> > On 11/03/2017 12:48 PM, Alexander Wels wrote:
>
> >> But if all else fails you should be able to create a fresh engine, and
> after
> >> you have added a host, you should be able to import the existing storage
> >> domain (like you noted the VMs are still there).
> >>
> >>
> > Greetings,
> > Thanks, but I've tried that too. Even though it did delete the keystore,
> > I ended up with the exact same error. :-(
> >
> > I'm doing a fresh install right now. I've never done an import like this
> > before. I just connect the fresh install to one of my hosts and I can
> > import the others hosts/vms/configurations?
> >
> > Thanks!
> > ~Stack~
> >
> >
>
> Bender: Are we boned?
> Leela: Yeah, we're boned
>
>
> So I built a new management host from scratch. I added one of my hosts,
> and immediately crashed the vm's running on that hypervisor (they all
> just stopped responding). I don't know why they didn't fail over, but
> they didn't. Oh well. At least the other hypervisor is up!
>
> So I tried following this guide to import my storage domain from the
> section "Disaster Recovery flows" for "Import file Storage Domain".
>
> https://www.ovirt.org/develop/release-management/features/
> storage/importstoragedomain/
>
> Yeah. That didn't work. It says it can't find any other domains to
> import, but if I attempt to create a new one it says it can't because
> there are existing domains!
>
> Well, while I was poking at it the other VM's started acting up (crazy
> high latency and the ovirt logs were really pissed at me). So I shut off
> the ones that still responded, then shut down the other hypervisor. I
> backed up the VM's on my NFS share, and created a new directory for the
> data domain.
>
> Guess I'm rebuilding my environment from scratch. I just hope I can get
> some of the VM's to come back some how. :-/
>
> ~Stack~
>
>
>
> ___
> 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] Start ovirt-engine in another node.

2017-11-02 Thread Fred Rolland
Hi,

Are you using hosted-engine?
Take a look at:
https://www.ovirt.org/documentation/self-hosted/chap-Troubleshooting/
Regards,
Fred

On Thu, Nov 2, 2017 at 7:36 PM, Arthur Melo  wrote:

> Hello,
>
> My node has died and I need to start ovirt-engine VM in another node.
> Can someone save my life?
>
>
> Atenciosamente,
> Arthur Melo
> Linux User #302250
>
>
> ___
> 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] direct lun resizing

2017-10-19 Thread Fred Rolland
Hi,

Offline refresh of a direct lun's size is supported since oVirt 3.4 [1].
Online refresh, however, is not yet supported [2].
You can try the workaround posted on [2], comment 7.

[1] *Bug 1026868*  -
Direct LUN is not being updated after resizing
[2] *Bug 1155275*  - [RFE]
Online update Direct LUN size to the Guest after LUN resize

On Thu, Oct 19, 2017 at 1:30 PM, Jiří Sléžka  wrote:

> Hi all,
>
> one of our user uses direct lun inside one of his vm. Now he expanded
> this lun on the disk array side from 500GB to 600GB but this change was
> not reflected on oVirt nor vm side.
>
> How is direct lun resizing handled in oVirt?
>
> Cheers,
>
> Jiri
>
>
>
> ___
> 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] Killing Zombie or hungTasks

2017-10-16 Thread Fred Rolland
Hi,

You can use setup/dbutils/taskcleaner.sh [1]
Run with -h to see all the options.

Regards,
Fred


[1]
https://github.com/oVirt/ovirt-engine/blob/master/packaging/setup/dbutils/taskcleaner.sh

On Wed, Oct 4, 2017 at 7:15 AM, Anantha Raghava <
rag...@exzatechconsulting.com> wrote:

> Hi,
>
> We attempted to import a VM from export domain and that failed for some
> reason. However the import task or the activity never ended in spite of
> throwing an error. Even after 4 full days, on the VM an Hour glass was
> shown and it kept reporting, hung task.
>
> Finally we had to run engine-update, that removed Zombie tasks and VM
> started showing as DOWN and we could remove the VM.
>
> I believe, this is not the right process to remove the zombie tasks or
> hung tasks. Is there a better method without running "engine-update"?
> Thanks & Regards,
>
>
> Anantha Raghava
>
> Do not print this e-mail unless required. Save Paper & trees.
>
> ___
> 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] Metrics store doc page link broken?

2017-09-30 Thread Fred Rolland
The file has been renamed:
https://github.com/ViaQ/Main/blob/master/README-install.md

On Fri, Sep 29, 2017 at 7:56 PM, Gianluca Cecchi 
wrote:

> Hello,
> I was just giving an eye to what in subject here:
>
> https://www.ovirt.org/develop/release-management/features/
> metrics/metrics-store-installation/
>
> But it seems that the main link to
> "Metrics store setup on top of openshift"
> Is broken...
> Any other point to begin to see the expected workflow for it?
> Thanks
> Gianluca
>
>
> ___
> 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] API auto delete vms snapshot

2017-09-17 Thread Fred Rolland
Lionel hi,

You should wait until the operation is done. Take a look at this example
[1].

Regards,
Fred

[1]
https://github.com/oVirt/ovirt-engine-sdk/blob/e4ef67041a639cddbae82b172572ac5c45217341/sdk/examples/vm_backup.py#L163

On Fri, Sep 15, 2017 at 5:28 PM, Lionel Caignec  wrote:

> Hi,
>
> i'm playing with ovirt sdk, to automatically manage snapshots.
> My script is for now very basic
> step 1) list all vm of cluster
> step 2) for each vm create a snapshot if needed
> step 3) for each vm delete oldest snapshot
> No problem for step 1 and 2.
>
> But step 3 is harder.
> If i launch snap remove with command "snapshots_service.snapshot_service(
> snap.id).remove()", python tell me snapshot operation already in progress
> (creation of snapshot in step2).
>
> If i launch snap remove with parameter "async=true" the snapshot to delete
> is locked by ovirt, but never deleted.
>
> So how can i do? Also there is some way to monitor running task about
> snapshot (ovirt-shell ...)?
>
> --
> Lionel
> ___
> 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] Manual transfer of VMs from DC to DC

2017-09-17 Thread Fred Rolland
Hi,

You could import the storage domain from a DC to another DC with all the
VMs and disks.
See in [1], there is also a video explaining how to do it.

Regards,
Fred

[1]
https://www.ovirt.org/develop/release-management/features/storage/importstoragedomain/

On Fri, Sep 15, 2017 at 10:40 AM, Abi Askushi 
wrote:

> Hi all,
>
> Is there any way of transferring VMs manually from DC to DC, without the
> DCs having connectivity with each other?
>
> I was thinking to backup all the export domain directory, and then later
> rsync this directory VMs to a new NFS share, then import this NFS share as
> an export domain on the other DC.
>
> What do you think?
>
> 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] Panasas File System panfs POSIX compliant

2017-09-14 Thread Fred Rolland
Hi,

Can you provide the Vdsm log ?

Thanks,
Fred

On Thu, Sep 7, 2017 at 1:25 AM, Allen Dial  wrote:

> Hello Ovirt users!
>
> I am trying to add a POSIX compliant filesystem to Ovirt but keep getting
> "Error while executing action Add Storage Connection: Problem while trying
> to mount target."
>
> To mount via terminal after adding to fstab the command is  panfs://ipaddress/test> but using that in "Path" results in the above
> mentioned error.
>
> Does anyone here have knowledge of panfs or Panasas or how one might get
> this work?
>
> Thank you,
>
> Allen
>
>
> ___
> 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] Question: Where does Ovirt stores VM snapshots?

2017-09-14 Thread Fred Rolland
Hi,

Welcome !!

The VM disks are stored on Storage Server over the network (NFS,ISCSI,FC)
[1] , unless you use Hyperconverged setup [2]

The disks snapshots are on the same location. Ovirt makes the image read
only and add a COW layer above it.

Regards,

Fred

[1]
https://www.ovirt.org/documentation/install-guide/chap-Configuring_Storage/
[2]
https://www.ovirt.org/develop/release-management/features/gluster/glusterfs-hyperconvergence/

On Wed, Sep 13, 2017 at 12:33 AM, Shashwat shagun  wrote:

> Hi,
>
> I’m new to Ovirt, I just wanted to know where does Ovirt stores VM
> snapshots (On the hosts?) and
>
> It stores the VM virtual hard drives on hosts right? Because wouldn’t
> it’ll be slow if they stores it on a Network drive?
>
>
> P.S sorry for my bad English, English is not my first language
>
>
> Regards,
> Shashwat Shagun
> m...@shashwat.tech
>
>
> ___
> 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] Disk image upload via CLI?

2017-09-12 Thread Fred Rolland
Hi,

You can check this example:
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/upload_disk.py

Regards,
Fred

On Tue, Sep 12, 2017 at 11:49 AM, Matthias Leopold <
matthias.leop...@meduniwien.ac.at> wrote:

> Hi,
>
> is there a way to upload disk images (not OVF files, not ISO files) to
> oVirt storage domains via CLI? I need to upload a 800GB file and this is
> not really comfortable via browser. I looked at ovirt-shell and
> https://www.ovirt.org/develop/release-management/features/st
> orage/image-upload/, but i didn't find an option in either of them.
>
> thx
> matthias
>
> ___
> 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] production DC non responsive

2017-08-09 Thread Fred Rolland
Can you provide engine and VDSM logs ?

On Tue, Aug 8, 2017 at 8:17 AM, Juan Pablo 
wrote:

> Hi guys, good morning/night .
> first of all thanks to all the community and the whole team, you are doing
> a great effort .
>
> Today Im having an issue with ovirt 4.1.2 running as hosted engine over
> nfs. and data storage over iscsi.
> I found out of the problem when I tried to migrate one vm to another host
> and I got an error, so I powered off the vm's on that host and started them
> on the backup host with no problem, then I set the first host into
> mainteinance mode and after some minutes I restarted it(as usual). when it
> came back online, the whole dc turned RED as unavailable.
>
> can anyone please help me out?
>
> thanks, JP
>
> ___
> 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] Created cluster, deleted Data-Center, Recreated Data-Center, Attempted to re-create Cluster (Same Name As Old Cluster), Now Fails

2017-08-06 Thread Fred Rolland
Hi,

When you delete the Data Center, the Clusters are not deleted.
You can delete the Cluster from the UI. Select the "System" icon on the
left tree, and select the "Cluster" tab.
You cluster should be there, and you can select it and delete.

Regards,

Freddy

On Sun, Aug 6, 2017 at 7:46 AM, Schorschi  wrote:

> Created cluster object, deleted Data-Center object, Recreated Data-Center
> object, Attempted to re-create Cluster object (Same Name As Old Cluster),
> Now Fails.
>
> Error message...
> Error while executing action: Cannot create Cluster. Cluster name is
> already in use.
>
> How to I remove existing cluster entry in ovirt database?
>
> Thanks.
>
> ___
> 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] Failed to create template

2017-07-13 Thread Fred Rolland
Yes. But the image should be uncompressed before you upload it.

On Jul 13, 2017 6:34 PM, "aduckers" <alex.duck...@gmail.com> wrote:

> Ok.  I should be able to select QCOW2 for a SAN storage target?  If true,
> then I’ll need to figure out why that doesn’t work.
>
> On Jul 13, 2017, at 8:32 AM, Fred Rolland <froll...@redhat.com> wrote:
>
> When you select RAW, the Vdsm will allocated the whole size of the image
> (virtual size), this is why you will not encounter this issue in Block
> Storage.
>
> On Thu, Jul 13, 2017 at 6:17 PM, aduckers <alex.duck...@gmail.com> wrote:
>
>> Thanks Fred.  I haven’t run into the upload issue again, but if we do
>> I’ll try that.
>> Regarding the template creation issue - could that just be user error on
>> my part?  I’ve found that if I select RAW format for the disk, when target
>> is SAN, it works fine.  QCOW2 format works for a target of NFS.
>> Is that the way it’s supposed to behave?
>>
>>
>> On Jul 13, 2017, at 7:59 AM, Fred Rolland <froll...@redhat.com> wrote:
>>
>> It seems you hit [1]
>> If the image is compressed, the Vdsm will not compute the size as needed.
>> In file storage, it will work OK as the file system is sparse.
>>
>> As a workaround you can decompress before uploading:
>>
>> qemu-img convert -f qcow2 rhel-guest-image-7.3-35.x86_64.qcow2 -O qcow2 -o 
>> compat=1.1 uncompressed.qcow2
>>
>>
>> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1470435
>>
>> On Wed, Jul 5, 2017 at 10:44 AM, Fred Rolland <froll...@redhat.com>
>> wrote:
>>
>>> Can you please open bugs for the two issues for future tracking ?
>>> These needs further investigations.
>>>
>>> On Mon, Jul 3, 2017 at 2:17 AM, aduckers <alex.duck...@gmail.com> wrote:
>>>
>>>> Thanks for the assistance.  Versions are:
>>>>
>>>> vdsm.x86_64 4.19.15-1.el7.centos
>>>> ovirt-engine.noarch4.1.2.2-1.el7.centos
>>>>
>>>> Logs are attached.  The GUI shows a creation date of 2017-06-23
>>>> 11:30:13 for the disk image that is stuck finalizing, so that might be a
>>>> good place to start in the logs.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> > On Jul 2, 2017, at 3:52 AM, Fred Rolland <froll...@redhat.com> wrote:
>>>> >
>>>> > Hi,
>>>> >
>>>> > Thanks for the logs.
>>>> >
>>>> > What exact version are you using ? (VDSM,engine)
>>>> >
>>>> > Regarding the upload issue, can you please provide imageio-proxy and
>>>> imageio-daemon logs ?
>>>> > Issue in [1] looks with the same symptoms, but we need more info.
>>>> >
>>>> > Regarding the template issue, it looks like [2].
>>>> > There were some issues when calculating the estimated size target
>>>> volume, that should be already fixed.
>>>> > Please provide the exact versions, so I can check if it includes the
>>>> fixes.
>>>> >
>>>> > Thanks,
>>>> >
>>>> > Fred
>>>> >
>>>> > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1357269
>>>> > [2] https://bugzilla.redhat.com/show_bug.cgi?id=1448606
>>>> >
>>>> >
>>>> > On Fri, Jun 30, 2017 at 5:11 AM, aduckers <alex.duck...@gmail.com>
>>>> wrote:
>>>> >
>>>> >
>>>> > Attached.  I’ve also got an image upload to the ISO domain stuck in
>>>> “Finalizing”, and can’t cancel or clear it.  Not sure if related or not,
>>>> but it might show in the logs and if that can be cleared that’d be great
>>>> too.
>>>> >
>>>> > Thanks
>>>> >
>>>> >
>>>> >> On Jun 29, 2017, at 9:20 AM, Fred Rolland <froll...@redhat.com>
>>>> wrote:
>>>> >>
>>>> >> Can you please attach engine and Vdsm logs ?
>>>> >>
>>>> >> On Thu, Jun 29, 2017 at 6:21 PM, aduckers <alex.duck...@gmail.com>
>>>> wrote:
>>>> >> I’m running 4.1 with a hosted engine, using FC SAN storage.  I’ve
>>>> uploaded a qcow2 image, then created a VM and attached that image.
>>>> >> When trying to create a template from that VM, we get failures with:
>>>> >>
>>>> >> failed: low level image copy failed
>>>> >> VDSM command DeleteImageGroupVDS failed: Image does not exist in
>>>> domain
>>>> >> failed to create template
>>>> >>
>>>> >> What should I be looking at to resolve this?  Anyone recognize this
>>>> issue?
>>>> >>
>>>> >> Thanks
>>>> >>
>>>> >>
>>>> >> ___
>>>> >> 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] Failed to create template

2017-07-13 Thread Fred Rolland
When you select RAW, the Vdsm will allocated the whole size of the image
(virtual size), this is why you will not encounter this issue in Block
Storage.

On Thu, Jul 13, 2017 at 6:17 PM, aduckers <alex.duck...@gmail.com> wrote:

> Thanks Fred.  I haven’t run into the upload issue again, but if we do I’ll
> try that.
> Regarding the template creation issue - could that just be user error on
> my part?  I’ve found that if I select RAW format for the disk, when target
> is SAN, it works fine.  QCOW2 format works for a target of NFS.
> Is that the way it’s supposed to behave?
>
>
> On Jul 13, 2017, at 7:59 AM, Fred Rolland <froll...@redhat.com> wrote:
>
> It seems you hit [1]
> If the image is compressed, the Vdsm will not compute the size as needed.
> In file storage, it will work OK as the file system is sparse.
>
> As a workaround you can decompress before uploading:
>
> qemu-img convert -f qcow2 rhel-guest-image-7.3-35.x86_64.qcow2 -O qcow2 -o 
> compat=1.1 uncompressed.qcow2
>
>
> [1] https://bugzilla.redhat.com/show_bug.cgi?id=1470435
>
> On Wed, Jul 5, 2017 at 10:44 AM, Fred Rolland <froll...@redhat.com> wrote:
>
>> Can you please open bugs for the two issues for future tracking ?
>> These needs further investigations.
>>
>> On Mon, Jul 3, 2017 at 2:17 AM, aduckers <alex.duck...@gmail.com> wrote:
>>
>>> Thanks for the assistance.  Versions are:
>>>
>>> vdsm.x86_64 4.19.15-1.el7.centos
>>> ovirt-engine.noarch4.1.2.2-1.el7.centos
>>>
>>> Logs are attached.  The GUI shows a creation date of 2017-06-23 11:30:13
>>> for the disk image that is stuck finalizing, so that might be a good place
>>> to start in the logs.
>>>
>>>
>>>
>>>
>>>
>>> > On Jul 2, 2017, at 3:52 AM, Fred Rolland <froll...@redhat.com> wrote:
>>> >
>>> > Hi,
>>> >
>>> > Thanks for the logs.
>>> >
>>> > What exact version are you using ? (VDSM,engine)
>>> >
>>> > Regarding the upload issue, can you please provide imageio-proxy and
>>> imageio-daemon logs ?
>>> > Issue in [1] looks with the same symptoms, but we need more info.
>>> >
>>> > Regarding the template issue, it looks like [2].
>>> > There were some issues when calculating the estimated size target
>>> volume, that should be already fixed.
>>> > Please provide the exact versions, so I can check if it includes the
>>> fixes.
>>> >
>>> > Thanks,
>>> >
>>> > Fred
>>> >
>>> > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1357269
>>> > [2] https://bugzilla.redhat.com/show_bug.cgi?id=1448606
>>> >
>>> >
>>> > On Fri, Jun 30, 2017 at 5:11 AM, aduckers <alex.duck...@gmail.com>
>>> wrote:
>>> >
>>> >
>>> > Attached.  I’ve also got an image upload to the ISO domain stuck in
>>> “Finalizing”, and can’t cancel or clear it.  Not sure if related or not,
>>> but it might show in the logs and if that can be cleared that’d be great
>>> too.
>>> >
>>> > Thanks
>>> >
>>> >
>>> >> On Jun 29, 2017, at 9:20 AM, Fred Rolland <froll...@redhat.com>
>>> wrote:
>>> >>
>>> >> Can you please attach engine and Vdsm logs ?
>>> >>
>>> >> On Thu, Jun 29, 2017 at 6:21 PM, aduckers <alex.duck...@gmail.com>
>>> wrote:
>>> >> I’m running 4.1 with a hosted engine, using FC SAN storage.  I’ve
>>> uploaded a qcow2 image, then created a VM and attached that image.
>>> >> When trying to create a template from that VM, we get failures with:
>>> >>
>>> >> failed: low level image copy failed
>>> >> VDSM command DeleteImageGroupVDS failed: Image does not exist in
>>> domain
>>> >> failed to create template
>>> >>
>>> >> What should I be looking at to resolve this?  Anyone recognize this
>>> issue?
>>> >>
>>> >> Thanks
>>> >>
>>> >>
>>> >> ___
>>> >> 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] Failed to create template

2017-07-13 Thread Fred Rolland
It seems you hit [1]
If the image is compressed, the Vdsm will not compute the size as needed.
In file storage, it will work OK as the file system is sparse.

As a workaround you can decompress before uploading:

qemu-img convert -f qcow2 rhel-guest-image-7.3-35.x86_64.qcow2 -O
qcow2 -o compat=1.1 uncompressed.qcow2


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

On Wed, Jul 5, 2017 at 10:44 AM, Fred Rolland <froll...@redhat.com> wrote:

> Can you please open bugs for the two issues for future tracking ?
> These needs further investigations.
>
> On Mon, Jul 3, 2017 at 2:17 AM, aduckers <alex.duck...@gmail.com> wrote:
>
>> Thanks for the assistance.  Versions are:
>>
>> vdsm.x86_64 4.19.15-1.el7.centos
>> ovirt-engine.noarch4.1.2.2-1.el7.centos
>>
>> Logs are attached.  The GUI shows a creation date of 2017-06-23 11:30:13
>> for the disk image that is stuck finalizing, so that might be a good place
>> to start in the logs.
>>
>>
>>
>>
>>
>> > On Jul 2, 2017, at 3:52 AM, Fred Rolland <froll...@redhat.com> wrote:
>> >
>> > Hi,
>> >
>> > Thanks for the logs.
>> >
>> > What exact version are you using ? (VDSM,engine)
>> >
>> > Regarding the upload issue, can you please provide imageio-proxy and
>> imageio-daemon logs ?
>> > Issue in [1] looks with the same symptoms, but we need more info.
>> >
>> > Regarding the template issue, it looks like [2].
>> > There were some issues when calculating the estimated size target
>> volume, that should be already fixed.
>> > Please provide the exact versions, so I can check if it includes the
>> fixes.
>> >
>> > Thanks,
>> >
>> > Fred
>> >
>> > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1357269
>> > [2] https://bugzilla.redhat.com/show_bug.cgi?id=1448606
>> >
>> >
>> > On Fri, Jun 30, 2017 at 5:11 AM, aduckers <alex.duck...@gmail.com>
>> wrote:
>> >
>> >
>> > Attached.  I’ve also got an image upload to the ISO domain stuck in
>> “Finalizing”, and can’t cancel or clear it.  Not sure if related or not,
>> but it might show in the logs and if that can be cleared that’d be great
>> too.
>> >
>> > Thanks
>> >
>> >
>> >> On Jun 29, 2017, at 9:20 AM, Fred Rolland <froll...@redhat.com> wrote:
>> >>
>> >> Can you please attach engine and Vdsm logs ?
>> >>
>> >> On Thu, Jun 29, 2017 at 6:21 PM, aduckers <alex.duck...@gmail.com>
>> wrote:
>> >> I’m running 4.1 with a hosted engine, using FC SAN storage.  I’ve
>> uploaded a qcow2 image, then created a VM and attached that image.
>> >> When trying to create a template from that VM, we get failures with:
>> >>
>> >> failed: low level image copy failed
>> >> VDSM command DeleteImageGroupVDS failed: Image does not exist in domain
>> >> failed to create template
>> >>
>> >> What should I be looking at to resolve this?  Anyone recognize this
>> issue?
>> >>
>> >> Thanks
>> >>
>> >>
>> >> ___
>> >> 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] Manually moving disks from FC to iSCSI

2017-07-13 Thread Fred Rolland
The move command will first create the disk structure according to the
snapshots on the destination , then a 'qemui-mg convert' will be performed
for each snapshot.

On Wed, Jul 12, 2017 at 1:31 AM, Gianluca Cecchi 
wrote:

> On Tue, Jul 11, 2017 at 3:14 PM, Gianluca Cecchi <
> gianluca.cec...@gmail.com> wrote:
>
>>
>>
>> On Tue, Jul 11, 2017 at 2:59 PM, Gianluca Cecchi <
>> gianluca.cec...@gmail.com> wrote:
>>
>>> Hello,
>>> I have a source oVirt environment with storage domain on FC
>>> I have a destination oVirt environment with storage domain on iSCSI
>>> The two environments can communicate only via the network of their
>>> respective hypervisors.
>>> The source environment, in particular, is almost isolated and I cannot
>>> attach an export domain to it or something similar.
>>> So I'm going to plan a direct move through dd of the disks of some VMs
>>>
>>> The workflow would be
>>> On destination create a new VM with same config and same number of disks
>>> of the same size of corresponding source ones.
>>> Also I think same allocation policy (thin provision vs preallocated)
>>> Using lvs -o+lv_tags I can detect the names of my origin and destination
>>> LVs, corresponding to the disks
>>> When a VM is powered down, the LV that maps the disk will be not open,
>>> so I have to force its activation (both on source and on destination)
>>>
>>> lvchange --config 'global {use_lvmetad=0}' -ay vgname/lvname
>>>
>>> copy source disk with dd through network (I use gzip to limit network
>>> usage basically...)
>>> on src_host:
>>> dd if=/dev/src_vg/src_lv bs=1024k | gzip | ssh dest_host "gunzip | dd
>>> bs=1024k of=/dev/dest_vg/dest_lv"
>>>
>>> deactivate LVs on source and dest
>>>
>>> lvchange --config 'global {use_lvmetad=0}' -an vgname/lvname
>>>
>>> Try to power on the VM on destination
>>>
>>> Some questions:
>>> - about overall workflow
>>> - about dd flags, in particular if source disks are thin vs preallocated
>>>
>>> Thanks,
>>> Gianluca
>>>
>>>
>>
>> Some further comments:
>>
>> - probably better/safe to use SPM hosts for lvchange commands both on
>> source and target, as this imply metadata manipulation, correct?
>> - when disks are preallocated, no problems, but when they are thin, I can
>> be in this situation
>>
>> source disk defined as 90Gb disk and during time it has expanded up to
>> 50Gb
>> dest disk at the beginning just after creation will normally be of few GB
>> (eg 4Gb), so the dd command will fail when fulll...
>> Does this mean that it will be better to create dest disk as preallocated
>> anyway or is it safe to run
>> lvextend -L+50G dest_vg/dest_lv
>> from command line?
>> Will oVirt recognize its actual size or what?
>>
>>
>>
> So I've done, both for thin provisioned (without having done snapshot on
> them, see below) and preallocated disks, and it seems to work, at least
> booting an OS boot disk copied over this way.
>
> I have one further doubt.
>
> For a VM I have a disk defined as thin provisioned and 90Gb in size.
> Some weeks ago I created a snapshot for it.
> Now, before copying over the LV, I have delete this snapshot.
> But I see that at the end of the process, the size of the LV backing the
> VM disk is now actually 92Gb, so I presume that my dd over network will
> fail
> What could I do to cover this scenario?
>
> What would be the command at os level in case I choose "move disk" in web
> admin gui to move a disk from a SD to another one?
>
> Thanks,
> Gianluca
>
> ___
> 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's VM backup

2017-07-09 Thread Fred Rolland
Thanks for sharing, looks great !

One remark, you should choose a license for your code and add it to the
github repo. [1]

[1] https://github.com/vacosta94/VirtBKP



On Sat, Jul 8, 2017 at 12:40 AM, Victor José Acosta Domínguez <
vic.a...@gmail.com> wrote:

> Hello everyone, i created a python tool to backup and restore oVirt's VMs.
>
> Also i created a little "how to" on my blog:
> http://blog.infratic.com/2017/07/create-ovirtrhevs-vm-backup/
>
> I hope it help someone else
>
> Regards
>
> Victor Acosta
>
>
>
> ___
> 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] Failed to create template

2017-07-05 Thread Fred Rolland
Can you please open bugs for the two issues for future tracking ?
These needs further investigations.

On Mon, Jul 3, 2017 at 2:17 AM, aduckers <alex.duck...@gmail.com> wrote:

> Thanks for the assistance.  Versions are:
>
> vdsm.x86_64 4.19.15-1.el7.centos
> ovirt-engine.noarch4.1.2.2-1.el7.centos
>
> Logs are attached.  The GUI shows a creation date of 2017-06-23 11:30:13
> for the disk image that is stuck finalizing, so that might be a good place
> to start in the logs.
>
>
>
>
>
> > On Jul 2, 2017, at 3:52 AM, Fred Rolland <froll...@redhat.com> wrote:
> >
> > Hi,
> >
> > Thanks for the logs.
> >
> > What exact version are you using ? (VDSM,engine)
> >
> > Regarding the upload issue, can you please provide imageio-proxy and
> imageio-daemon logs ?
> > Issue in [1] looks with the same symptoms, but we need more info.
> >
> > Regarding the template issue, it looks like [2].
> > There were some issues when calculating the estimated size target
> volume, that should be already fixed.
> > Please provide the exact versions, so I can check if it includes the
> fixes.
> >
> > Thanks,
> >
> > Fred
> >
> > [1] https://bugzilla.redhat.com/show_bug.cgi?id=1357269
> > [2] https://bugzilla.redhat.com/show_bug.cgi?id=1448606
> >
> >
> > On Fri, Jun 30, 2017 at 5:11 AM, aduckers <alex.duck...@gmail.com>
> wrote:
> >
> >
> > Attached.  I’ve also got an image upload to the ISO domain stuck in
> “Finalizing”, and can’t cancel or clear it.  Not sure if related or not,
> but it might show in the logs and if that can be cleared that’d be great
> too.
> >
> > Thanks
> >
> >
> >> On Jun 29, 2017, at 9:20 AM, Fred Rolland <froll...@redhat.com> wrote:
> >>
> >> Can you please attach engine and Vdsm logs ?
> >>
> >> On Thu, Jun 29, 2017 at 6:21 PM, aduckers <alex.duck...@gmail.com>
> wrote:
> >> I’m running 4.1 with a hosted engine, using FC SAN storage.  I’ve
> uploaded a qcow2 image, then created a VM and attached that image.
> >> When trying to create a template from that VM, we get failures with:
> >>
> >> failed: low level image copy failed
> >> VDSM command DeleteImageGroupVDS failed: Image does not exist in domain
> >> failed to create template
> >>
> >> What should I be looking at to resolve this?  Anyone recognize this
> issue?
> >>
> >> Thanks
> >>
> >>
> >> ___
> >> 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] Cloning VM on NFS Leads to Locked Disks

2017-07-02 Thread Fred Rolland
Seems you hit [1].
Can you tell me what is the exact version of the engine ?

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

On Thu, May 11, 2017 at 10:29 PM, Charles Tassell <char...@islandadmin.ca>
wrote:

> Sure, it's pretty big so I've put it online for download at
> http://krissy.islandadmin.ca/public/engine.log.txt
>
>
> On 2017-05-11 04:08 PM, Fred Rolland wrote:
>
> The locking is on the engine side and restarting the vdsm will not affect
> it .
> Can you send the whole engine log ?
> Which exact version are you using ?
>
>
> On Thu, May 11, 2017 at 9:30 PM, Charles Tassell <char...@islandadmin.ca>
> wrote:
>
>> Just as an update, I created a new VM and had the same issue: the disk
>> remains locked.  So I then added a new data store (this one iSCSI not NFS)
>> and create a new VM on that.  Again, the disk remains locked.  So the
>> problem seems to be that any action that sets to modify a disk image on my
>> cluster locks the disk and keeps it locked permanently.
>>
>> I tried restarting the vdsm daemon, but that didn't make a difference.
>> I'm seeing this in my sanlock.log file though, which worries me:
>>
>>
>> 017-05-07 07:51:41-0300 1738538 [13575]: s2 renewal error -202
>> delta_length 10 last_success 1738508
>> 2017-05-07 07:51:41-0300 1738538 [11513]: s1 renewal error -202
>> delta_length 10 last_success 1738508
>>
>> Here's the last 20 lines:
>> 2017-05-07 07:51:41-0300 1738538 [13580]: s3 renewal error -202
>> delta_length 10 last_success 1738508
>> 2017-05-07 07:51:41-0300 1738538 [13575]: 20423d5e aio timeout RD
>> 0x7fe1440008c0:0x7fe1440008d0:0x7fe160255000 ioto 10 to_count 67
>> 2017-05-07 07:51:41-0300 1738538 [13575]: s2 delta_renew read timeout 10
>> sec offset 0 /rhev/data-center/mnt/192.168.130.217:_media_ovirt/20423d5e-
>> 188c-4e10-9893-588ceb81b354/dom_md/ids
>> 2017-05-07 07:51:41-0300 1738538 [13575]: s2 renewal error -202
>> delta_length 10 last_success 1738508
>> 2017-05-07 07:51:41-0300 1738538 [11513]: hosted-e aio timeout RD
>> 0x7fe1480008c0:0x7fe1480008d0:0x7fe14e6fc000 ioto 10 to_count 65
>> 2017-05-07 07:51:41-0300 1738538 [11513]: s1 delta_renew read timeout 10
>> sec offset 0 /var/run/vdsm/storage/5dccd07d-a923-4d4b-9cb1-3b51ebfdca4d/
>> 5a9c284f-0faa-4a25-94ce-c9efdae07484/ab2443f1-95ed-475d-886c-c1653257cf04
>> 2017-05-07 07:51:41-0300 1738538 [11513]: s1 renewal error -202
>> delta_length 10 last_success 1738508
>> 2017-05-07 07:51:47-0300 1738544 [13575]: 20423d5e aio collect RD
>> 0x7fe1440008c0:0x7fe1440008d0:0x7fe160255000 result 1048576:0 match reap
>> 2017-05-07 07:51:47-0300 1738544 [13580]: 5dccd07d aio collect RD
>> 0x7fe13c0008c0:0x7fe13c0008d0:0x7fe14e5fa000 result 1048576:0 match reap
>> 2017-05-07 07:51:47-0300 1738544 [11513]: hosted-e aio collect RD
>> 0x7fe1480008c0:0x7fe1480008d0:0x7fe14e6fc000 result 1048576:0 match reap
>> 2017-05-07 07:53:57-0300 1738674 [13590]: s2:r15 resource
>> 20423d5e-188c-4e10-9893-588ceb81b354:SDM:/rhev/data-center/
>> mnt/192.168.130.217:_media_ovirt/20423d5e-188c-4e10-9893-
>> 588ceb81b354/dom_md/leases:1048576 for 7,21,78395
>> 2017-05-07 07:59:49-0300 1739027 [13575]: s2 delta_renew long write time
>> 10 sec
>> 2017-05-09 08:38:34-0300 1914151 [13590]: s2:r16 resource
>> 20423d5e-188c-4e10-9893-588ceb81b354:SDM:/rhev/data-center/
>> mnt/192.168.130.217:_media_ovirt/20423d5e-188c-4e10-9893-
>> 588ceb81b354/dom_md/leases:1048576 for 7,21,78395
>> 2017-05-11 15:07:45-0300 2110302 [13590]: s2:r17 resource
>> 20423d5e-188c-4e10-9893-588ceb81b354:SDM:/rhev/data-center/
>> mnt/192.168.130.217:_media_ovirt/20423d5e-188c-4e10-9893-
>> 588ceb81b354/dom_md/leases:1048576 for 7,21,112346
>> 2017-05-11 15:17:24-0300 2110881 [13590]: s4 lockspace
>> b010093e-1924-46e1-bd57-2cf2b2445087:1:/dev/b010093e-1924-
>> 46e1-bd57-2cf2b2445087/ids:0
>> 2017-05-11 15:17:45-0300 2110902 [1395]: s4 host 1 1 2110881
>> 44ae07eb-3371-4750-8728-ab3b049dbae2.ovirt730-0
>> 2017-05-11 15:17:45-0300 2110902 [1400]: s4:r18 resource
>> b010093e-1924-46e1-bd57-2cf2b2445087:SDM:/dev/b010093e-1924-
>> 46e1-bd57-2cf2b2445087/leases:1048576 for 7,21,112346
>> 2017-05-11 15:17:52-0300 2110909 [1399]: s5 lockspace
>> b010093e-1924-46e1-bd57-2cf2b2445087:1:/dev/b010093e-1924-
>> 46e1-bd57-2cf2b2445087/ids:0
>> 2017-05-11 15:18:13-0300 2110930 [1395]: s5 host 1 2 2110909
>> 44ae07eb-3371-4750-8728-ab3b049dbae2.ovirt730-0
>> 2017-05-11 15:18:13-0300 2110930 [1395]: s5 host 2 1 2110065
>> 4d31313f-b2dd-4368-bf31-d39835e10afb.ovirt730-0
>>
>>
>> On 2017-05-11 10:09 AM, Cha

Re: [ovirt-users] Storage, extend or new lun ?

2017-07-02 Thread Fred Rolland
Hi,

You can manually do the resize (Steps here are for FC) :
- Move the Storage Domain to maintenance
- First locate the LUN ID you want to refresh with :multipath -ll
On each hosts:
 - Run : rescan-scsi-bus.sh
 - Run: multipathd resize map 3600a0b800075de8f0e3a52ddf25f   (replace
with your LUN_ID)
 - Check that the size was updated in multipat -ll
On the SPM:
 - Run: pvresize  /dev/mapper/3600a0b800075de8f0e3a52ddf25f
 - Check with vgs

Move the domain to active again.
I am not sure that the engine will see the new size immediately. An engine
restart might be needed.

Regards,

Fred

On Wed, Jun 28, 2017 at 9:18 AM, Enrico Becchetti Gmail <
enrico.becche...@gmail.com> wrote:

>  Hi All,
> There are other ways to avoid using two lun ? If necessary I can also
> shutdown the entire cluster.
> thanks a lot !
> Bye
> Enrico
>
>
>
> Il 26/06/2017 12:32, Fred Rolland ha scritto:
>
> Hi,
>
> The support for refreshing the LUN size in an existing storage domain has
> been introduced in 3.6, so it is not relevant for you.
>
> You can add an additional LUN to an existing storage domain.
>
> Regards,
>
> Fred
>
> [1] https://www.ovirt.org/develop/release-management/features/
> storage/lun-resize/
>
> On Mon, Jun 26, 2017 at 9:35 AM, Enrico Becchetti Gmail <
> enrico.becche...@gmail.com> wrote:
>
>> Dear All,
>> I've oVirt 3.5.3-1-1.el6 with two kind of storage , NFS and Fibre
>> Channel.  Each Hypervisor
>> has HBA controller and Data CLutser has four Storage named: DATA_FC,
>> DATA_NFS, EXPORT
>> and ISO-DOMAIN.
>>
>> Anybody know how can I extend a DATA_FC ? Which is the best practies ?
>> Extend LUN from HP MSA controller or adding a new lun ?
>> if I extend lun inside HP MSA oVirt see the new size ?
>> Enrico
>> Thanks a lot.
>> Best Regards
>>
>> ___
>> 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] Cannot find master domain

2017-07-02 Thread Fred Rolland
Hi,

Can you provide the VDSM logs ?

Thanks,
Fred

On Sat, Jul 1, 2017 at 11:21 AM, Iman Darabi  wrote:

> hi.
> i moved my host to maintenance mode and upgrade it. then restarted server.
> after restarting, i activated server but the data domain is inactive and i
> get the following error:
>  "Cannot find master domain: 
> u'spUUID=9a1584cf-81bb-4ce8-975f-659e643a14b5,
> msdUUID=193072f2-9c4a-405c-86a8-c4b036413171'", 'code': 304
>
> The output of "multipath -v2" is as follows:
>
> Jul 01 12:38:34 | sdb: emc prio: path not correctly configured for failover
> Jul 01 12:38:34 | sdc: emc prio: path not correctly configured for failover
> Jul 01 12:38:34 | 3600508b1001cbeb7dc20cfc250a2e506: ignoring map
> Jul 01 12:38:34 | sdb: emc prio: path not correctly configured for failover
> Jul 01 12:38:34 | sdc: emc prio: path not correctly configured for failover
> Jul 01 12:38:34 | DM message failed [fail_if_no_path]
> reject: 3600601604d003a00036e268de611 undef DGC ,VNX5400WDVR
> size=2.0T features='0' hwhandler='1 emc' wp=undef
> |-+- policy='service-time 0' prio=0 status=undef
> | |- 12:0:0:16384 sdb 8:16 undef faulty running
> | `- 12:0:1:16384 sdc 8:32 undef faulty running
> |-+- policy='service-time 0' prio=50 status=undef
> | `- 11:0:1:0 sde 8:64 undef ready  running
> `-+- policy='service-time 0' prio=10 status=undef
>   `- 11:0:0:0 sdd 8:48 undef ready  running
>
> thanks.
>
> --
> R expert at Ferdowsi University of Mashhadhttps://ir.linkedin.com/in/ima
> ndarabi
> 
>
> ___
> 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] Failed to create template

2017-07-02 Thread Fred Rolland
Hi,

Thanks for the logs.

What exact version are you using ? (VDSM,engine)

Regarding the upload issue, can you please provide imageio-proxy and
imageio-daemon logs ?
Issue in [1] looks with the same symptoms, but we need more info.

Regarding the template issue, it looks like [2].
There were some issues when calculating the estimated size target volume,
that should be already fixed.
Please provide the exact versions, so I can check if it includes the fixes.

Thanks,

Fred

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1357269
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1448606


On Fri, Jun 30, 2017 at 5:11 AM, aduckers <alex.duck...@gmail.com> wrote:

>
>
> Attached.  I’ve also got an image upload to the ISO domain stuck in
> “Finalizing”, and can’t cancel or clear it.  Not sure if related or not,
> but it might show in the logs and if that can be cleared that’d be great
> too.
>
> Thanks
>
>
>
> On Jun 29, 2017, at 9:20 AM, Fred Rolland <froll...@redhat.com> wrote:
>
> Can you please attach engine and Vdsm logs ?
>
> On Thu, Jun 29, 2017 at 6:21 PM, aduckers <alex.duck...@gmail.com> wrote:
>
>> I’m running 4.1 with a hosted engine, using FC SAN storage.  I’ve
>> uploaded a qcow2 image, then created a VM and attached that image.
>> When trying to create a template from that VM, we get failures with:
>>
>> failed: low level image copy failed
>> VDSM command DeleteImageGroupVDS failed: Image does not exist in domain
>> failed to create template
>>
>> What should I be looking at to resolve this?  Anyone recognize this issue?
>>
>> Thanks
>>
>>
>> ___
>> 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] Failed to create template

2017-06-29 Thread Fred Rolland
Can you please attach engine and Vdsm logs ?

On Thu, Jun 29, 2017 at 6:21 PM, aduckers  wrote:

> I’m running 4.1 with a hosted engine, using FC SAN storage.  I’ve uploaded
> a qcow2 image, then created a VM and attached that image.
> When trying to create a template from that VM, we get failures with:
>
> failed: low level image copy failed
> VDSM command DeleteImageGroupVDS failed: Image does not exist in domain
> failed to create template
>
> What should I be looking at to resolve this?  Anyone recognize this issue?
>
> Thanks
>
>
> ___
> 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] Moving thin provisioned disks question

2017-06-29 Thread Fred Rolland
It implies only debu for qemu-img operations.

To make the log configuration persistent, you will need to edit the file
/etc/vdsm/logger.conf :

1 . Insert qemu at the end of the list in the loggers entry
[loggers]
keys=root,vds,storage,virt,ovirt_hosted_engine_ha,ovirt_hosted_engine_ha_config,IOProcess,devel,qemu

2. Add this entry:

[logger_qemu]
level=DEBUG
handlers=logfile
qualname=QemuImg
propagate=0

3. Restart Vdsm

Regarding the progress bar, it was introduced in 4.1.
Can you open a bug and provide logs so that we can investigate why it does
not work for you.

On Wed, Jun 28, 2017 at 5:23 PM, Gianluca Cecchi <gianluca.cec...@gmail.com>
wrote:

> On Wed, Jun 28, 2017 at 1:14 PM, Fred Rolland <froll...@redhat.com> wrote:
>
>>
>> Hi,
>>
>> Yes, the /etc/vdsm/logger.conf contains log level settings for most of
>> the operations, but not all.
>>
>> You can use vdsm-client to enable logging :
>>
>> vdsm-client  Host setLogLevel level=DEBUG name=QemuImg
>>
>>
>>
> Thanks.
> The vdsm-client commnad was not installed by default during my host setup
> (plain CentOS 7.3 server); not in default packages installed when deploying
> host from web ui.
> So I manually installed it (at the version matching the current vdsm one):
> yum install vdsm-client-4.19.10.1-1.el7.centos.x86_64
>
> [root@ov300 vdsm]# vdsm-client Host setLogLevel level=DEBUG name=QemuImg
> true
> [root@ov300 vdsm]#
>
> And then I see in vdsm.log
>
> 2017-06-28 16:20:08,396+0200 DEBUG (tasks/5) [QemuImg] qemu-img operation
> progress: 3.0% (qemuimg:330)
>
> How to have it persistent across reboots? Is it safe and should imply only
> debug log for qemu-img commands?
>
>
>
>> Regarding the UI, see attached a screenshot. Under the "Locked" status
>> there is a progress bar.
>>
>
> It is not my case.
> See this screenshot while qemu-imh convert is already in place, moving a
> 900Gb disk from iSCSI SD to iSCSI SD:
> https://drive.google.com/file/d/0BwoPbcrMv8mvcmpOVWZFM09RM00/
> view?usp=sharing
>
> My engine is 4.1.1.8-1.el7.centos on CentOS 7.3 and my host has
> qemu-kvm-ev-2.6.0-28.el7_3.6.1.x86_64 and vdsm-4.19.10.1-1.el7.centos.
> x86_64
> In which version was it introduced?
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Moving thin provisioned disks question

2017-06-28 Thread Fred Rolland
Hi,

The qemu operation progress is parsed [1] and is printed on debug level in
Vdsm log [2].
In the UI, a progress indication of the operation is available on the disks
status for the "Move Disk" operation.
Currently only for this operation.

Regards,

Fred


[1]
https://github.com/oVirt/vdsm/blob/917905d85abb1a24d8beea09f012b81ed594b349/lib/vdsm/qemuimg.py#L280
[2]
https://github.com/oVirt/vdsm/blob/917905d85abb1a24d8beea09f012b81ed594b349/lib/vdsm/qemuimg.py#L332

On Tue, Jun 27, 2017 at 6:50 PM, Gianluca Cecchi 
wrote:

> On Tue, Jun 27, 2017 at 3:09 PM, InterNetX - Juergen Gotteswinter <
> j...@internetx.com> wrote:
>
>>
>> > >
>> > > Suppose I have one 500Gb thin provisioned disk
>> > > Why can I indirectly see that the actual size is 300Gb only in
>> Snapshots
>> > > tab --> Disks of its VM ?
>> >
>> > if you are using live storage migration, ovirt creates a qcow/lvm
>> > snapshot of the vm block device. but for whatever reason, it does
>> NOT
>> > remove the snapshot after the migration has finished. you have to
>> remove
>> > it yourself, otherwise disk usage will grow more and more.
>> >
>> >
>> > I believe you are referring to the "Auto-generated" snapshot created
>> > during live storage migration. This behavior is reported
>> > in https://bugzilla.redhat.com/1317434 and fixed since 4.0.0.
>>
>> yep, thats what i meant. i just wasnt aware of the fact that this isnt
>> the case anymore for 4.x and above. sorry for confusion
>>
>>
> I confirm that the snapshot of the VM, named "Auto-generated for Live
> Storage Migration" has been removed after the disk moving completion.
> Also, for a preallocated disk the "qemu-img convert" has format options
> raw/raw:
>
> [root@ov300 ~]# ps -ef|grep qemu-img
> vdsm 18343  3585  1 12:07 ?00:00:04 /usr/bin/qemu-img convert
> -p -t none -T none -f raw /rhev/data-center/mnt/blockSD/
> 5ed04196-87f1-480e-9fee-9dd450a3b53b/images/303287ad-
> b7ee-40b4-b303-108a5b07c54d/fd408b9c-fdd5-4f72-a73c-332f47868b3c -O raw
> /rhev/data-center/mnt/blockSD/fa33df49-b09d-4f86-9719-
> ede649542c21/images/303287ad-b7ee-40b4-b303-108a5b07c54d/
> fd408b9c-fdd5-4f72-a73c-332f47868b3c
>
>
> for a thin provisioned disk instead it is of the form qcow2/qcow2
> [root@ov300 ~]# ps -ef|grep qemu-img
> vdsm 28545  3585  3 12:49 ?00:00:01 /usr/bin/qemu-img convert
> -p -t none -T none -f qcow2 /rhev/data-center/mnt/blockSD/
> 5ed04196-87f1-480e-9fee-9dd450a3b53b/images/9302dca6-
> 285e-49f7-a64c-68c5c95bdf91/0f3f927d-bb42-479f-ba86-cbd7d4c0fb51 -O qcow2
> -o compat=1.1 /rhev/data-center/mnt/blockSD/fa33df49-b09d-4f86-9719-
> ede649542c21/images/9302dca6-285e-49f7-a64c-68c5c95bdf91/
> 0f3f927d-bb42-479f-ba86-cbd7d4c0fb51
>
>
> BTW: the "-p" option should give
>
>-p  display progress bar (compare, convert and rebase commands
> only).  If the -p option is not used for a
>command that supports it, the progress is reported when the
> process receives a "SIGUSR1" signal.
>
> Is it of any meaning? I don't see any progress bar/information inside the
> gui? Is it perhaps in any other file on filesystem?
>
> Thanks,
> Gianluca
>
> ___
> 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] Storage, extend or new lun ?

2017-06-26 Thread Fred Rolland
Hi,

The support for refreshing the LUN size in an existing storage domain has
been introduced in 3.6, so it is not relevant for you.

You can add an additional LUN to an existing storage domain.

Regards,

Fred

[1]
https://www.ovirt.org/develop/release-management/features/storage/lun-resize/

On Mon, Jun 26, 2017 at 9:35 AM, Enrico Becchetti Gmail <
enrico.becche...@gmail.com> wrote:

> Dear All,
> I've oVirt 3.5.3-1-1.el6 with two kind of storage , NFS and Fibre
> Channel.  Each Hypervisor
> has HBA controller and Data CLutser has four Storage named: DATA_FC,
> DATA_NFS, EXPORT
> and ISO-DOMAIN.
>
> Anybody know how can I extend a DATA_FC ? Which is the best practies ?
> Extend LUN from HP MSA controller or adding a new lun ?
> if I extend lun inside HP MSA oVirt see the new size ?
> Enrico
> Thanks a lot.
> Best Regards
>
> ___
> 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] when creating VMs, I don't want hosted_storage to be an option

2017-06-22 Thread Fred Rolland
As a workaround, I think that the list of storage domains in the new disk
window is sorted alphabetically.
You can try to edit the name of the storage domain to be on the bottom of
the list and not first.

On Thu, Jun 22, 2017 at 11:42 AM, Chris Boot  wrote:

> On 19/06/17 15:30, Mike Farnam wrote:
> > Hi All - Is that a way to mark hosted_storage somehow so that it’s not
> available to add new VMs to?  Right now it’s the default storage domain
> when adding a VM.  At the least, I’d like to make another storage domain
> the default.
> > Is there a way to do this?
>
> This would be a nice thing to have.
>
> AIUI, however, the oVirt folks are working towards not needing a
> dedicated storage domain for the hosted engine, which may alleviate this
> particular gripe. That being said, it would otherwise be nice to mark a
> storage domain as not usable for new volumes (a bit like the allocatable
> option for LVM physical volumes).
>
> Cheers,
> Chris
>
> --
> Chris Boot
> bo...@bootc.net
> ___
> 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] Error in attaching export storage domain

2017-05-21 Thread Fred Rolland
Can you share the Vdsm log from the host that fails to mount ?

On Sun, May 21, 2017 at 10:00 PM, shubham dubey <sdubey...@gmail.com> wrote:

> Thanks for reply, I am not sure about how to mount the storage domain
> manually.
> But I have run the nfs-check and it gives no error.
>
> One more thing I want to add is there are another sd also on the same host
> which are connected to another dc ,so is this can be a problem in anyway?
>
>
>
>
> On Sun, May 21, 2017 at 2:42 PM, Fred Rolland <froll...@redhat.com> wrote:
>
>> Hi,
>>
>> Can you check if you can mount manually from the DC1 host ?
>> You can use vdsm/contrib/nfs-check.py .
>> See also [1]
>>
>> Regards,
>>
>> Fred
>>
>> [1] http://www.ovirt.org/documentation/how-to/troubleshooting/tr
>> oubleshooting-nfs-storage-issues/
>>
>>
>> On Sat, May 20, 2017 at 3:16 PM, shubham dubey <sdubey...@gmail.com>
>> wrote:
>>
>>> I have a export storage domain myexport in dc0 with one vm moved to
>>> it.Now when I am trying to
>>> detach it and attach it to another datacenter dc1, I am getting
>>> following error:
>>>
>>>
>>> 017-05-20 16:52:31,694+05 ERROR [org.ovirt.engine.core.dal.dbb
>>> roker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-25)
>>> [72a6de4f] EVENT_ID: VDS_STORAGES_CONNECTION_FAILED(188), Correlation
>>> ID: null, Call Stack: null, Custom Event ID: -1, Message: Failed to connect
>>> Host node2dc1 to the Storage Domains myexport.
>>> 2017-05-20 16:52:31,694+05 INFO  [org.ovirt.engine.core.vdsbrok
>>> er.vdsbroker.ConnectStorageServerVDSCommand]
>>> (org.ovirt.thread.pool-7-thread-25) [72a6de4f] FINISH,
>>> ConnectStorageServerVDSCommand, return: 
>>> {b7acd809-af92-4c6d-84c5-327550208bf1=477},
>>> log id: 4f995793
>>> 2017-05-20 16:52:31,699+05 ERROR [org.ovirt.engine.core.dal.dbb
>>> roker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-25)
>>> [72a6de4f] EVENT_ID: STORAGE_DOMAIN_ERROR(996), Correlation ID: null, Call
>>> Stack: null, Custom Event ID: -1, Message: The error message for connection
>>> 192.168.122.145:/mnt/exportsd returned by VDSM was: Problem while
>>> trying to mount target
>>> 2017-05-20 16:52:31,701+05 ERROR [org.ovirt.engine.core.bll.sto
>>> rage.connection.BaseFsStorageHelper] (org.ovirt.thread.pool-7-thread-25)
>>> [72a6de4f] The connection with details '192.168.122.145:/mnt/exportsd'
>>> failed because of error code '477' and error message is: problem while
>>> trying to mount target
>>> 2017-05-20 16:52:31,706+05 ERROR [org.ovirt.engine.core.bll.sto
>>> rage.connection.ConnectStorageToVdsCommand]
>>> (org.ovirt.thread.pool-7-thread-25) [72a6de4f] Transaction rolled-back
>>> for command 'org.ovirt.engine.core.bll.storage.connection.ConnectStorage
>>> ToVdsCommand'.
>>> 2017-05-20 16:52:31,707+05 ERROR [org.ovirt.engine.core.bll.sto
>>> rage.domain.AttachStorageDomainToPoolCommand]
>>> (org.ovirt.thread.pool-7-thread-27) [96ebeffb-dffa-4bdb-bea7-ffa330f8374d]
>>> Cannot connect storage connection server, aborting attach storage domain
>>> operation.
>>> 2017-05-20 16:52:31,708+05 INFO  [org.ovirt.engine.core.bll.sto
>>> rage.domain.AttachStorageDomainToPoolCommand]
>>> (org.ovirt.thread.pool-7-thread-27) [96ebeffb-dffa-4bdb-bea7-ffa330f8374d]
>>> Command [id=d5ed8604-ae17-4d61-b5a2-929b36bf0e64]: Compensating
>>> NEW_ENTITY_ID of org.ovirt.engine.core.common.b
>>> usinessentities.StoragePoolIsoMap; snapshot:
>>> StoragePoolIsoMapId:{storagePoolId='eee50640-deea-4668-8168-a9f31a8bc006',
>>> storageId='04e2444d-990e-48b1-957b-833375ba7b3d'}.
>>> 2017-05-20 16:52:31,752+05 ERROR [org.ovirt.engine.core.dal.dbb
>>> roker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-7-thread-27)
>>> [96ebeffb-dffa-4bdb-bea7-ffa330f8374d] EVENT_ID:
>>> USER_ATTACH_STORAGE_DOMAIN_TO_POOL_FAILED(963), Correlation ID:
>>> 96ebeffb-dffa-4bdb-bea7-ffa330f8374d, Job ID:
>>> 7538f0a0-90b6-414f-a62d-3d6a3287349a, Call Stack: null, Custom Event
>>> ID: -1, Message: Failed to attach Storage Domain myexport to Data Center
>>> dc1. (User: admin@internal-authz)
>>>
>>> Thanks,
>>> Shubham
>>>
>>>
>>> ___
>>> 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] Maintenance mode for storage?

2017-05-14 Thread Fred Rolland
Hi,

You cannot put a storage domain to maintenance if you have running VMs
using disks located in this domain.
Putting a storage domain to maintenance will disconnect all hosts from the
storage backend (NFS :unmount, ISCSI: iscsiadm -m session -r )-u)

Regards,

Freddy

On Sun, May 14, 2017 at 1:12 PM, Troels Arvin  wrote:

> Hello,
>
> I would like to make use of the new ovirt feature where a LUN may be
> removed from a storage domain, provided there's enough free space on the
> remaining LUNs in the domain.
>
> It seems the storage domain needs to be put in maintenance mode before
> this may be accomplished. But what's the consequence of putting a storage
> domain in maintenance mode? Can guests using the domain keep running
> while the storage domain is in maintenance mode? Does something stop
> working while a storage domain is in maintenance mode?
>
> --
> Regards,
> Troels Arvin
>
> ___
> 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] Cloning VM on NFS Leads to Locked Disks

2017-05-11 Thread Fred Rolland
The locking is on the engine side and restarting the vdsm will not affect
it .
Can you send the whole engine log ?
Which exact version are you using ?


On Thu, May 11, 2017 at 9:30 PM, Charles Tassell <char...@islandadmin.ca>
wrote:

> Just as an update, I created a new VM and had the same issue: the disk
> remains locked.  So I then added a new data store (this one iSCSI not NFS)
> and create a new VM on that.  Again, the disk remains locked.  So the
> problem seems to be that any action that sets to modify a disk image on my
> cluster locks the disk and keeps it locked permanently.
>
> I tried restarting the vdsm daemon, but that didn't make a difference.
> I'm seeing this in my sanlock.log file though, which worries me:
>
>
> 017-05-07 07:51:41-0300 1738538 [13575]: s2 renewal error -202
> delta_length 10 last_success 1738508
> 2017-05-07 07:51:41-0300 1738538 [11513]: s1 renewal error -202
> delta_length 10 last_success 1738508
>
> Here's the last 20 lines:
> 2017-05-07 07:51:41-0300 1738538 [13580]: s3 renewal error -202
> delta_length 10 last_success 1738508
> 2017-05-07 07:51:41-0300 1738538 [13575]: 20423d5e aio timeout RD
> 0x7fe1440008c0:0x7fe1440008d0:0x7fe160255000 ioto 10 to_count 67
> 2017-05-07 07:51:41-0300 1738538 [13575]: s2 delta_renew read timeout 10
> sec offset 0 /rhev/data-center/mnt/192.168.130.217:_media_ovirt/20423d5e-
> 188c-4e10-9893-588ceb81b354/dom_md/ids
> 2017-05-07 07:51:41-0300 1738538 [13575]: s2 renewal error -202
> delta_length 10 last_success 1738508
> 2017-05-07 07:51:41-0300 1738538 [11513]: hosted-e aio timeout RD
> 0x7fe1480008c0:0x7fe1480008d0:0x7fe14e6fc000 ioto 10 to_count 65
> 2017-05-07 07:51:41-0300 1738538 [11513]: s1 delta_renew read timeout 10
> sec offset 0 /var/run/vdsm/storage/5dccd07d-a923-4d4b-9cb1-
> 3b51ebfdca4d/5a9c284f-0faa-4a25-94ce-c9efdae07484/ab2443f1-95ed-475d-886c-
> c1653257cf04
> 2017-05-07 07:51:41-0300 1738538 [11513]: s1 renewal error -202
> delta_length 10 last_success 1738508
> 2017-05-07 07:51:47-0300 1738544 [13575]: 20423d5e aio collect RD
> 0x7fe1440008c0:0x7fe1440008d0:0x7fe160255000 result 1048576:0 match reap
> 2017-05-07 07:51:47-0300 1738544 [13580]: 5dccd07d aio collect RD
> 0x7fe13c0008c0:0x7fe13c0008d0:0x7fe14e5fa000 result 1048576:0 match reap
> 2017-05-07 07:51:47-0300 1738544 [11513]: hosted-e aio collect RD
> 0x7fe1480008c0:0x7fe1480008d0:0x7fe14e6fc000 result 1048576:0 match reap
> 2017-05-07 07:53:57-0300 1738674 [13590]: s2:r15 resource
> 20423d5e-188c-4e10-9893-588ceb81b354:SDM:/rhev/data-
> center/mnt/192.168.130.217:_media_ovirt/20423d5e-188c-
> 4e10-9893-588ceb81b354/dom_md/leases:1048576 for 7,21,78395
> 2017-05-07 07:59:49-0300 1739027 [13575]: s2 delta_renew long write time
> 10 sec
> 2017-05-09 08:38:34-0300 1914151 [13590]: s2:r16 resource
> 20423d5e-188c-4e10-9893-588ceb81b354:SDM:/rhev/data-
> center/mnt/192.168.130.217:_media_ovirt/20423d5e-188c-
> 4e10-9893-588ceb81b354/dom_md/leases:1048576 for 7,21,78395
> 2017-05-11 15:07:45-0300 2110302 [13590]: s2:r17 resource
> 20423d5e-188c-4e10-9893-588ceb81b354:SDM:/rhev/data-
> center/mnt/192.168.130.217:_media_ovirt/20423d5e-188c-
> 4e10-9893-588ceb81b354/dom_md/leases:1048576 for 7,21,112346
> 2017-05-11 15:17:24-0300 2110881 [13590]: s4 lockspace
> b010093e-1924-46e1-bd57-2cf2b2445087:1:/dev/b010093e-
> 1924-46e1-bd57-2cf2b2445087/ids:0
> 2017-05-11 15:17:45-0300 2110902 [1395]: s4 host 1 1 2110881
> 44ae07eb-3371-4750-8728-ab3b049dbae2.ovirt730-0
> 2017-05-11 15:17:45-0300 2110902 [1400]: s4:r18 resource
> b010093e-1924-46e1-bd57-2cf2b2445087:SDM:/dev/b010093e-1924-46e1-bd57-2cf2b2445087/leases:1048576
> for 7,21,112346
> 2017-05-11 15:17:52-0300 2110909 [1399]: s5 lockspace
> b010093e-1924-46e1-bd57-2cf2b2445087:1:/dev/b010093e-
> 1924-46e1-bd57-2cf2b2445087/ids:0
> 2017-05-11 15:18:13-0300 2110930 [1395]: s5 host 1 2 2110909
> 44ae07eb-3371-4750-8728-ab3b049dbae2.ovirt730-0
> 2017-05-11 15:18:13-0300 2110930 [1395]: s5 host 2 1 2110065
> 4d31313f-b2dd-4368-bf31-d39835e10afb.ovirt730-0
>
>
> On 2017-05-11 10:09 AM, Charles Tassell wrote:
>
> Hi Freddy,
>
>   Sure, thanks for looking into this.  Here you go:
>
> 2017-05-10 11:35:30,249-03 INFO  
> [org.ovirt.engine.core.bll.aaa.SessionDataContainer]
> (DefaultQuartzScheduler8) [1c84abac] Not removing session '
> vZyqrcCljPC7hQtcILsk4uDug3QsiinZBOyoGDiQKkYYT2znGyWe4fasrPbjYxdjbfyR3DBnp+UZ9/k20dGsMA==',
> session has running commands for user 'admin@internal-authz'.[snip]
> On 2017-05-11 04:30 AM, Fred Rolland wrote:
>
> Hi,
>
> Can you provide the engine log ?
>
> Thanks,
>
> Freddy
>
> On Wed, May 10, 2017 at 5:57 PM, Charles Tassell <char...@islandadmin.ca>
> wrote:
>
>> Hi Everyone,
>>
>>   I'm h

Re: [ovirt-users] Cloning VM on NFS Leads to Locked Disks

2017-05-11 Thread Fred Rolland
Hi,

Can you provide the engine log ?

Thanks,

Freddy

On Wed, May 10, 2017 at 5:57 PM, Charles Tassell 
wrote:

> Hi Everyone,
>
>   I'm having some issues with my oVirt 4.1 (fully updated to latest
> release as of yesterday) cluster.  When I clone a VM the disks of both the
> original and the clone stay in the locked state, and the only way I can
> resolve it is to go into the database on the engine and run "update images
> set imagestatus=1 where imagestatus=2;"
>
>   I'm using NFS4 as a datastore and the disks seem to copy fine (file
> sizes match and everything), but the locking worries me.  To clone the VM I
> just shut the source VM down and then right click on it and select "Clone"
>
>   I've attached the full VDSM log from my last attempt, but here is the
> excerpt of the lines just referencing the two disks
> (d73206ed-89ba-48a9-82ff-c107c1af60f0 is the original VMs disk and
> 670a7b20-fecd-45c6-af5c-3c7b98258224 is the clone.)
>
> 2017-05-10 11:36:20,120-0300 INFO  (jsonrpc/2) [dispatcher] Run and
> protect: copyImage(sdUUID=u'20423d5e-188c-4e10-9893-588ceb81b354',
> spUUID=u'0001-0001-0001-0001-0311', vmUUID='',
> srcImgUUID=u'd73206ed-89ba-48a9-82ff-c107c1af60f0',
> srcVolUUID=u'bba1813d-9e91-4e37-bed7-40beedda8051',
> dstImgUUID=u'670a7b20-fecd-45c6-af5c-3c7b98258224',
> dstVolUUID=u'013d8855-4e49-4984-8266-6a5e9437dff7', description=u'',
> dstSdUUID=u'20423d5e-188c-4e10-9893-588ceb81b354', volType=8,
> volFormat=5, preallocate=2, postZero=u'false', force=u'false',
> discard=False) (logUtils:51)
> 2017-05-10 11:36:20,152-0300 INFO  (jsonrpc/2) [storage.Image] image
> d73206ed-89ba-48a9-82ff-c107c1af60f0 in domain
> 20423d5e-188c-4e10-9893-588ceb81b354 has vollist
> [u'bba1813d-9e91-4e37-bed7-40beedda8051'] (image:319)
> 2017-05-10 11:36:20,169-0300 INFO  (jsonrpc/2) [storage.Image]
> sdUUID=20423d5e-188c-4e10-9893-588ceb81b354 
> imgUUID=d73206ed-89ba-48a9-82ff-c107c1af60f0
> chain=[] (image:249)
> 2017-05-10 11:36:20,292-0300 INFO  (tasks/0) [storage.Image]
> sdUUID=20423d5e-188c-4e10-9893-588ceb81b354 
> imgUUID=d73206ed-89ba-48a9-82ff-c107c1af60f0
> chain=[] (image:249)
> 2017-05-10 11:36:20,295-0300 INFO  (tasks/0) [storage.Image]
> sdUUID=20423d5e-188c-4e10-9893-588ceb81b354 vmUUID=
> srcImgUUID=d73206ed-89ba-48a9-82ff-c107c1af60f0
> srcVolUUID=bba1813d-9e91-4e37-bed7-40beedda8051
> dstImgUUID=670a7b20-fecd-45c6-af5c-3c7b98258224
> dstVolUUID=013d8855-4e49-4984-8266-6a5e9437dff7
> dstSdUUID=20423d5e-188c-4e10-9893-588ceb81b354 volType=8 volFormat=RAW
> preallocate=SPARSE force=False postZero=False discard=False (image:765)
> 2017-05-10 11:36:20,305-0300 INFO  (tasks/0) [storage.Image] copy source
> 20423d5e-188c-4e10-9893-588ceb81b354:d73206ed-89ba-48a9-
> 82ff-c107c1af60f0:bba1813d-9e91-4e37-bed7-40beedda8051 vol size 41943040
> destination 20423d5e-188c-4e10-9893-588ceb81b354:670a7b20-fecd-45c6-
> af5c-3c7b98258224:013d8855-4e49-4984-8266-6a5e9437dff7 apparentsize
> 41943040 (image:815)
> 2017-05-10 11:36:20,306-0300 INFO  (tasks/0) [storage.Image] image
> 670a7b20-fecd-45c6-af5c-3c7b98258224 in domain
> 20423d5e-188c-4e10-9893-588ceb81b354 has vollist [] (image:319)
> 2017-05-10 11:36:20,306-0300 INFO  (tasks/0) [storage.Image] Create
> placeholder /rhev/data-center/0001-0001-0001-0001-0311/20423
> d5e-188c-4e10-9893-588ceb81b354/images/670a7b20-fecd-45c6-af5c-3c7b98258224
> for image's volumes (image:149)
> 2017-05-10 11:36:20,392-0300 INFO  (tasks/0) [storage.Volume] Request to
> create RAW volume /rhev/data-center/0001-000
> 1-0001-0001-0311/20423d5e-188c-4e10-9893-588ceb81b35
> 4/images/670a7b20-fecd-45c6-af5c-3c7b98258224/013d8855-4e49-4984-8266-6a5e9437dff7
> with size = 20480 sectors (fileVolume:439)
> 2017-05-10 11:37:58,453-0300 INFO  (tasks/0) [storage.VolumeManifest]
> sdUUID=20423d5e-188c-4e10-9893-588ceb81b354 
> imgUUID=670a7b20-fecd-45c6-af5c-3c7b98258224
> volUUID = 013d8855-4e49-4984-8266-6a5e9437dff7 legality = LEGAL
> (volume:393)
>
>
> ___
> 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] Engine gone crazy

2017-05-09 Thread Fred Rolland
Restarting the engine solved the issue.
It is a Local DC. The IP of the host was changed, and though it is
configured as FQDN in Ovirt, things got weird...

On Tue, May 9, 2017 at 10:29 AM, Yedidyah Bar David  wrote:

> On Tue, May 9, 2017 at 10:14 AM, Erick Vogeler 
> wrote:
> > here are some pics:
> > https://i.imgur.com/hfJM6PG.png
> >
> > machines show down although they are up
> > https://i.imgur.com/NkHisyr.png
> >
> > Engine Log:
> > https://drive.google.com/file/d/0B4wHJ6nwLi9BcE5INXRJSVpPSHM/
> view?usp=sharing
> >
> > VDSM Log:
> > https://drive.google.com/file/d/0B4wHJ6nwLi9BNFlvb1llNE5Yb2s/
> view?usp=sharing
> >
>
> Are you sure this is a log from the host having problems?
>
> > Please help me get this back on thank you all
>
> Perhaps check storage and connectivity.
> Perhaps check also vdsm log of other hosts.
>
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>
>
>
> --
> Didi
> ___
> 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] Multiple cluster and multiple storage possible ?

2017-05-07 Thread Fred Rolland
Hi,

Storage Domains are DC entities and are not related to clusters.
Every hosts in the DC should be able to access the Storage Domain.
Once the SD is first created on one of the hosts, all the other host are
trying to connect also.

Can you mount manually from host2 ?
It maybe a firewall/network issue.

On Wed, May 3, 2017 at 7:09 PM, TranceWorldLogic . <
tranceworldlo...@gmail.com> wrote:

> Hi,
>
> I am trying to setup ovirt as shown below.
>
> DataCenter1 -Cluster1 -host1  NFS1-Data Domain
>   |
>   |-Cluster2 --host2-NFS2-Data Domain
>
>
> As you see in above case I am trying to attach both NFS partition to
> Datacente1 and I got various behaviour:
>
> 1> Once one data domain attached to data center other is failing to
> attached
> (e.g. let say NFS1-Data Domain is attached to DataCenter1 then after that
> NFS2-Data Domain failing to attach DataCenter1)
>
> 2> And sometime both data domain successfully got attached but after that
> host2 is not coming up by saying "host1 cannot access to NFS2-Data Domain
> and hence moving host1 to Non-Operational"
> host1 firewall rules are :
> 
> --
> # iptables -L
> Chain INPUT (policy ACCEPT)
> target prot opt source   destination
> ACCEPT all  --  anywhere anywhere state
> RELATED,ESTABLISHED
> ACCEPT icmp --  anywhere anywhere
> ACCEPT all  --  anywhere anywhere
> ACCEPT tcp  --  anywhere anywhere tcp dpt:54321
> ACCEPT tcp  --  anywhere anywhere tcp dpt:54322
> ACCEPT tcp  --  anywhere anywhere tcp
> dpt:sunrpc
> ACCEPT udp  --  anywhere anywhere udp
> dpt:sunrpc
> ACCEPT tcp  --  anywhere anywhere tcp dpt:ssh
> ACCEPT udp  --  anywhere anywhere udp dpt:snmp
> ACCEPT tcp  --  anywhere anywhere tcp dpt:websm
> ACCEPT tcp  --  anywhere anywhere tcp dpt:16514
> ACCEPT tcp  --  anywhere anywhere multiport
> dports rockwell-csp2
> ACCEPT tcp  --  anywhere anywhere multiport
> dports rfb:6923
> ACCEPT tcp  --  anywhere anywhere multiport
> dports 49152:49216
> ACCEPT tcp  --  anywhere anywhere tcp
> dpt:sunrpc
> ACCEPT tcp  --  anywhere anywhere tcp dpt:nfs
> ACCEPT udp  --  anywhere anywhere udp dpt:nfs
> ACCEPT udp  --  anywhere anywhere udp
> dpt:sunrpc
> ACCEPT udp  --  anywhere anywhere udp dpt:892
> ACCEPT tcp  --  anywhere anywhere tcp dpt:892
> ACCEPT tcp  --  anywhere anywhere tcp
> dpt:ospf-lite
> REJECT all  --  anywhere anywhere reject-with
> icmp-host-prohibited
>
> Chain FORWARD (policy ACCEPT)
> target prot opt source   destination
> REJECT all  --  anywhere anywhere PHYSDEV
> match ! --physdev-is-bridged reject-with icmp-host-prohibited
>
> Chain OUTPUT (policy ACCEPT)
> target prot opt source   destination
> 
> --
>
> Please help me to understand this issue.
> 1> Do ovirt support multiple-cluster to multiple-storage data domain ?
> 2> Are those firewall rules correct or wrong ?
> 3> Can host1 access storage domain created on another cluster say host2
> m/c ? (NFS technology)
>
>
> Thanks,
> ~Rohit
>
> ___
> 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] GET /storagedomains broken ?

2017-05-07 Thread Fred Rolland
It should work.
Can you share the engine log ?

On Thu, May 4, 2017 at 6:10 PM, Fabrice Bacchella <
fabrice.bacche...@orange.fr> wrote:

> I'm playing with the python sdk and getting :
>
> [2017-05-04 17:01:17] 192.168.205.36 "ovirt.XXX" "GET 
> /ovirt-engine/api/storagedomains
> HTTP/1.1" 292250 404 + 188 "-" "PythonSDK/4.1.3"
>
> And in engine.log:
>
> 2017-05-04 17:01:17,727+02 ERROR 
> [org.ovirt.engine.api.restapi.resource.AbstractBackendResource]
> (default task-21) [] Operation Failed: Entity not found: Storage server
> connection: id=6860d96f-557e-4d82-a209-401d72bd6e16
>
> But in the documentation from https://ovirt.prod.exalead.
> com/ovirt-engine/apidoc/#requests, I indeed see:
>
> GET /storagedomains
>
> The ovirt's version I use:
> 
>   oVirt Engine
>   ovirt.org
>   
> 1
> 4.1.1.8-1.el7.centos
> 4
> 1
> 0
>   
> 
>
>
> Is there something obvious I missed ?
> ___
> 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] Hosted engine FCP SAN can not activate data domain

2017-04-30 Thread Fred Rolland
Hi,

Can you provide the vdsm and engine logs ?

Thanks,
Fred

On Wed, Apr 26, 2017 at 5:30 PM, Jens Oechsler <j...@avaleo.net> wrote:

> Greetings,
>
> Is there any way to get the oVirt Data Center described below active again?
>
> On Tue, Apr 25, 2017 at 4:11 PM, Jens Oechsler <j...@avaleo.net> wrote:
> > Hi,
> >
> > LUN is not in pvs output, but I found it in lsblk output without any
> > partions on it apparently.
> >
> > $ sudo pvs
> >   PVVG
> >   Fmt  Attr PSize   PFree
> >   /dev/mapper/360050768018182b6c990 data
> >   lvm2 a--  200.00g 180.00g
> >   /dev/mapper/360050768018182b6c998
> > 9f10e00f-ae39-46a0-86da-8b157c6de7bc lvm2 a--  499.62g 484.50g
> >   /dev/sda2 system
> >   lvm2 a--  278.78g 208.41g
> >
> > $ sudo lvs
> >   LV   VG
> >  Attr   LSizePool Origin Data%  Meta%  Move Log Cpy%Sync
> > Convert
> >   34a9328f-87fe-4190-96e9-a3580b0734fc
> > 9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-a-1.00g
> >   506ff043-1058-448c-bbab-5c864adb2bfc
> > 9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-a-   10.00g
> >   65449c88-bc28-4275--5fc75b692cbc
> > 9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-a-  128.00m
> >   e2ee95ce-8105-4a20-8e1f-9f6dfa16bf59
> > 9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-ao  128.00m
> >   ids
> > 9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-ao  128.00m
> >   inbox
> > 9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-a-  128.00m
> >   leases
> > 9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-a-2.00g
> >   master
> > 9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-a-1.00g
> >   metadata
> > 9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-a-  512.00m
> >   outbox
> > 9f10e00f-ae39-46a0-86da-8b157c6de7bc -wi-a-  128.00m
> >   data data
> >  -wi-ao   20.00g
> >   home system
> >  -wi-ao 1000.00m
> >   prod system
> >  -wi-ao4.88g
> >   root system
> >  -wi-ao7.81g
> >   swap system
> >  -wi-ao4.00g
> >   swap7system
> >  -wi-ao   20.00g
> >   tmp  system
> >  -wi-ao4.88g
> >   var      system
> >  -wi-ao   27.81g
> >
> > $ sudo lsblk
> > 
> > sdq
> > 65:00   500G  0 disk
> > └─360050768018182b6c9d7
> >253:33   0   500G  0 mpath
> >
> > Data domain was made with one 500 GB LUN and extended with 500 GB more.
> >
> > On Tue, Apr 25, 2017 at 2:17 PM, Fred Rolland <froll...@redhat.com>
> wrote:
> >> Hi,
> >>
> >> Do you see the LUN in the host ?
> >> Can you share pvs and lvs output ?
> >>
> >> Thanks,
> >>
> >> Fred
> >>
> >> On Mon, Apr 24, 2017 at 1:05 PM, Jens Oechsler <j...@avaleo.net> wrote:
> >>>
> >>> Hello
> >>> I have a problem with oVirt Hosted Engine Setup version:
> >>> 4.0.5.5-1.el7.centos.
> >>> Setup is using FCP SAN for data and engine.
> >>> Cluster has worked fine for a while. It has two hosts with VMs running.
> >>> I extended storage with an additional LUN recently. This LUN seems to
> >>> be gone from data domain and one VM is paused which I assume has data
> >>> on that device.
> >>>
> >>> Got these errors in events:
> >>>
> >>> Apr 24, 2017 10:26:05 AM
> >>> Failed to activate Storage Domain SD (Data Center DC) by
> >>> admin@internal-authz
> >>> Apr 10, 2017 3:38:08 PM
> >>> Status of host cl01 was set to Up.
> >>> Apr 10, 2017 3:38:03 PM
> >>> Host cl01 does not enforce SELinux. Current status: DISABLED
> >>> Apr 10, 2017 3:37:58 PM
> >>> Host cl01 is initializing. Message: Recovering from crash or
> Initializing
> >>> Apr 10, 2017 3:37:58 PM
> >>> VDSM cl01 command failed: Recovering from crash or Initializing
> >>> Apr 10, 2017 3:37:46 PM
> >>> Failed to Reconstruct Master Domain for Data Center DC.
> >>> Apr 10, 2017 3:37:46 PM
> >>> Host cl01 is not

Re: [ovirt-users] Trouble Adding Gluster Host in oVirt Manager

2017-04-29 Thread Fred Rolland
Robert hi,

Can you please provide the logs , engine and VDSM ?

Thanks,

Fred

On Fri, Apr 28, 2017 at 9:45 PM, Langley, Robert  wrote:

> Hello oVirt Community,
>
> This may be my first time writing in. Although, I’ve been reviewing and
> playing with oVirt for the past 3 years. My name is Robert Langley and I
> work for a local Government in Southern California. My agency (with me as
> the primary/lead IT person) has been using VMWare vSphere to host our
> server environment for 6 years. I have a few different reasons I want to
> jump the VMWare ship and I’ve been pleased with the progression oVirt has
> been making. I do not care to jump from VMWare to Microsoft’s Hyper-V, so
> this had lead me to look into Xen for a while, then dropped anchor with
> oVirt. I’m determined to see this implementation through.
>
> I have moved over from the test (workstation class) environment, where I
> was really just getting familiar with the commands and UI, and now I am
> working on implementation with server class hardware.
> I have the engine up and running. I’ll get into more specifics below.
> I’m running into an issue where I have not been able to add my Gluster
> hosts or add the Storage Domain (I had tried adding the storage domain
> first).
> For my new oVirt and GlusterFS hosts I have the following:
>
>- I want to first mention that I do have a DNS server for the
>separated/private networks and those are configured and working properly
>(forward & reverse).
>
> Dell PE R830 and I would like this to be a failover server housed in a
> separate building where we have an Emergency Operations Center and
> Datacenter (server room).
>
>- Has bonded gigabit (2 port) network that is connected to our main
>network & internet, configured to be used for ovirtmgnt. Name = 
> gsaov08.ent…
>
>
>- As far as all the various names, oVirt Hosted Engine Deployment
>complained that the Main network name was seen on more than one interface,
>or something to that effect.
>- I did originally have DNS for the separated/private networks
>configured for forwarding DNS from our main network DNS servers. Which has
>been removed and the Hosted Engine Deployment stopped complaining at that
>point. I was going to use the forwarding DNS for another private network I
>use for some management traffic, but that is not as important or an
>absolute need either.
>
>
>- Has 2nd bonded gigabit (4 port) network (separate/private) for
>engine storage. Name = gsaov08e.engine.local
>- Has 3rd bonded 10G (2 port) network (separate/private) for VM Guest
>storage. Name = gsaov08s.stor.local
>- Will have a 4th network (separate/private) configured for security
>related devices that are managed by a couple of our VM guests.
>
> As far as storage in this same server.
>
>- I have split up the local storage to be hosted by GlusterFS and this
>host is a peer with the other two dedicated GlusterFS storage servers. That
>is for the failover piece.
>
>
>- Engine volume (currently being used for the Hosted Engine) and setup
>as a replica 3 with the two dedicated GlusterFS storage servers.
>- VM Guest “Data” volume. The volume is created, configured and
>started. Setup as a replica 3 with the two dedicated GlusterFS storage
>servers.
>
> So far, this is the only host I have hosting the engine. Now, onto the
> other host I am about to run Hosted-Engine -Deploy on.
> Dell PE R730 – It has the same network setup as the R830. Storage is a bit
> different. I would like to run another VM Guest GlusterFS volume from here,
> along with 2 other hosts I have. They are currently serving as the vSphere
> ESX hosts and have the same total size of storage to create another replica
> 3.
>
> The Dedicated GlusterFS Hosts are custom AMD Opteron G2 builds with ASUS
> server motherboards. Strictly designed to be dedicated storage servers.
>
>- I’m using the onboard NICs to connect to my management network only
>for the purpose of getting updates. So, internet is served to these hosts
>via a NAT router. Since I figured they don’t otherwise need access to our
>main network. The primary names = gsa-stor1 & gsa-stor2
>- They both have a bonded (4 port) gigabit network for the Engine
>storage network. Names = gsa-stor1e.engine.local & gsa-stor2e.engine.local
>- They both have a bonded (2 port) 10G network for the VM Guest
>storage network. Names = gsa-stor2s.stor.local & gsa-stor2s.stor.local
>
> As far as storage in these servers.
>
>- It is the same as the R830, as these servers are the peers to the
>R830.
>
>
> First, I added an ISO Storage Domain (NFS). That was successful. Next, I
> was trying to add the GlusterFS VM Guest Data Storage Domain. I receive an
> Operation Canceled: Error while executing action AddGlusterFsStorageDomain:
> Error creating a storage domain.
> When I try to add the Gluster hosts 

Re: [ovirt-users] Hosted engine FCP SAN can not activate data domain

2017-04-25 Thread Fred Rolland
Hi,

Do you see the LUN in the host ?
Can you share pvs and lvs output ?

Thanks,

Fred

On Mon, Apr 24, 2017 at 1:05 PM, Jens Oechsler  wrote:

> Hello
> I have a problem with oVirt Hosted Engine Setup version:
> 4.0.5.5-1.el7.centos.
> Setup is using FCP SAN for data and engine.
> Cluster has worked fine for a while. It has two hosts with VMs running.
> I extended storage with an additional LUN recently. This LUN seems to
> be gone from data domain and one VM is paused which I assume has data
> on that device.
>
> Got these errors in events:
>
> Apr 24, 2017 10:26:05 AM
> Failed to activate Storage Domain SD (Data Center DC) by
> admin@internal-authz
> Apr 10, 2017 3:38:08 PM
> Status of host cl01 was set to Up.
> Apr 10, 2017 3:38:03 PM
> Host cl01 does not enforce SELinux. Current status: DISABLED
> Apr 10, 2017 3:37:58 PM
> Host cl01 is initializing. Message: Recovering from crash or Initializing
> Apr 10, 2017 3:37:58 PM
> VDSM cl01 command failed: Recovering from crash or Initializing
> Apr 10, 2017 3:37:46 PM
> Failed to Reconstruct Master Domain for Data Center DC.
> Apr 10, 2017 3:37:46 PM
> Host cl01 is not responding. Host cannot be fenced automatically
> because power management for the host is disabled.
> Apr 10, 2017 3:37:46 PM
> VDSM cl01 command failed: Broken pipe
> Apr 10, 2017 3:37:46 PM
> VDSM cl01 command failed: Broken pipe
> Apr 10, 2017 3:32:45 PM
> Invalid status on Data Center DC. Setting Data Center status to Non
> Responsive (On host cl01, Error: General Exception).
> Apr 10, 2017 3:32:45 PM
> VDSM cl01 command failed: [Errno 19] Could not find dm device named
> `[unknown]`
> Apr 7, 2017 1:28:04 PM
> VM HostedEngine is down with error. Exit message: resource busy:
> Failed to acquire lock: error -243.
> Apr 7, 2017 1:28:02 PM
> Storage Pool Manager runs on Host cl01 (Address: cl01).
> Apr 7, 2017 1:27:59 PM
> Invalid status on Data Center DC. Setting status to Non Responsive.
> Apr 7, 2017 1:27:53 PM
> Host cl02 does not enforce SELinux. Current status: DISABLED
> Apr 7, 2017 1:27:52 PM
> Host cl01 does not enforce SELinux. Current status: DISABLED
> Apr 7, 2017 1:27:49 PM
> Affinity Rules Enforcement Manager started.
> Apr 7, 2017 1:27:34 PM
> ETL Service Started
> Apr 7, 2017 1:26:01 PM
> ETL Service Stopped
> Apr 3, 2017 1:22:54 PM
> Shutdown of VM HostedEngine failed.
> Apr 3, 2017 1:22:52 PM
> Storage Pool Manager runs on Host cl01 (Address: cl01).
> Apr 3, 2017 1:22:49 PM
> Invalid status on Data Center DC. Setting status to Non Responsive.
>
>
> Master data domain is inactive.
>
>
> vdsm.log:
>
> jsonrpc.Executor/5::INFO::2017-04-20
> 07:01:26,796::lvm::1226::Storage.LVM::(activateLVs) Refreshing lvs:
> vg=bd616961-6da7-4eb0-939e-330b0a3fea6e lvs=['ids']
> jsonrpc.Executor/5::DEBUG::2017-04-20
> 07:01:26,796::lvm::288::Storage.Misc.excCmd::(cmd) /usr/bin/taskset
> --cpu-list 0-39 /usr/bin/sudo -n /usr/sbin/lvm lvchange --config '
> devices { preferred_names = ["^/dev/mapper/"] ignore_suspended_d
> evices=1 write_cache_state=0 disable_after_error_count=3 filter = [
> '\''a|/dev/mapper/360050768018182b6c99e|[unknown]|'\'',
> '\''r|.*|'\'' ] }  global {  locking_type=1  prioritise_write_locks=1
> wait_for_locks=1  use_lvmetad=
> 0 }  backup {  retain_min = 50  retain_days = 0 } ' --refresh
> bd616961-6da7-4eb0-939e-330b0a3fea6e/ids (cwd None)
> jsonrpc.Executor/5::DEBUG::2017-04-20
> 07:01:26,880::lvm::288::Storage.Misc.excCmd::(cmd) SUCCESS:  = "
> WARNING: Not using lvmetad because config setting use_lvmetad=0.\n
> WARNING: To avoid corruption, rescan devices to make changes
>  visible (pvscan --cache).\n  Couldn't find device with uuid
> jDB9VW-bNqY-UIKc-XxXp-xnyK-ZTlt-7Cpa1U.\n";  = 0
> jsonrpc.Executor/5::INFO::2017-04-20
> 07:01:26,881::lvm::1226::Storage.LVM::(activateLVs) Refreshing lvs:
> vg=bd616961-6da7-4eb0-939e-330b0a3fea6e lvs=['leases']
> jsonrpc.Executor/5::DEBUG::2017-04-20
> 07:01:26,881::lvm::288::Storage.Misc.excCmd::(cmd) /usr/bin/taskset
> --cpu-list 0-39 /usr/bin/sudo -n /usr/sbin/lvm lvchange --config '
> devices { preferred_names = ["^/dev/mapper/"] ignore_suspended_d
> evices=1 write_cache_state=0 disable_after_error_count=3 filter = [
> '\''a|/dev/mapper/360050768018182b6c99e|[unknown]|'\'',
> '\''r|.*|'\'' ] }  global {  locking_type=1  prioritise_write_locks=1
> wait_for_locks=1  use_lvmetad=
> 0 }  backup {  retain_min = 50  retain_days = 0 } ' --refresh
> bd616961-6da7-4eb0-939e-330b0a3fea6e/leases (cwd None)
> jsonrpc.Executor/5::DEBUG::2017-04-20
> 07:01:26,973::lvm::288::Storage.Misc.excCmd::(cmd) SUCCESS:  = "
> WARNING: Not using lvmetad because config setting use_lvmetad=0.\n
> WARNING: To avoid corruption, rescan devices to make changes
>  visible (pvscan --cache).\n  Couldn't find device with uuid
> jDB9VW-bNqY-UIKc-XxXp-xnyK-ZTlt-7Cpa1U.\n";  = 0
> jsonrpc.Executor/5::INFO::2017-04-20
> 07:01:26,973::lvm::1226::Storage.LVM::(activateLVs) Refreshing lvs:
> 

Re: [ovirt-users] Import OVA

2017-04-25 Thread Fred Rolland
Hi,

You can upload a disk in the "disks" tab.
You will need to create the VM manually, and attached the disk to it.

Regards,

Fred

On Tue, Apr 25, 2017 at 3:06 PM, Andy Kress  wrote:

> All,
>
> I am using the latest version of Ovirt 4.1.1.8-1 running in CentOS 7.3 and
> would like to import an OVA.  Since it appears the image-uploader utility
> is deprecated, does anyone have information on how to accomplish this?
> I cannot import it through the UI directly and rather than importing the
> OVA to a VMWARE environment and pulling it in, I would like to know how to
> directly do this.
>
> Thanks
>
> AK
> ___
> 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] Extending data domain size

2017-04-22 Thread Fred Rolland
Hi,

I assume that you are talking about an ISCSI storage domain.
In order to extend such a SD, you have two choices:
- Add another LUN to the storage domain. ("Manage Domain" , select an
additional free LUN, click "OK"
- Extend a LUN that is already part of the SD in the storage server and
update the size [1]

Both are available in 4.0.

Regards,

Freddy

[1]
https://www.ovirt.org/develop/release-management/features/storage/lun-resize/

On Fri, Apr 21, 2017 at 12:49 PM, Alexis HAUSER <
alexis.hau...@imt-atlantique.fr> wrote:

> Hi,
>
> Is it possible in ovirt-4.0 to extend the size of a data domain ?
> In theory it should be possible with LVM to do it, but does ovirt provide
> this functionality ?
>
> Regards
>
> ___
> 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] Resize iSCSI lun f storage domain

2017-04-11 Thread Fred Rolland
On Tue, Apr 11, 2017 at 1:51 PM, Gianluca Cecchi 
wrote:

> Hello,
> my iSCSI storage domain in 4.1.1 is composed by 1 lun of size 1TB and
> there are two hosts accessing it.
> I have to extend this LUN to 4Tb.
> What is supposed to be done after having completed the resize operation at
> storage array level?
>
It is supposed to be done once the LUN as been extended on the storage
server.

> I read here the workflow:
> http://www.ovirt.org/develop/release-management/features/
> storage/lun-resize/
>
> Does this imply that I have to do nothing at host side?
>

Yes,nothing needs to be done on host side.
Did you had any issue?

>
> Normally inside a physical server connecting to iSCSI volumes I run the
> command "iscsiadm  --rescan" and this one below is all my workflow (on
> CentOS 5.9, quite similar in CentOS 6.x, except the multipath refresh).
>
> Is it oVirt itself that takes in charge the iscsiadm --rescan command?
>

The rescan will be done by the VDSM

>
>
BTW: the "edit domain" screenshot should become a "manage domain"
> screenshot now
>
Thanks, I will update the web site

>
> Thanks,
> Gianluca
>
> I want to extend my filesystem from 250Gb to 600Gb
>
> - current layout of FS, PV, multipath device
>
> [g.cecchi@dbatest ~]$ df -h
> FilesystemSize  Used Avail Use% Mounted on
> ...
> /dev/mapper/VG_ORASAVE-LV_ORASAVE
>   247G   66G  178G  28% /orasave
>
>
> [root@dbatest ~]# pvs /dev/mpath/mpsave
>   PVVG Fmt  Attr PSize   PFree
>   /dev/mpath/mpsave VG_ORASAVE lvm2 a--  250.00G 0
>
> [root@dbatest ~]# multipath -l mpsave
> mpsave (36090a0585094695aed0f95af0601f066) dm-4 EQLOGIC,100E-00
> [size=250G][features=1 queue_if_no_path][hwhandler=0][rw]
> \_ round-robin 0 [prio=0][active]
>  \_ 12:0:0:0 sdc 8:32  [active][undef]
>  \_ 11:0:0:0 sdd 8:48  [active][undef]
>
>
> - current configured iSCSI ifaces (ieth0 using eth0 and ieth1 using eth1)
> [root@dbatest ~]# iscsiadm -m node -P 1
>
> ...
>
> Target: iqn.2001-05.com.equallogic:0-8a0906-5a6994505-
> 66f00106af950fed-dbatest-save
> Portal: 10.10.100.20:3260,1
> Iface Name: ieth0
> Iface Name: ieth1
>
> - rescan of iSCSI
> [root@dbatest ~]# for i in 0 1
> > do
> > iscsiadm -m node --targetname=iqn.2001-05.com.
> equallogic:0-8a0906-5a6994505-66f00106af950fed-dbatest-save -I ieth$i
> --rescan
> > done
> Rescanning session [sid: 3, target: iqn.2001-05.com.equallogic:0-
> 8a0906-5a6994505-66f00106af950fed-dbatest-save, portal: 10.10.100.20,3260]
> Rescanning session [sid: 4, target: iqn.2001-05.com.equallogic:0-
> 8a0906-5a6994505-66f00106af950fed-dbatest-save, portal: 10.10.100.20,3260]
>
> In messages I get:
> Apr 24 16:07:17 dbatest kernel: SCSI device sdd: 1258291200 512-byte hdwr
> sectors (644245 MB)
> Apr 24 16:07:17 dbatest kernel: sdd: Write Protect is off
> Apr 24 16:07:17 dbatest kernel: SCSI device sdd: drive cache: write through
> Apr 24 16:07:17 dbatest kernel: sdd: detected capacity change from
> 268440698880 to 644245094400
> Apr 24 16:07:17 dbatest kernel: SCSI device sdc: 1258291200 512-byte hdwr
> sectors (644245 MB)
> Apr 24 16:07:17 dbatest kernel: sdc: Write Protect is off
> Apr 24 16:07:17 dbatest kernel: SCSI device sdc: drive cache: write through
> Apr 24 16:07:17 dbatest kernel: sdc: detected capacity change from
> 268440698880 to 644245094400
>
> - Dry run of multupath refresh
> [root@dbatest ~]# multipath -v2 -d
> : mpsave (36090a0585094695aed0f95af0601f066)  EQLOGIC,100E-00
> [size=600G][features=1 queue_if_no_path][hwhandler=0][n/a]
> \_ round-robin 0 [prio=1][undef]
>  \_ 12:0:0:0 sdc 8:32  [active][ready]
>  \_ 11:0:0:0 sdd 8:48  [active][ready]
>
> - execute the refresh of multipath
> [root@dbatest ~]# multipath -v2
> : mpsave (36090a0585094695aed0f95af0601f066)  EQLOGIC,100E-00
> [size=600G][features=1 queue_if_no_path][hwhandler=0][n/a]
> \_ round-robin 0 [prio=1][undef]
>  \_ 12:0:0:0 sdc 8:32  [active][ready]
>  \_ 11:0:0:0 sdd 8:48  [active][ready]
>
> - verify new size:
> [root@dbatest ~]# multipath -l mpsave
> mpsave (36090a0585094695aed0f95af0601f066) dm-4 EQLOGIC,100E-00
> [size=600G][features=1 queue_if_no_path][hwhandler=0][rw]
> \_ round-robin 0 [prio=0][active]
>  \_ 12:0:0:0 sdc 8:32  [active][undef]
>  \_ 11:0:0:0 sdd 8:48  [active][undef]
>
> - pvresize
> [root@dbatest ~]# pvresize /dev/mapper/mpsave
>   Physical volume "/dev/mpath/mpsave" changed
>   1 physical volume(s) resized / 0 physical volume(s) not resized
>
> - verify the newly added 350Gb size in PV and in VG
> [root@dbatest ~]# pvs  /dev/mpath/mpsave
>   PVVG Fmt  Attr PSize   PFree
>   /dev/mpath/mpsave VG_ORASAVE lvm2 a--  600.00G 349.99G
>
> [root@dbatest ~]# vgs VG_ORASAVE
>   VG #PV #LV #SN Attr   VSize   VFree
>   VG_ORASAVE   1   1   0 wz--n- 600.00G 349.99G
>
> - lvextend of the existing LV
> [root@dbatest ~]# lvextend -l+100%FREE /dev/VG_ORASAVE/LV_ORASAVE
>   Extending logical volume LV_ORASAVE to 600.00 GB
>   Logical 

  1   2   >