[ovirt-users] Adding direct lun from API doesn't populate attributes like size, vendor, etc

2015-10-16 Thread Groten, Ryan
Using this python I am able to create a direct FC lun properly (and it works if 
the lun_id is valid).  But in the GUI after the disk is added none of the 
fields are populated except LUN ID (Size is <1GB, Serial, Vendor, Product ID 
are all blank).

I see this Bugzilla [1] is very similar (for iSCSI) which says the issue was 
fixed in 3.5.0, but it seems to still be present in 3.5.1 for Fibre Channel 
Direct Luns at least.

Here's the python I used to test:

lun_id = '3600a098038303053453f463045727654'
lu = params.LogicalUnit()
lu.set_id(lun_id)
lus = list()
lus.append(lu)

storage_params = params.Storage()
storage_params.set_id(lun_id)
storage_params.set_logical_unit(lus)
storage_params.set_type('fcp')
disk_params = params.Disk()
disk_params.set_format('raw')
disk_params.set_interface('virtio')
disk_params.set_alias(disk_name)
disk_params.set_active(True)
disk_params.set_lun_storage(storage_params)
disk = api.disks.add(disk_params)


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

Thanks,
Ryan
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] live snapshot merging

2015-10-16 Thread Nir Soffer
Adding Adam

On Fri, Oct 16, 2015 at 1:49 PM, Nir Soffer  wrote:
>
> בתאריך 16 באוק׳ 2015 1:05 אחה״צ,‏ "Koen Vanoppen" 
> כתב:
>>
>> Dear Community,
>>
>> Are there plans for live merging of snapshots?
>> I know it is supported from libvirt 1.2.10.
>
> It is supported since 3.5 if libvirt supports it.
>
> Nir
>>
>> Kind regards,
>>
>> Koen
>>
>> ___
>> 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 remove orphaned image

2015-10-16 Thread Jiří Sléžka

Hi,

it took me awhile to realize that in my case is removing the orphaned 
image as easy as


vdsClient -s 0 deleteImage "088e7ed9-84c7-4fbd-a570-f37fa986a772" 
"0002-0002-0002-0002-02b9" 
"be5c56de-6a22-4d1a-8579-f0f5d501d90c"


You have to run it on SPM host

It returns job UUID, then you can grep your vdsm.log to see what happened.

anyway, orphaned images feature would be still useful ;-)

Cheers,
Jiri



Is the image located under the same storage pool the host is currently
connected to?
You can check the current connected storage pool by the following:
# vdsClient -s 0 getConnectedStoragePoolsList


yes, it is located on the same storage pool

vdsClient -s 0 getConnectedStoragePoolsList
0002-0002-0002-0002-02b9

orphaned image info is

vdsClient -s 0 getVolumeInfo "088e7ed9-84c7-4fbd-a570-f37fa986a772"
"0002-0002-0002-0002-02b9"
"be5c56de-6a22-4d1a-8579-f0f5d501d90c"
"0681822f-3ac8-473b-95ce-380f8ab4de06"

 status = OK
 domain = 088e7ed9-84c7-4fbd-a570-f37fa986a772
 capacity = 322122547200
 voltype = LEAF
 description =
 parent = ----
 format = RAW
 image = be5c56de-6a22-4d1a-8579-f0f5d501d90c
 uuid = 0681822f-3ac8-473b-95ce-380f8ab4de06
 disktype = 2
 legality = LEGAL
 mtime = 0
 apparentsize = 322122547200
 truesize = 322122547200
 type = PREALLOCATED
 children = []
 pool =
 ctime = 1440611370


Cheers,

Jiri





On Fri, Oct 9, 2015 at 12:45 PM, Jiří Sléžka > wrote:

Hello,

I have some orphaned images on a storage domain which are not
visible from manager and I would like to remove them.

I found one proposed feature which would be useful but seems not
exists yet - http://www.ovirt.org/Features/Orphaned_Images

Also I found this feature http://www.ovirt.org/Features/Domain_Scan
but there is no documentation how to use it.

Could you suggest me safe manual steps to remove an orphaned image?

btw. I know all info about this image - sdUUID, spUUID, imgUUID,
volUUID, volume path, logical volume on which is stored,... I am
using oVirt3.5.4

Thanks in advance,

Jiri Slezka


___
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



<>

smime.p7s
Description: Elektronicky podpis S/MIME
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Creating a Instance

2015-10-16 Thread Budur Nagaraju
HI ,

While a deploying a vm from the template ,its taking minimum 15 minutes is
there any ways to solve the issues ?

Thanks,
Nagaraju
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt - High Availability

2015-10-16 Thread Indunil Jayasooriya
Hi,


Thank you very much for help.

I have one more question.


How to connect *ILO Power Management ports *between *2 hypersvisors? *


Let's assume,

192.168.1.1/24  is the ip address of hypersvisor1 node.
192.168.1.2/24 is the ip address given to ILO port of hypersvisor1 node.

192.168.1.3/24  is the ip address of hypersvisor2 node.
192.168.1.4/24 is the ip address given to ILO port of hypersvisor2 node.

then,  Can We connect ILO ports of these 2 hypersvisors *to the same switch*
where Ethernet ports of these 2 hypersvisors are connected?

or

can we connect ILO ports of these 2 hypersvisors with  a *CROSS cable*
while Ethernet ports of these 2 hypersvisors are connected
*to a switch? *

If you can answer, I will be able to complete this question?

Hope to hear from you.





On Wed, Oct 14, 2015 at 3:21 PM, Eli Mesika  wrote:

>
>
> - Original Message -
> > From: "Indunil Jayasooriya" 
> > To: "Eli Mesika" 
> > Cc: users@ovirt.org
> > Sent: Tuesday, October 13, 2015 6:25:59 PM
> > Subject: Re: [ovirt-users] oVirt - High Availability
> >
> > Hi,
> >
> > Thank you very much for your reply.
> >
> > I would like to know in which cases HA will happen?
> >
> > 1. network failure? ( i.e , if we accidentally remove the network cable
> or
> > if network card stopped working due to some reasons. )
> >
> > 2. Server is suddenly shut-down due to power failure (i.e - NOT a proper
> > shut-down ) or due to server  Hardware failure such as motherboard or
> > processor.
> >
> > 3. accidental reboot ?
>
> Basically yes for all 3
> in case of 1)
> There is a grace period that depends on the host load we give the host to
> get UP again and if that grace period passes then host is rebooted and HA
> VMs are atetmpted  to run on a different host
>
> >
> >
> > WILL HA will happen when above mentioned things happen?
> >
> >
> > YES or NO?
> >
> > Hope to hear from you?
> >
> >
> > On Tue, Oct 13, 2015 at 7:33 PM, Eli Mesika  wrote:
> >
> > >
> > >
> > > - Original Message -
> > > > From: "Indunil Jayasooriya" 
> > > > To: users@ovirt.org
> > > > Sent: Tuesday, October 13, 2015 6:13:22 AM
> > > > Subject: [ovirt-users] oVirt - High Availability
> > > >
> > > > Hi users,
> > > >
> > > >
> > > > I have setup OVIRT 3.5 with 2 REDHAT 7.1 hosts. Everything is ok
> other
> > > than
> > > > HA ( High Availability). To test HA, Documentation says, Power
> > > Management is
> > > > needed.
> > > >
> > > > Could you pls let me know if this Power Management is a separate
> Device
> > > or
> > > > does it come with a BRANDED Server such as HP, IBM or Dell?
> > >
> > > PM can be implemented by a separate card or come as part of a  BRANDED
> > > Server such as HP, IBM or Dell.
> > >
> > > >
> > > > I have seen a ILO port in HP servers. Can I use it for HA ( High
> > > > Availability) in ovirt?
> > >
> > > Yes you can, ILO is one of the PM devices supported by oVirt
> > >
> > > >
> > > > If power management is present in Branded Servers , Could you pls
> let me
> > > know
> > > > some Branded RHEL 7.1/CentOS 7.1 supported servers?
> > > >
> > > > Then, I can use it for Production use.
> > > >
> > > >
> > > > This is an YOU TUBE video for HA.
> > > >
> > > > https://www.youtube.com/watch?v=uHCnXGUMaS0
> > > >
> > > > Is this a correct video for HA?
> > >
> > > Please see also https://www.youtube.com/watch?v=IuRPGU7nF1E
> > >
> > > >
> > > >
> > > > I did some research.
> > > >
> > > > a few URLs.
> > > >
> > > >
> > > > http://lists.ovirt.org/pipermail/users/2013-January/011519.html
> > > >
> > > > http://www.ovirt.org/OVirt_Administration_Guide#Host_Resilience
> > > >
> > > >
> > >
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Administration_Guide/sect-Improving_Uptime_with_Virtual_Machine_High_Availability.html
> > > >
> > > >
> > > > what is Soft-Fencing Hosts ? ovirt doc gives below . (
> > > > http://www.ovirt.org/OVirt_Administration_Guide#Host_Resilience )
> > > >
> > > > Soft-Fencing Hosts
> > > >
> > > >
> > > > Sometimes a host becomes non-responsive due to an unexpected
> problem, and
> > > > though VDSM is unable to respond to requests, the virtual machines
> that
> > > > depend upon VDSM remain alive and accessible. In these situations,
> > > > restarting VDSM returns VDSM to a responsive state and resolves this
> > > issue.
> > > >
> > > > oVirt 3.3 introduces "soft-fencing over SSH". Prior to oVirt 3.3,
> > > > non-responsive hosts were fenced only by external fencing devices. In
> > > oVirt
> > > > 3.3, the fencing process has been expanded to include "SSH Soft
> > > Fencing", a
> > > > process whereby oVirt attempts to restart VDSM via SSH on
> non-responsive
> > > > hosts. If oVirt fails to restart VDSM via SSH, the responsibility for
> > > > fencing falls to the external fencing agent if an external fencing
> agent
> > > has
> > > > been configured.
> > > >
> > 

Re: [ovirt-users] live snapshot merging

2015-10-16 Thread Nir Soffer
בתאריך 16 באוק׳ 2015 1:05 אחה״צ,‏ "Koen Vanoppen" 
כתב:
>
> Dear Community,
>
> Are there plans for live merging of snapshots?
> I know it is supported from libvirt 1.2.10.

It is supported since 3.5 if libvirt supports it.

Nir
>
> Kind regards,
>
> Koen
>
> ___
> 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] integrate iSCSI and FC on the same oVirt datacenter

2015-10-16 Thread Kapetanakis Giannis

On 16/10/15 01:01, Nir Soffer wrote:



>
> I thought something like this might work:
>
> node[1]: FC - ISCSI <-> node[2]: ISCSI - FC

I dont follow - how do you want to share your fc storage over iscsi?

And what are these nodes? Storage nodes? Hypervisors?

Nir



The initial idea was to share FC over IP network. All nodes are ovirt 
nodes (hypervisors).


One node see the FC storage share as a block device. Take this block 
device and share it over iscsi to node[2].
The node[2] will see the block device and create a new FC target to use 
it itself...


I know, its science fiction...

After reading a bit on the subject another solution would be FCoE vn2vn 
but this probably requires hardware.

Specific switches with DCB and FIP snooping which i don't have.

Any idea to extend FC to nodes without FC HBAs is welcome.

G
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Creating a Instance

2015-10-16 Thread Nir Soffer
בתאריך 16 באוק׳ 2015 9:11 לפנה״צ,‏ "Budur Nagaraju"  כתב:
>
> HI ,
>
> While a deploying a vm from the template ,its taking minimum 15 minutes
is there any ways to solve the issues ?

What is the template size? storage server? network? free space on storage?
logs?

Nir
>
> Thanks,
> Nagaraju
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] live snapshot merging

2015-10-16 Thread Koen Vanoppen
Dear Community,

Are there plans for live merging of snapshots?
I know it is supported from libvirt 1.2.10.

Kind regards,

Koen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Creating a Instance

2015-10-16 Thread Budur Nagaraju
Below are the details,

Template size :virtual size 20GB ,actual size :4GB
Storage server :Dell mounted through NFS storage capacity 2TB
Free space :1.5TB

There is no warn message in the engine ,let me know what logs you are
expecting ?

Thanks,
Nagaraju



On Fri, Oct 16, 2015 at 4:24 PM, Nir Soffer  wrote:

>
> בתאריך 16 באוק׳ 2015 9:11 לפנה״צ,‏ "Budur Nagaraju" 
> כתב:
> >
> > HI ,
> >
> > While a deploying a vm from the template ,its taking minimum 15 minutes
> is there any ways to solve the issues ?
>
> What is the template size? storage server? network? free space on storage?
> logs?
>
> Nir
> >
> > Thanks,
> > Nagaraju
> >
> >
> > ___
> > 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] Creating a Instance

2015-10-16 Thread Nir Soffer
בתאריך 16 באוק׳ 2015 2:10 אחה״צ,‏ "Budur Nagaraju"  כתב:
>
> Below are the details,
>
> Template size :virtual size 20GB ,actual size :4GB
> Storage server :Dell mounted through NFS storage capacity 2TB
> Free space :1.5TB
>
> There is no warn message in the engine ,let me know what logs you are
expecting ?

vdsm.log showing the these 15 minutes may be useful.
>
> Thanks,
> Nagaraju
>
>
>
> On Fri, Oct 16, 2015 at 4:24 PM, Nir Soffer  wrote:
>>
>>
>> בתאריך 16 באוק׳ 2015 9:11 לפנה״צ,‏ "Budur Nagaraju" 
כתב:
>> >
>> > HI ,
>> >
>> > While a deploying a vm from the template ,its taking minimum 15
minutes is there any ways to solve the issues ?
>>
>> What is the template size? storage server? network? free space on
storage? logs?
>>
>> Nir
>> >
>> > Thanks,
>> > Nagaraju
>> >
>> >
>> > ___
>> > 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