Re: [ovirt-users] Best practices for LACP bonds on oVirt

2017-07-03 Thread Yedidyah Bar David
On Tue, Jul 4, 2017 at 3:51 AM, Vinícius Ferrão  wrote:
> Hello,
>
> I’m deploying oVirt for the first time and a question has emerged: what is 
> the good practice to enable LACP on oVirt Node? Should I create 802.3ad bond 
> during the oVirt Node installation in Anaconda, or it should be done in a 
> posterior moment inside the Hosted Engine manager?

Adding Simone for this, but I think that hosted-engine --deploy does
not know to create bonds, so you better do this beforehand. It does
know to recognize bonds and their slaves, and so will not let you
configure the ovirtmgmt bridge on one of the slave nics of a bond.

>
> In my deployment we have 4x GbE interfaces. eth0 and eth1 will be a LACP bond 
> for management and servers VLAN’s, while eth1 and eth2 are Multipath iSCSI 
> disks (MPIO).

You probably meant eth2 and eth3 for the latter bond.

This is probably more a matter of personal preference than a result of
a scientific examination, but I personally prefer, assuming that eth0
and eth1 are managed by a single PCI component and eth2 and eth3 by
another one, and especially if they are different, and using different
kernel modules, to have one bond on eth0 and eth2, and another on eth1
and eth3. This way, presumably, if some (hardware or software) bug hits
one of the PCI devices, both bonds hopefully keep working.

Just my two cents,

>
> Thanks,
> V.
>
> ___
> 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


Re: [ovirt-users] Best practices for LACP bonds on oVirt

2017-07-03 Thread Konstantin Shalygin
Red Hat Virtualization Host (RHVH) is a minimal operating system based 
on Red Hat Enterprise Linux that is designed to provide a simple 
method for setting up a physical machine to act as a hypervisor in a 
Red Hat Virtualization environment. The minimal operating system 
contains only the packages required for the machine to act as a 
hypervisor, and features a Cockpit user interface for monitoring the 
host and performing administrative tasks.


I as Administrator self-know what packages is required for my hardware 
and I don't need Cockpit. So CentOS minimal is my choice.



On 07/04/2017 11:36 AM, Vinícius Ferrão wrote:

It’s the hypervisor appliance, just like RHVH.


--
Best regards,
Konstantin Shalygin

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


Re: [ovirt-users] Best practices for LACP bonds on oVirt

2017-07-03 Thread Vinícius Ferrão
LOL.

It’s the hypervisor appliance, just like RHVH.

> On 4 Jul 2017, at 01:23, Konstantin Shalygin  wrote:
> 
> I don't know what is oVirt Node :)
> 
> And for "generic_linux" I have 95% automation (work in progress).
> 
> 
> On 07/04/2017 11:20 AM, Vinícius Ferrão wrote:
>> Just abusing a little more, why you use CentOS instead of oVirt Node? What’s 
>> the reason behind this choice?
> 
> -- 
> Best regards,
> Konstantin Shalygin
> 

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


Re: [ovirt-users] Best practices for LACP bonds on oVirt

2017-07-03 Thread Konstantin Shalygin

Not for hosted engine, with ovirt-engine of course.


On 07/04/2017 11:27 AM, Yaniv Kaul wrote:

How are you using Ceph for hosted engine?


--
Best regards,
Konstantin Shalygin

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


Re: [ovirt-users] Best practices for LACP bonds on oVirt

2017-07-03 Thread Yaniv Kaul
On Jul 4, 2017 7:14 AM, "Konstantin Shalygin"  wrote:

Yes, I do deployment in four steps:

1. Install CentOS via iDRAC.
2. Attach vlan to 10G physdev via iproute. This is one handwork. May be
replaced via DHCP management, but for now I only have 2x10G Fiber, without
any DHCP.
3. Run ovirt_deploy Ansible role.
4. Attach oVirt networks after host activate.

About iSCSI, NFS. I don't know anything about it. I use Ceph.


How are you using Ceph for hosted engine?
Y.


On 07/04/2017 10:50 AM, Vinícius Ferrão wrote:

Thanks, Konstantin.

Just to be clear enough: the first deployment would be made on classic eth
interfaces and later after the deployment of Hosted Engine I can convert
the "ovirtmgmt" network to a LACP Bond, right?

Another question: what about iSCSI Multipath on Self Hosted Engine? I've
looked through the net and only found this issue: https://bugzilla.
redhat.com/show_bug.cgi?id=1193961

Appears to be unsupported as today, but there's an workaround on the
comments. It's safe to deploy this way? Should I use NFS instead?


-- 
Best regards,
Konstantin Shalygin


___
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] Best practices for LACP bonds on oVirt

2017-07-03 Thread Konstantin Shalygin

I don't know what is oVirt Node :)

And for "generic_linux" I have 95% automation (work in progress).


On 07/04/2017 11:20 AM, Vinícius Ferrão wrote:
Just abusing a little more, why you use CentOS instead of oVirt Node? 
What’s the reason behind this choice?


--
Best regards,
Konstantin Shalygin

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


Re: [ovirt-users] Best practices for LACP bonds on oVirt

2017-07-03 Thread Vinícius Ferrão
Ok, thank you!

Just abusing a little more, why you use CentOS instead of oVirt Node? What’s 
the reason behind this choice?

Thanks,
V.

On 4 Jul 2017, at 00:50, Vinícius Ferrão 
> wrote:

Thanks, Konstantin.

Just to be clear enough: the first deployment would be made on classic eth 
interfaces and later after the deployment of Hosted Engine I can convert the 
"ovirtmgmt" network to a LACP Bond, right?

Another question: what about iSCSI Multipath on Self Hosted Engine? I've looked 
through the net and only found this issue: 
https://bugzilla.redhat.com/show_bug.cgi?id=1193961

Appears to be unsupported as today, but there's an workaround on the comments. 
It's safe to deploy this way? Should I use NFS instead?

Thanks,
V.

Sent from my iPhone

On 3 Jul 2017, at 21:55, Konstantin Shalygin 
> wrote:

Hello,

I’m deploying oVirt for the first time and a question has emerged: what is the 
good practice to enable LACP on oVirt Node? Should I create 802.3ad bond during 
the oVirt Node installation in Anaconda, or it should be done in a posterior 
moment inside the Hosted Engine manager?

In my deployment we have 4x GbE interfaces. eth0 and eth1 will be a LACP bond 
for management and servers VLAN’s, while eth1 and eth2 are Multipath iSCSI 
disks (MPIO).

Thanks,
V.

Do all your network settings in ovirt-engine webadmin.

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


Re: [ovirt-users] Best practices for LACP bonds on oVirt

2017-07-03 Thread Konstantin Shalygin

Yes, I do deployment in four steps:

1. Install CentOS via iDRAC.
2. Attach vlan to 10G physdev via iproute. This is one handwork. May be 
replaced via DHCP management, but for now I only have 2x10G Fiber, 
without any DHCP.

3. Run ovirt_deploy Ansible role.
4. Attach oVirt networks after host activate.

About iSCSI, NFS. I don't know anything about it. I use Ceph.


On 07/04/2017 10:50 AM, Vinícius Ferrão wrote:

Thanks, Konstantin.

Just to be clear enough: the first deployment would be made on classic 
eth interfaces and later after the deployment of Hosted Engine I can 
convert the "ovirtmgmt" network to a LACP Bond, right?


Another question: what about iSCSI Multipath on Self Hosted Engine? 
I've looked through the net and only found this issue: 
https://bugzilla.redhat.com/show_bug.cgi?id=1193961


Appears to be unsupported as today, but there's an workaround on the 
comments. It's safe to deploy this way? Should I use NFS instead?


--
Best regards,
Konstantin Shalygin

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


Re: [ovirt-users] Best practices for LACP bonds on oVirt

2017-07-03 Thread Vinícius Ferrão
Thanks, Konstantin.

Just to be clear enough: the first deployment would be made on classic eth 
interfaces and later after the deployment of Hosted Engine I can convert the 
"ovirtmgmt" network to a LACP Bond, right?

Another question: what about iSCSI Multipath on Self Hosted Engine? I've looked 
through the net and only found this issue: 
https://bugzilla.redhat.com/show_bug.cgi?id=1193961

Appears to be unsupported as today, but there's an workaround on the comments. 
It's safe to deploy this way? Should I use NFS instead?

Thanks,
V.

Sent from my iPhone

On 3 Jul 2017, at 21:55, Konstantin Shalygin 
> wrote:

Hello,

I'm deploying oVirt for the first time and a question has emerged: what is the 
good practice to enable LACP on oVirt Node? Should I create 802.3ad bond during 
the oVirt Node installation in Anaconda, or it should be done in a posterior 
moment inside the Hosted Engine manager?

In my deployment we have 4x GbE interfaces. eth0 and eth1 will be a LACP bond 
for management and servers VLAN's, while eth1 and eth2 are Multipath iSCSI 
disks (MPIO).

Thanks,
V.

Do all your network settings in ovirt-engine webadmin.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Best practices for LACP bonds on oVirt

2017-07-03 Thread Konstantin Shalygin

Hello,

I’m deploying oVirt for the first time and a question has emerged: what is the 
good practice to enable LACP on oVirt Node? Should I create 802.3ad bond during 
the oVirt Node installation in Anaconda, or it should be done in a posterior 
moment inside the Hosted Engine manager?

In my deployment we have 4x GbE interfaces. eth0 and eth1 will be a LACP bond 
for management and servers VLAN’s, while eth1 and eth2 are Multipath iSCSI 
disks (MPIO).

Thanks,
V.


Do all your network settings in ovirt-engine webadmin.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Best practices for LACP bonds on oVirt

2017-07-03 Thread Vinícius Ferrão
Hello,

I’m deploying oVirt for the first time and a question has emerged: what is the 
good practice to enable LACP on oVirt Node? Should I create 802.3ad bond during 
the oVirt Node installation in Anaconda, or it should be done in a posterior 
moment inside the Hosted Engine manager?

In my deployment we have 4x GbE interfaces. eth0 and eth1 will be a LACP bond 
for management and servers VLAN’s, while eth1 and eth2 are Multipath iSCSI 
disks (MPIO).

Thanks,
V.

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


Re: [ovirt-users] iSCSI multipathing setup troubles

2017-07-03 Thread Vinícius Ferrão
I've found this on RHV manual, which should apply to oVirt:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Administration_Guide/sect-Preparing_and_Adding_Block_Storage.html#Configuring_iSCSI_Multipathing

Let me know if works, because I'm considering a migration to oVirt and I will 
have the same issue.

V.

Sent from my iPhone

On 3 Jul 2017, at 11:42, Matthias Leopold 
> 
wrote:

hi,

i'm trying to use iSCSI multipathing for a LUN shared by a Hitachi SAN. i can't 
figure out how this is supposed to work, maybe my setup isn't applicable at 
all...

our storage admin shared the same LUN for me on two targets, which are located 
in two logical networks connected to different switches (i asked him to do so). 
on the oVirt hypervisor side there is only one bonded interface for storage 
traffic, so i configured two VLAN interfaces located in these networks on the 
bond interface.

now i create the storage domain logging in to one of the targets connecting 
through its logical network. when i try to create a "second" storage domain for 
the same LUN logging in to the second target, oVirt tells me "LUN is already in 
use". i understand this, but now i can't configure an oVirt "iSCSI Bond" in any 
way.

how is this supposed to work?
right now the only working setup i can think of would be an iSCSI target that 
uses a redundant bond interface (with only one IP addresss) to which my 
hypervisors connect through different routed networks (using either dedicated 
network cards or vlan interfaces). is that correct?

i feel like i'm missing something, but i couldn't find any examples for real 
world IP setups for iSCSI multipathing.

thanks for explaining
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] download/export a VM image

2017-07-03 Thread FERNANDO FREDIANI

Have exactlly the same doubt here as well.


On 03/07/2017 12:05, aduckers wrote:

Running a 4.1 cluster with FC SAN storage.  I’ve got a VM that I’ve customized, 
and would now like to pull that out of oVirt in order to share with folks 
outside the environment.
What’s the easiest way to do that?
I see that the export domain is being deprecated, though I can still set one up 
at this time.  Even in the case of an NFS export domain though, it looks like 
I’d need to drill down into the exported file system and find the correct image 
based on VMID (I think..).

Is there a simple way to grab a VM image?

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


[ovirt-users] download/export a VM image

2017-07-03 Thread aduckers
Running a 4.1 cluster with FC SAN storage.  I’ve got a VM that I’ve customized, 
and would now like to pull that out of oVirt in order to share with folks 
outside the environment.
What’s the easiest way to do that?
I see that the export domain is being deprecated, though I can still set one up 
at this time.  Even in the case of an NFS export domain though, it looks like 
I’d need to drill down into the exported file system and find the correct image 
based on VMID (I think..).

Is there a simple way to grab a VM image?

Thanks

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


Re: [ovirt-users] [Ovirt 4.0.6] Suggestion required for Network Throughput options

2017-07-03 Thread TranceWorldLogic .
Hi Yaniv,

I tried looking into rng direction and I found below stats.
I am not familiar with rng device but it look to me /dev/urandom giving me
better option.
But I am unaware how can I use urandom device in ovirt.

RANDOM DEVICE ==>
cat /dev/random | rngtest -c 1000
rngtest 5
Copyright (c) 2004 by Henrique de Moraes Holschuh
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

rngtest: starting FIPS tests...
rngtest: bits received from input: 2032
rngtest: FIPS 140-2 successes: 1000
rngtest: FIPS 140-2 failures: 0
rngtest: FIPS 140-2(2001-10-10) Monobit: 0
rngtest: FIPS 140-2(2001-10-10) Poker: 0
rngtest: FIPS 140-2(2001-10-10) Runs: 0
rngtest: FIPS 140-2(2001-10-10) Long run: 0
rngtest: FIPS 140-2(2001-10-10) Continuous run: 0
rngtest: input channel speed: (min=3.594; avg=4.813; max=5.968)Mibits/s
rngtest: FIPS tests speed: (min=93.958; avg=129.073; max=157.632)Mibits/s
rngtest: Program run time: 4111375 microseconds

URANDOM DEVICE ==>
cat /dev/urandom | rngtest -c 1000
rngtest 5
Copyright (c) 2004 by Henrique de Moraes Holschuh
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

rngtest: starting FIPS tests...
rngtest: bits received from input: 2032
rngtest: FIPS 140-2 successes: 1000
rngtest: FIPS 140-2 failures: 0
rngtest: FIPS 140-2(2001-10-10) Monobit: 0
rngtest: FIPS 140-2(2001-10-10) Poker: 0
rngtest: FIPS 140-2(2001-10-10) Runs: 0
rngtest: FIPS 140-2(2001-10-10) Long run: 0
rngtest: FIPS 140-2(2001-10-10) Continuous run: 0
rngtest: input channel speed: (min=1.035; avg=17.311; max=18.626)Gibits/s
rngtest: FIPS tests speed: (min=119.959; avg=161.107; max=164.427)Mibits/s
rngtest: Program run time: 120154 microseconds

Thanks,
~Rohit



On Fri, Jun 30, 2017 at 7:42 PM, TranceWorldLogic . <
tranceworldlo...@gmail.com> wrote:

> Your understanding is correct issue only due to encryption/decryption
> process but not got idea why not word.
> I found that in centos 7 we not have install rng-tools.
>
> Do it required to install for random generator ?
>
> I have changes nothing I just increase number of queues in vnet. It
> diffenetly increase throughput and create multiple softIRQs in VM.
> But for normal traffic this all things are not required it gives 10G
> throughput.
>
> Thanks,
> ~Rohit
>
> On Fri, Jun 30, 2017 at 7:08 PM, Yaniv Kaul  wrote:
>
>>
>>
>> On Fri, Jun 30, 2017 at 4:14 PM, TranceWorldLogic . <
>> tranceworldlo...@gmail.com> wrote:
>>
>>> Hi Yaniv,
>>>
>>> I have enabled random generator in cluster and also in VM.
>>> But still not see any improvement in throughput.
>>>
>>> lsmod | grep -i virtio
>>> virtio_rng 13019  0
>>>
>>
>> Are you sure it's being used? What is the qemu command line (do you see
>> the device in the guest?)
>>
>>
>>> virtio_balloon 13834  0
>>> virtio_console 28115  2
>>> virtio_blk 18156  4
>>> virtio_scsi18361  0
>>> virtio_net 28024  0
>>> virtio_pci 22913  0
>>> virtio_ring21524  7 virtio_blk,virtio_net,virtio_p
>>> ci,virtio_rng,virtio_balloon,virtio_console,virtio_scsi
>>> virtio 15008  7 virtio_blk,virtio_net,virtio_p
>>> ci,virtio_rng,virtio_balloon,virtio_console,virtio_scsi
>>>
>>> Would please check do I missing some virtio module ?
>>>
>>> One more finding, if I set queue property in vnic profile then I got
>>> good throughput.
>>>
>>
>> Interesting - I had assumed the bottleneck would be the
>> encryption/decryption process, not the network. What do you set exactly?
>> Does it matter in non-encrypted traffic as well? Are the packets (and the
>> whole communication) large or small (i.e, would jumbo frames help) ?
>>  Y.
>>
>>
>>> Thanks,
>>> ~Rohit
>>>
>>>
>>> On Fri, Jun 30, 2017 at 12:11 AM, Yaniv Kaul  wrote:
>>>


 On Thu, Jun 29, 2017 at 4:02 PM, TranceWorldLogic . <
 tranceworldlo...@gmail.com> wrote:

> Got it, just I need to do modprobe to add virtio-rng driver.
> I will try with this option.
>

 Make sure it is checked on the cluster.
 Y.

>
> Thanks for your help,
> ~Rohit
>
> On Thu, Jun 29, 2017 at 6:20 PM, TranceWorldLogic . <
> tranceworldlo...@gmail.com> wrote:
>
>> Hi,
>>
>> I am using host as Centos 7.3 and guest also centos 7.3
>> it have 3.10 kernel version.
>>
>> But I not see virtio-rng in guest VM. Is this module come with kernel
>> or separately I have to install ?
>>
>> Thanks,
>> ~Rohit
>>
>> On Thu, Jun 29, 2017 at 5:28 PM, Yaniv Kaul  wrote:
>>
>>>
>>>
>>> On Thu, Jun 29, 2017 at 10:07 AM, TranceWorldLogic . <
>>> tranceworldlo...@gmail.com> wrote:
>>>
 Hi,

 To increase network throughput 

[ovirt-users] iSCSI multipathing setup troubles

2017-07-03 Thread Matthias Leopold

hi,

i'm trying to use iSCSI multipathing for a LUN shared by a Hitachi SAN. 
i can't figure out how this is supposed to work, maybe my setup isn't 
applicable at all...


our storage admin shared the same LUN for me on two targets, which are 
located in two logical networks connected to different switches (i asked 
him to do so). on the oVirt hypervisor side there is only one bonded 
interface for storage traffic, so i configured two VLAN interfaces 
located in these networks on the bond interface.


now i create the storage domain logging in to one of the targets 
connecting through its logical network. when i try to create a "second" 
storage domain for the same LUN logging in to the second target, oVirt 
tells me "LUN is already in use". i understand this, but now i can't 
configure an oVirt "iSCSI Bond" in any way.


how is this supposed to work?
right now the only working setup i can think of would be an iSCSI target 
that uses a redundant bond interface (with only one IP addresss) to 
which my hypervisors connect through different routed networks (using 
either dedicated network cards or vlan interfaces). is that correct?


i feel like i'm missing something, but i couldn't find any examples for 
real world IP setups for iSCSI multipathing.


thanks for explaining
matthias
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] add fourth full gluster node and remove arbiter: ovirt 4.1 with hosted engine

2017-07-03 Thread yayo (j)
2017-07-03 15:42 GMT+02:00 knarra :

> So, please poweroff your vms while performing this.


Thank you,

Ok, no problem, cluster is not (yet) in production

Thank you again!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Recovering hosted-engine

2017-07-03 Thread Maton, Brett
It depends on how 'toasted' the engine is.

It is possible to mount the disk, if for example it's a kernel upgrade
that's gone wrong and stopping the machine form booting

On 3 July 2017 at 15:23, Yedidyah Bar David  wrote:

> On Mon, Jul 3, 2017 at 4:40 PM, Andrew Dent 
> wrote:
> > Hi Didi
> >
> > Fair enough.
> > If I'm in this situation.
> > I have 3 hosts with 6 production VMs.
> > The hosted-engine VM is completely toast and not recoverable.
>
> Meaning? It does not even boot? If so, then I am afraid that you
> need to follow the linked procedure, including deploying hosted-engine
> again on new (or fully cleaned) storage.
>
> Are all 3 hosts also hosted-engine hosts? And you want to keep them
> this way? If so, you'll have to reinstall them.
>
> I think, didn't try, that after you deploy a new hosted-engine host,
> and restore the engine, the new engine will see your existing hosts,
> but hosted-engine-ha will not work.
>
> If you want to try and keep your VMs running, I guess your best bet
> is to try to add a new non-hosted-engine host (one or more, as needed),
> migrate your VMs to it (them), then remove the hosted-engine hosts and
> deploy them again as described there.
>
> > However I have a backup of the hosted-engine database (do I need anything
> > else).
>
> Only database? Or a backup taken by engine-backup? You also need various
> configuration files. To see the full list, in case you didn't use
> engine-backup but can restore individual files, check BACKUP_PATHS inside
> the script. But this is definitely not supported - you should first try
> verifying by restoring on a test VM and see what happens.
>
> >
> > Is it possible to build a new VM, import the backup of the previous
> > hosted-engine database and reconnect the storage domains and VMs in their
> > running state without any VMs experiencing an outage?
>
> As I wrote above, I think it is, but hosted-engine-ha will not work.
>
> If at all possible, I strongly suggest to try to simulate this in a
> test env. Can be done using nested-kvm VMs for hosts, if you do not have
> enough real hardware.
>
> >
> > The URL
> > http://www.ovirt.org/documentation/self-hosted/
> chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/
> > looks to be longer now.
> > I'll review, test and see if this will give me what I'm looking for.
> >
> > The broken link still seems to be broken.
> > When I click the link, the browser ends up at this
> > http://www.ovirt.org/documentation/self-hosted/
> chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_
> Environment/chap-Installing_Additional_Hosts_to_a_Self-Hosted_Environment#
> documentation%20self%20hosted%20chap%20Backing%20up%20and%
> 20Restoring%20an%20EL%20Based%20Self%20Hosted%20Environment%
> 20chap%20Installing%20Additional%20Hosts%20to%20a%
> 20Self%20Hosted%20Environment
> >
> > But I suspect it should be
> > http://www.ovirt.org/documentation/self-hosted/
> chap-Installing_Additional_Hosts_to_a_Self-Hosted_Environment/
>
> In my previous mail I just wrote I sent a pull request, not that
> the site is updated already. I updated it since and it now seems
> ok to me.
>
> Best,
>
> >
> > Kind regards
> >
> > Andrew
> >
> > -- Original Message --
> > From: "Yedidyah Bar David" 
> > To: "Andrew Dent" 
> > Cc: "users" 
> > Sent: 3/07/2017 11:12:05 PM
> > Subject: Re: [ovirt-users] Recovering hosted-engine
> >
> >> On Mon, Jul 3, 2017 at 3:46 PM, Andrew Dent 
> >> wrote:
> >>>
> >>>  Has anyone successfully completed a hosted-engine recovery on a
> multiple
> >>>  host setup with production VMs?
> >>
> >>
> >> I'd like to clarify that "recovery" can span a large spectrum of
> >> flows, from a trivial "I did some change to the engine database
> >> that broke stuff and I want to restore a backup I took prior to
> >> this change" to a full system restoration including purchasing
> >> and deploying new (perhaps different) hosts/network/storage
> >> hardware, including many other flows in between.
> >>
> >> So when you plan for recovery, you should define very well what
> >> flows you plan to handle, and how you handle each.
> >>
> >> The linked procedure correctly says it's "providing an example".
> >>
> >>>
> >>>  Kind regards
> >>>
> >>>
> >>>  Andrew
> >>>
> >>>
> >>>
> >>>  -- Original Message --
> >>>  From: "Andrew Dent" 
> >>>  To: "users" 
> >>>  Sent: 2/07/2017 2:22:16 PM
> >>>  Subject: [ovirt-users] Recovering hosted-engine
> >>>
> >>>  Hi
> >>>
> >>>  A couple of questions about hosted-engine recovery.
> >>>  Part way through this URL, in the section "Workflow for Restoring the
> >>>  Self-Hosted Engine Environment"
> >>>
> >>> http://www.ovirt.org/documentation/self-hosted/
> chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/
> >>>  it looks like once the hosted-engine is recovered on 

Re: [ovirt-users] Recovering hosted-engine

2017-07-03 Thread Yedidyah Bar David
On Mon, Jul 3, 2017 at 4:40 PM, Andrew Dent  wrote:
> Hi Didi
>
> Fair enough.
> If I'm in this situation.
> I have 3 hosts with 6 production VMs.
> The hosted-engine VM is completely toast and not recoverable.

Meaning? It does not even boot? If so, then I am afraid that you
need to follow the linked procedure, including deploying hosted-engine
again on new (or fully cleaned) storage.

Are all 3 hosts also hosted-engine hosts? And you want to keep them
this way? If so, you'll have to reinstall them.

I think, didn't try, that after you deploy a new hosted-engine host,
and restore the engine, the new engine will see your existing hosts,
but hosted-engine-ha will not work.

If you want to try and keep your VMs running, I guess your best bet
is to try to add a new non-hosted-engine host (one or more, as needed),
migrate your VMs to it (them), then remove the hosted-engine hosts and
deploy them again as described there.

> However I have a backup of the hosted-engine database (do I need anything
> else).

Only database? Or a backup taken by engine-backup? You also need various
configuration files. To see the full list, in case you didn't use
engine-backup but can restore individual files, check BACKUP_PATHS inside
the script. But this is definitely not supported - you should first try
verifying by restoring on a test VM and see what happens.

>
> Is it possible to build a new VM, import the backup of the previous
> hosted-engine database and reconnect the storage domains and VMs in their
> running state without any VMs experiencing an outage?

As I wrote above, I think it is, but hosted-engine-ha will not work.

If at all possible, I strongly suggest to try to simulate this in a
test env. Can be done using nested-kvm VMs for hosts, if you do not have
enough real hardware.

>
> The URL
> http://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/
> looks to be longer now.
> I'll review, test and see if this will give me what I'm looking for.
>
> The broken link still seems to be broken.
> When I click the link, the browser ends up at this
> http://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/chap-Installing_Additional_Hosts_to_a_Self-Hosted_Environment#documentation%20self%20hosted%20chap%20Backing%20up%20and%20Restoring%20an%20EL%20Based%20Self%20Hosted%20Environment%20chap%20Installing%20Additional%20Hosts%20to%20a%20Self%20Hosted%20Environment
>
> But I suspect it should be
> http://www.ovirt.org/documentation/self-hosted/chap-Installing_Additional_Hosts_to_a_Self-Hosted_Environment/

In my previous mail I just wrote I sent a pull request, not that
the site is updated already. I updated it since and it now seems
ok to me.

Best,

>
> Kind regards
>
> Andrew
>
> -- Original Message --
> From: "Yedidyah Bar David" 
> To: "Andrew Dent" 
> Cc: "users" 
> Sent: 3/07/2017 11:12:05 PM
> Subject: Re: [ovirt-users] Recovering hosted-engine
>
>> On Mon, Jul 3, 2017 at 3:46 PM, Andrew Dent 
>> wrote:
>>>
>>>  Has anyone successfully completed a hosted-engine recovery on a multiple
>>>  host setup with production VMs?
>>
>>
>> I'd like to clarify that "recovery" can span a large spectrum of
>> flows, from a trivial "I did some change to the engine database
>> that broke stuff and I want to restore a backup I took prior to
>> this change" to a full system restoration including purchasing
>> and deploying new (perhaps different) hosts/network/storage
>> hardware, including many other flows in between.
>>
>> So when you plan for recovery, you should define very well what
>> flows you plan to handle, and how you handle each.
>>
>> The linked procedure correctly says it's "providing an example".
>>
>>>
>>>  Kind regards
>>>
>>>
>>>  Andrew
>>>
>>>
>>>
>>>  -- Original Message --
>>>  From: "Andrew Dent" 
>>>  To: "users" 
>>>  Sent: 2/07/2017 2:22:16 PM
>>>  Subject: [ovirt-users] Recovering hosted-engine
>>>
>>>  Hi
>>>
>>>  A couple of questions about hosted-engine recovery.
>>>  Part way through this URL, in the section "Workflow for Restoring the
>>>  Self-Hosted Engine Environment"
>>>
>>> http://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/
>>>  it looks like once the hosted-engine is recovered on Host 1, the VMs on
>>> Host
>>>  2 and 3 will be running, but not accessible to the recovered Hosted
>>> Engine.
>>>  Is that correct?
>>
>>
>> I am pretty certain that the procedure assumed that all hosts need
>> restoration,
>> not that some are still up-and-running.
>>
>>>  If so, how to you remove host 2 and host 3 from the environment, then
>>> add
>>>  back in again while keeping the VMs running?
>>
>>
>> That's a good question.
>>
>> Please try to describe the exact flow you have 

[ovirt-users] Virtual Machine looses connectivity with no clear explanation

2017-07-03 Thread FERNANDO FREDIANI
I have a rather strange issue which is affecting one of my last deployed 
Hypervisors. It is a CentOS 7 (not a oVirt Node) which runs only 3 
Virtual Machines.


One of these VMs have a reasonable output traffic at peaks (500 - 
700Mbps) and the hypervisor underneath is connected to the switch via a 
bonding (mode=2) which in turn creates bond0.XX interfaces which are 
connected to different bridges for each network. The VM in question is 
connected to bridge "ovirtmgmt".


When the problem happens the VM stops passing traffic and cannot reach 
even the router or other VMs in the same Layer 2. Seems the bridge stop 
passing traffic for that particular VM. Other VMs work fine since they 
were created. When this problem happens I just need to go to its Console 
and run a reboot (Ctrl-Alt-Del), don't even need to Power Off and Power 
On again using oVirt Engine.
I have even re-installed this VMs operating system from scratch but the 
problem persists. Have also changed the vNic mac address in the case 
(already check) of conflicted mac addresses somewhere in that Layer 2.


Last, my hypervisor machine (due a mistake) has been running with 
SElinux disabled, not sure if it could have anything to do with this 
behavior.


Anyway, anyone has ever seen any behavior like that ?

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


Re: [ovirt-users] Recovering hosted-engine

2017-07-03 Thread Nelson Lameiras
Hi andrew,

This is my personal experience on recovery.

Yes you can recover the hosted-engine from a backup (almost every action you 
did on on oVirt after backup will have to be manually reproduced)
This can be tricky depending on your conditions (and there are some subtleties 
which can have significant impact later on)

- Do you have still SSH access to engine ?
- If so, do you trust engine VM OS, or should you reinstall it ?

If both questions are positive, then you just need to do a engine restore as 
explained here :

http://www.ovirt.org/documentation/admin-guide/chap-Backups_and_Migration/

cordialement, regards, 


Nelson LAMEIRAS 
Ingénieur Systèmes et Réseaux / Systems and Networks engineer 
Tel: +33 5 32 09 09 70 
nelson.lamei...@lyra-network.com 

www.lyra-network.com | www.payzen.eu 





Lyra Network, 109 rue de l'innovation, 31670 Labège, FRANCE

- Original Message -
From: "Andrew Dent" 
To: "Yedidyah Bar David" , "users" 
Sent: Monday, July 3, 2017 3:40:38 PM
Subject: Re: [ovirt-users] Recovering hosted-engine

Hi Didi

Fair enough.
If I'm in this situation.
I have 3 hosts with 6 production VMs.
The hosted-engine VM is completely toast and not recoverable.
However I have a backup of the hosted-engine database (do I need 
anything else).

Is it possible to build a new VM, import the backup of the previous 
hosted-engine database and reconnect the storage domains and VMs in 
their running state without any VMs experiencing an outage?

The URL  
http://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/
looks to be longer now.
I'll review, test and see if this will give me what I'm looking for.

The broken link still seems to be broken.
When I click the link, the browser ends up at this
http://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/chap-Installing_Additional_Hosts_to_a_Self-Hosted_Environment#documentation%20self%20hosted%20chap%20Backing%20up%20and%20Restoring%20an%20EL%20Based%20Self%20Hosted%20Environment%20chap%20Installing%20Additional%20Hosts%20to%20a%20Self%20Hosted%20Environment

But I suspect it should be
http://www.ovirt.org/documentation/self-hosted/chap-Installing_Additional_Hosts_to_a_Self-Hosted_Environment/

Kind regards

Andrew

-- Original Message --
From: "Yedidyah Bar David" 
To: "Andrew Dent" 
Cc: "users" 
Sent: 3/07/2017 11:12:05 PM
Subject: Re: [ovirt-users] Recovering hosted-engine

>On Mon, Jul 3, 2017 at 3:46 PM, Andrew Dent  
>wrote:
>>  Has anyone successfully completed a hosted-engine recovery on a 
>>multiple
>>  host setup with production VMs?
>
>I'd like to clarify that "recovery" can span a large spectrum of
>flows, from a trivial "I did some change to the engine database
>that broke stuff and I want to restore a backup I took prior to
>this change" to a full system restoration including purchasing
>and deploying new (perhaps different) hosts/network/storage
>hardware, including many other flows in between.
>
>So when you plan for recovery, you should define very well what
>flows you plan to handle, and how you handle each.
>
>The linked procedure correctly says it's "providing an example".
>
>>
>>  Kind regards
>>
>>
>>  Andrew
>>
>>
>>
>>  -- Original Message --
>>  From: "Andrew Dent" 
>>  To: "users" 
>>  Sent: 2/07/2017 2:22:16 PM
>>  Subject: [ovirt-users] Recovering hosted-engine
>>
>>  Hi
>>
>>  A couple of questions about hosted-engine recovery.
>>  Part way through this URL, in the section "Workflow for Restoring the
>>  Self-Hosted Engine Environment"
>>  
>>http://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/
>>  it looks like once the hosted-engine is recovered on Host 1, the VMs 
>>on Host
>>  2 and 3 will be running, but not accessible to the recovered Hosted 
>>Engine.
>>  Is that correct?
>
>I am pretty certain that the procedure assumed that all hosts need 
>restoration,
>not that some are still up-and-running.
>
>>  If so, how to you remove host 2 and host 3 from the environment, then 
>>add
>>  back in again while keeping the VMs running?
>
>That's a good question.
>
>Please try to describe the exact flow you have in mind. What's broken 
>and
>needs restoration, and how do you plan to do that?
>
>>
>>  Host 2 and Host 3 are not recoverable in their current state. These 
>>hosts
>>  need to be removed from the environment, and then added again to the
>>  environment using the hosted-engine deployment script. For more 
>>information
>>  on these actions, see the Removing Non-Operational Hosts from a 
>>Restored
>>  Self-Hosted Engine Environment section below and Chapter 7: 
>>Installing
>>  Additional Hosts to a Self-Hosted 

Re: [ovirt-users] add fourth full gluster node and remove arbiter: ovirt 4.1 with hosted engine

2017-07-03 Thread knarra

On 07/03/2017 06:58 PM, knarra wrote:

On 07/03/2017 06:53 PM, yayo (j) wrote:

Hi,

And sorry for delay

2017-06-30 14:09 GMT+02:00 knarra >:


To add a fully replicated node  you need to reduce the replica
count to 2 and add new brick to the volume so that it becomes
replica 3. Reducing replica count by removing a brick from
replica / arbiter cannot be done from UI currently and this has
to be done using gluster CLI.
 AFAIR, there was an issue where vm's were going to paused state
when reducing the replica count and increasing it to 3. Not sure
if this still holds good with the latest release.

Any specific reason why you want to move to full replication
instead of using an arbiter node ?


We have a new server with the same hard disk size of other two node, 
so, why not? Why join the cluster as an arbiter when we can have the 
same disk capacity to add extra replication?




and remove the arbiter node (Also a way to move the arbiter role
to the new node, If needed)

To move arbiter role to a new node you can move the node to
maintenance , add  new node and replace  old brick with new
brick. You can follow the steps below to do that.

  * Move the node to be replaced into Maintenance mode
  * Prepare the replacement node
  * Prepare bricks on that node.
  * Create replacement brick directories
  * Ensure the new directories are owned by the vdsm user and the
kvm group.
  * # mkdir /rhgs/bricks/engine
  * # chmod vdsm:kvm /rhgs/bricks/engine
  * # mkdir /rhgs/bricks/data
  * # chmod vdsm:kvm /rhgs/bricks/data
  * Run the following command from one of the healthy cluster
members:
  * # gluster peer probe 
  * add the new host to the cluster.
  * Add new host address to gluster network
  * Click Network Interfaces sub-tab.
  * Click Set up Host Networks.
  * Drag and drop the glusternw network onto the IP address of
the new host.
  * Click OK
  * Replace the old brick with the brick on the new host
  * Click the Bricks sub-tab.
  * Verify that brick heal completes successfully.
  * In the Hosts tab, right-click on the old host and click Remove.
  * Clean old host metadata
  * # hosted-engine --clean-metadata --host-id=
--force-clean



I need this (reads: I need the arbiter role) if I reduce replica 
count then I add the new node as full replica and increasing replica 
count again to 3? (As you expained above)



Above steps hold good if you want to move the arbiter role to a new node.

If you want to move to full replica, reducing the replica count will 
work fine but increasing it again back to 3 might cause vm pause issues.

So, please poweroff your vms while performing this.






Thank you





___
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] Recovering hosted-engine

2017-07-03 Thread Andrew Dent

Hi Didi

Fair enough.
If I'm in this situation.
I have 3 hosts with 6 production VMs.
The hosted-engine VM is completely toast and not recoverable.
However I have a backup of the hosted-engine database (do I need 
anything else).


Is it possible to build a new VM, import the backup of the previous 
hosted-engine database and reconnect the storage domains and VMs in 
their running state without any VMs experiencing an outage?


The URL  
http://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/

looks to be longer now.
I'll review, test and see if this will give me what I'm looking for.

The broken link still seems to be broken.
When I click the link, the browser ends up at this
http://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/chap-Installing_Additional_Hosts_to_a_Self-Hosted_Environment#documentation%20self%20hosted%20chap%20Backing%20up%20and%20Restoring%20an%20EL%20Based%20Self%20Hosted%20Environment%20chap%20Installing%20Additional%20Hosts%20to%20a%20Self%20Hosted%20Environment

But I suspect it should be
http://www.ovirt.org/documentation/self-hosted/chap-Installing_Additional_Hosts_to_a_Self-Hosted_Environment/

Kind regards

Andrew

-- Original Message --
From: "Yedidyah Bar David" 
To: "Andrew Dent" 
Cc: "users" 
Sent: 3/07/2017 11:12:05 PM
Subject: Re: [ovirt-users] Recovering hosted-engine

On Mon, Jul 3, 2017 at 3:46 PM, Andrew Dent  
wrote:
 Has anyone successfully completed a hosted-engine recovery on a 
multiple

 host setup with production VMs?


I'd like to clarify that "recovery" can span a large spectrum of
flows, from a trivial "I did some change to the engine database
that broke stuff and I want to restore a backup I took prior to
this change" to a full system restoration including purchasing
and deploying new (perhaps different) hosts/network/storage
hardware, including many other flows in between.

So when you plan for recovery, you should define very well what
flows you plan to handle, and how you handle each.

The linked procedure correctly says it's "providing an example".



 Kind regards


 Andrew



 -- Original Message --
 From: "Andrew Dent" 
 To: "users" 
 Sent: 2/07/2017 2:22:16 PM
 Subject: [ovirt-users] Recovering hosted-engine

 Hi

 A couple of questions about hosted-engine recovery.
 Part way through this URL, in the section "Workflow for Restoring the
 Self-Hosted Engine Environment"
 
http://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/
 it looks like once the hosted-engine is recovered on Host 1, the VMs 
on Host
 2 and 3 will be running, but not accessible to the recovered Hosted 
Engine.

 Is that correct?


I am pretty certain that the procedure assumed that all hosts need 
restoration,

not that some are still up-and-running.

 If so, how to you remove host 2 and host 3 from the environment, then 
add

 back in again while keeping the VMs running?


That's a good question.

Please try to describe the exact flow you have in mind. What's broken 
and

needs restoration, and how do you plan to do that?



 Host 2 and Host 3 are not recoverable in their current state. These 
hosts

 need to be removed from the environment, and then added again to the
 environment using the hosted-engine deployment script. For more 
information
 on these actions, see the Removing Non-Operational Hosts from a 
Restored
 Self-Hosted Engine Environment section below and Chapter 7: 
Installing

 Additional Hosts to a Self-Hosted Environment.

 BTW: The link referring to chapter 7 is broken.


You are right. The link in the bottom of the page seems working.
Now pushed [1] to fix. Thanks for the report!

[1]

Best,
--
Didi


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


Re: [ovirt-users] [Ovirt 4.0] Cluster : Scheduling policy

2017-07-03 Thread TranceWorldLogic .
I got it.
It is under configure button at top right corner.

I want to do below stuff please help me how can I make it possible using
ovirt.
(let assume 2 host system and 1 vm)
1> I want to pin Host for particular VM let say host is host1.
2> In some circumstances let say host1 goes down in that case vm migrate to
host2.
3> After sometime host1 comes up.
4> I want vm to migrate back to its pin host (i.e host1)

Please help me.

Thanks,
~Rohit

On Mon, Jul 3, 2017 at 6:27 PM, TranceWorldLogic . <
tranceworldlo...@gmail.com> wrote:

> Hi,
>
> Can some one help me how to select PinToHost policy in ovirt 4.0 ?
> I am lost in GUI.
>
> http://www.ovirt.org/develop/release-management/features/
> sla/scheduler-policies/
>
> Thanks,
> ~Rohit
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] add fourth full gluster node and remove arbiter: ovirt 4.1 with hosted engine

2017-07-03 Thread knarra

On 07/03/2017 06:53 PM, yayo (j) wrote:

Hi,

And sorry for delay

2017-06-30 14:09 GMT+02:00 knarra >:


To add a fully replicated node  you need to reduce the replica
count to 2 and add new brick to the volume so that it becomes
replica 3. Reducing replica count by removing a brick from replica
/ arbiter cannot be done from UI currently and this has to be done
using gluster CLI.
 AFAIR, there was an issue where vm's were going to paused state
when reducing the replica count and increasing it to 3. Not sure
if this still holds good with the latest release.

Any specific reason why you want to move to full replication
instead of using an arbiter node ?


We have a new server with the same hard disk size of other two node, 
so, why not? Why join the cluster as an arbiter when we can have the 
same disk capacity to add extra replication?




and remove the arbiter node (Also a way to move the arbiter role
to the new node, If needed)

To move arbiter role to a new node you can move the node to
maintenance , add  new node and replace  old brick with new brick.
You can follow the steps below to do that.

  * Move the node to be replaced into Maintenance mode
  * Prepare the replacement node
  * Prepare bricks on that node.
  * Create replacement brick directories
  * Ensure the new directories are owned by the vdsm user and the
kvm group.
  * # mkdir /rhgs/bricks/engine
  * # chmod vdsm:kvm /rhgs/bricks/engine
  * # mkdir /rhgs/bricks/data
  * # chmod vdsm:kvm /rhgs/bricks/data
  * Run the following command from one of the healthy cluster members:
  * # gluster peer probe 
  * add the new host to the cluster.
  * Add new host address to gluster network
  * Click Network Interfaces sub-tab.
  * Click Set up Host Networks.
  * Drag and drop the glusternw network onto the IP address of the
new host.
  * Click OK
  * Replace the old brick with the brick on the new host
  * Click the Bricks sub-tab.
  * Verify that brick heal completes successfully.
  * In the Hosts tab, right-click on the old host and click Remove.
  * Clean old host metadata
  * # hosted-engine --clean-metadata --host-id=
--force-clean



I need this (reads: I need the arbiter role) if I reduce replica count 
then I add the new node as full replica and increasing replica count 
again to 3? (As you expained above)



Above steps hold good if you want to move the arbiter role to a new node.

If you want to move to full replica, reducing the replica count will 
work fine but increasing it again back to 3 might cause vm pause issues.






Thank you



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


Re: [ovirt-users] add fourth full gluster node and remove arbiter: ovirt 4.1 with hosted engine

2017-07-03 Thread yayo (j)
Hi,

And sorry for delay

2017-06-30 14:09 GMT+02:00 knarra :

> To add a fully replicated node  you need to reduce the replica count to 2
> and add new brick to the volume so that it becomes replica 3. Reducing
> replica count by removing a brick from replica / arbiter cannot be done
> from UI currently and this has to be done using gluster CLI.
>  AFAIR, there was an issue where vm's were going to paused state when
> reducing the replica count and increasing it to 3. Not sure if this still
> holds good with the latest release.
>
> Any specific reason why you want to move to full replication instead of
> using an arbiter node ?
>
>
We have a new server with the same hard disk size of other two node, so,
why not? Why join the cluster as an arbiter when we can have the same disk
capacity to add extra replication?



>
> and remove the arbiter node (Also a way to move the arbiter role to the
> new node, If needed)
>
> To move arbiter role to a new node you can move the node to maintenance ,
> add  new node and replace  old brick with new brick. You can follow the
> steps below to do that.
>
>
>- Move the node to be replaced into Maintenance mode
>- Prepare the replacement node
>- Prepare bricks on that node.
>- Create replacement brick directories
>- Ensure the new directories are owned by the vdsm user and the kvm
>group.
>- # mkdir /rhgs/bricks/engine
>- # chmod vdsm:kvm /rhgs/bricks/engine
>- # mkdir /rhgs/bricks/data
>- # chmod vdsm:kvm /rhgs/bricks/data
>- Run the following command from one of the healthy cluster members:
>- # gluster peer probe 
>-  add the new host to the cluster.
>- Add new host address to gluster network
>- Click Network Interfaces sub-tab.
>- Click Set up Host Networks.
>- Drag and drop the glusternw network onto the IP address of the new
>host.
>- Click OK
>- Replace the old brick with the brick on the new host
>- Click the Bricks sub-tab.
>- Verify that brick heal completes successfully.
>- In the Hosts tab, right-click on the old host and click Remove.
>- Clean old host metadata
>- # hosted-engine --clean-metadata --host-id=
>--force-clean
>
>
>
I need this (reads: I need the arbiter role) if I reduce replica count then
I add the new node as full replica and increasing replica count again to 3?
(As you expained above)

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


Re: [ovirt-users] Recovering hosted-engine

2017-07-03 Thread Yedidyah Bar David
On Mon, Jul 3, 2017 at 3:46 PM, Andrew Dent  wrote:
> Has anyone successfully completed a hosted-engine recovery on a multiple
> host setup with production VMs?

I'd like to clarify that "recovery" can span a large spectrum of
flows, from a trivial "I did some change to the engine database
that broke stuff and I want to restore a backup I took prior to
this change" to a full system restoration including purchasing
and deploying new (perhaps different) hosts/network/storage
hardware, including many other flows in between.

So when you plan for recovery, you should define very well what
flows you plan to handle, and how you handle each.

The linked procedure correctly says it's "providing an example".

>
> Kind regards
>
>
> Andrew
>
>
>
> -- Original Message --
> From: "Andrew Dent" 
> To: "users" 
> Sent: 2/07/2017 2:22:16 PM
> Subject: [ovirt-users] Recovering hosted-engine
>
> Hi
>
> A couple of questions about hosted-engine recovery.
> Part way through this URL, in the section "Workflow for Restoring the
> Self-Hosted Engine Environment"
> http://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/
> it looks like once the hosted-engine is recovered on Host 1, the VMs on Host
> 2 and 3 will be running, but not accessible to the recovered Hosted Engine.
> Is that correct?

I am pretty certain that the procedure assumed that all hosts need restoration,
not that some are still up-and-running.

> If so, how to you remove host 2 and host 3 from the environment, then add
> back in again while keeping the VMs running?

That's a good question.

Please try to describe the exact flow you have in mind. What's broken and
needs restoration, and how do you plan to do that?

>
> Host 2 and Host 3 are not recoverable in their current state. These hosts
> need to be removed from the environment, and then added again to the
> environment using the hosted-engine deployment script. For more information
> on these actions, see the Removing Non-Operational Hosts from a Restored
> Self-Hosted Engine Environment section below and Chapter 7: Installing
> Additional Hosts to a Self-Hosted Environment.
>
> BTW: The link referring to chapter 7 is broken.

You are right. The link in the bottom of the page seems working.
Now pushed [1] to fix. Thanks for the report!

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

Best,
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] [Ovirt 4.0] Cluster : Scheduling policy

2017-07-03 Thread TranceWorldLogic .
Hi,

Can some one help me how to select PinToHost policy in ovirt 4.0 ?
I am lost in GUI.

http://www.ovirt.org/develop/release-management/features/sla/scheduler-policies/

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


Re: [ovirt-users] Recovering hosted-engine

2017-07-03 Thread Andrew Dent
Has anyone successfully completed a hosted-engine recovery on a multiple 
host setup with production VMs?


Kind regards



Andrew



-- Original Message --
From: "Andrew Dent" 
To: "users" 
Sent: 2/07/2017 2:22:16 PM
Subject: [ovirt-users] Recovering hosted-engine


Hi

A couple of questions about hosted-engine recovery.
Part way through this URL, in the section "Workflow for Restoring the 
Self-Hosted Engine Environment"

http://www.ovirt.org/documentation/self-hosted/chap-Backing_up_and_Restoring_an_EL-Based_Self-Hosted_Environment/
it looks like once the hosted-engine is recovered on Host 1, the VMs on 
Host 2 and 3 will be running, but not accessible to the recovered 
Hosted Engine.

Is that correct?
If so, how to you remove host 2 and host 3 from the environment, then 
add back in again while keeping the VMs running?


Host 2 and Host 3 are not recoverable in their current state. These 
hosts need to be removed from the environment, and then added again to 
the environment using the hosted-engine deployment script. For more 
information on these actions, see the Removing Non-Operational Hosts 
from a Restored Self-Hosted Engine Environment section below and 
Chapter 7: Installing Additional Hosts to a Self-Hosted Environment 
.


BTW: The link referring to chapter 7 is broken.

Kind regards



Andrew

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


Re: [ovirt-users] [Gluster-users] Gluster issue with /var/lib/glusterd/peers/ file

2017-07-03 Thread Atin Mukherjee
Please attach glusterd & cmd_history log files from all the nodes.

On Mon, Jul 3, 2017 at 2:55 PM, Sahina Bose  wrote:

>
>
> On Sun, Jul 2, 2017 at 5:38 AM, Mike DePaulo  wrote:
>
>> Hi everyone,
>>
>> I have ovirt 4.1.1/4.1.2 running on 3 hosts with a gluster hosted engine.
>>
>> I was working on setting up a network for gluster storage and
>> migration. The addresses for it will be 10.0.20.x, rather than
>> 192.168.1.x for the management network.  However, I switched gluster
>> storage and migration back over to the management network.
>>
>> I updated and rebooted one of my hosts (death-star, 10.0.20.52) and on
>> reboot, the glusterd service would start, but wouldn't seem to work.
>> The engine webgui reported that its bricks were down, and commands
>> like this would fail:
>>
>> [root@death-star glusterfs]# gluster pool list
>> pool list: failed
>> [root@death-star glusterfs]# gluster peer status
>> peer status: failed
>>
>> Upon further investigation, I had under /var/lib/glusterd/peers/ the 2
>> existing UUID files, plus a new 3rd one:
>> [root@death-star peers]# cat 10.0.20.53
>> uuid=----
>> state=0
>> hostname1=10.0.20.53
>>
>
> [Adding gluster-users]
>
> How did you add this peer "10.0.20.53"? Is this another interface for an
> existing peer?
>
>
>> I moved that file out of there, restarted glusterd, and now gluster is
>> working again.
>>
>> I am guessing that this is a bug. Let me know if I should attach other
>> log files; I am not sure which ones.
>>
>> And yes, 10.0.20.53 is the IP of one of the other hosts.
>>
>> -Mike
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
> ___
> Gluster-users mailing list
> gluster-us...@gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Help get oVirt's add featured on Stack Overflow

2017-07-03 Thread Allon Mureinik
As Nicolas stated below, and as evident by [1], ladies and gentlemen - we
are live.

First person to share an actual screenshot of Stack Overflow displaying
this add gets a +2 on his next engine patch :-)


And thanks again to Eldan for designing the add and to all the upvoters.

[1] https://meta.stackoverflow.com/ads/display/349017

On Fri, Jun 30, 2017 at 4:30 AM, Jeff Burns  wrote:

> This is an excellent thing.  Thanks Eldan.  I've cast my vote.
>
> On Thu, Jun 29, 2017 at 12:38 PM  wrote:
>
>> El 2017-06-29 17:27, Allon Mureinik escribió:
>> > Hi lists,
>> >
>> > Thanks to Eldan, we have a community ad for oVirt proposed on Stack
>> > Overflow [1].
>> > Now, we need some upvotes (current threshold is 6) before SO starts
>> > serving it.
>> >
>>
>> Unless some hater downvotes, it has just reached the 6 votes threshold
>> ;-)
>>
>> > Have a SO account?
>> > Want to help?
>> > Just drop by and upvote.
>> >
>> > Have a great weekend,
>> > Allon
>> >
>> > [1] https://meta.stackoverflow.com/a/351453/2422776 [1]
>> >
>> > Links:
>> > --
>> > [1] https://meta.stackoverflow.com/a/351453/2422776
>> >
>> > ___
>> > 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] Other portals work, user portal experiences console errors

2017-07-03 Thread Sophia Valentine


Yaniv Kaul  writes:

On Mon, Jul 3, 2017 at 12:08 PM, Sophia Valentine 
 wrote:


 Hi all!

 I installed the nightly from the repo on CentOS 7.0.

I suggest a newer CentOS - 7.3 has been released few months ago 
already.


Will upgrade ASAP (my ISO was a little old!).

 
 
 I currently have an issue where visiting the user portal 
 triggers the
 following errors in the browser console. I believe that I will 
 need to

 compile the engine from source due to the current source being
 compacted, thus obscuring the stacktrace.

 If that is needed, can I generate an RPM with the debug build I 
 create
 (might need some help with this, if that's okay)? I'm hoping 
 it's a
 "known error" and that there's a simple fix. Would love to get 
 to the

 bottom of this!

Indeed - build the debuginfo RPM and restart engine, it should 
provide with a de-cyphered stack trace.
However, it should be available from the same repo you've 
installed the webadmin already, I believe.

I'm not sure why you need to build it from source?
Y.


Didn't notice the debuginfo's somehow. Thanks!

 
 
 Thanks.


 Stacktrace below:

 Mon Jul 03 09:13:51 GMT+100 2017 
 com.gwtplatform.mvp.client.presenter.slots.LegacySlotConvertor


 SEVERE: Warning: You're using an untyped slot!
 Untyped slots are dangerous! Please upgrade your slots using
 the Arcbee's easy upgrade tool at
 https://arcbees.github.io/gwtp-slot-upgrader
 uGc @ userportal-0.js:12779
 userportal-0.js:12779 Mon Jul 03 09:13:51 GMT+100 2017 SEVERE: 
 Uncaught exception
 com.google.web.bindery.event.shared.UmbrellaException: 2 
 exceptions caught: Adding non GroupedTabData; Adding non 
 GroupedTabData

 at Unknown.lp(userportal-0.js)
 at Unknown.xp(userportal-0.js)
 at Unknown.dQ(userportal-0.js)
 at Unknown.EP(userportal-0.js)
 at Unknown.HP(userportal-0.js)
 at Unknown.YP(userportal-0.js)
 at Unknown.Omd(userportal-0.js)
 at Unknown.Und(userportal-28.js)
 at Unknown.bmd(userportal-0.js)
 at Unknown.mnd(userportal-28.js)
 at Unknown.amd(userportal-0.js)
 at Unknown.Rqo(userportal-2.js)
 at Unknown.dro(userportal-2.js)
 at Unknown.yq(userportal-0.js)
 at Unknown.Dq(userportal-0.js)
 at Unknown.Zq(userportal-0.js)
 at Unknown.ar(userportal-0.js)
 at Unknown.eval(userportal-0.js)
 at Unknown.anonymous(userportal-2.js)
 at 
 Unknown.userportal.__installRunAsyncCode(https://vmengine.x.com/ovirt-engine/userportal/userportal.nocache.js)

 at Unknown.__gwtInstallCode(userportal-0.js)
 at Unknown.mr(userportal-0.js)
 at Unknown.Kr(userportal-0.js)
 at Unknown.eval(userportal-0.js)
 at Unknown.Zq(userportal-0.js)
 at Unknown.ar(userportal-0.js)
 at Unknown.eval(userportal-0.js)
 at 
 Unknown.anonymous(https://vmengine.x.com/ovirt-engine/userportal/deferredjs/5D86F4BF62D99E7C2EA706F122B819FC/2.cache.js)
 Suppressed: java.lang.RuntimeException: Adding non 
 GroupedTabData

 at Unknown.kp(userportal-0.js)
 at Unknown.up(userportal-0.js)
 at Unknown.wp(userportal-0.js)
 at Unknown.XLk(userportal-2.js)
 at Unknown.w2j(userportal-28.js)
 at Unknown.Rnd(userportal-28.js)
 at Unknown.znd(userportal-28.js)
 at Unknown.Bnd(userportal-28.js)
 at Unknown.EP(userportal-0.js)
 at Unknown.HP(userportal-0.js)
 at Unknown.YP(userportal-0.js)
 at Unknown.Omd(userportal-0.js)
 at Unknown.Und(userportal-28.js)
 at Unknown.bmd(userportal-0.js)
 at Unknown.mnd(userportal-28.js)
 at Unknown.amd(userportal-0.js)
 at Unknown.Rqo(userportal-2.js)
 at Unknown.dro(userportal-2.js)
 at Unknown.yq(userportal-0.js)
 at Unknown.Dq(userportal-0.js)
 at Unknown.Zq(userportal-0.js)
 at Unknown.ar(userportal-0.js)
 at Unknown.eval(userportal-0.js)
 at Unknown.anonymous(userportal-2.js)
 at 
 Unknown.userportal.__installRunAsyncCode(https://vmengine.x.com/ovirt-engine/userportal/userportal.nocache.js)

 at Unknown.__gwtInstallCode(userportal-0.js)
 at Unknown.mr(userportal-0.js)
 at Unknown.Kr(userportal-0.js)
 at Unknown.eval(userportal-0.js)
 at Unknown.Zq(userportal-0.js)
 at Unknown.ar(userportal-0.js)
 at Unknown.eval(userportal-0.js)
 at 
 Unknown.anonymous(https://vmengine.x.com/ovirt-engine/userportal/deferredjs/5D86F4BF62D99E7C2EA706F122B819FC/2.cache.js)
 Caused by: 

Re: [ovirt-users] Other portals work, user portal experiences console errors

2017-07-03 Thread Sophia Valentine


Note we do not support 7.0 anymore. oVirt 4.1 needs 7.3, 
master/nightly would require 7.4 as soon as it is released


The ISO I had was CentOS 7.0 (whoops), I'll go upgrade it ASAP! 
Thanks.



But as Oved says, there’ s not much sense in trying to 
use/compile UserPortal on current nightly snapshots…why not use 
a stable release?


I'm testing it, is all. :)

Michal Skrivanek  writes:

 On 3 Jul 2017, at 12:21, Oved Ourfali  
 wrote:


 Hi Sophia,

 As part of the UI redesign we did for 4.2, we decided to remove 
 the user portal, and replace it with the new VM portal.
 It will soon be removed from the git repo as well, and the list 
 will be removed from the welcome page.
 CC-ing Michal and Tomas from the virt team, in case you have 
 questions on the VM portal.

 I believe there is a link to it as well in the welcome page.

 Thanks,
 Oved

 On Mon, Jul 3, 2017 at 12:08 PM, Sophia Valentine 
  wrote:


 Hi all!

 I installed the nightly from the repo on CentOS 7.0.


Thanks,
michal

 I currently have an issue where visiting the user portal 
 triggers the
 following errors in the browser console. I believe that I will 
 need to

 compile the engine from source due to the current source being
 compacted, thus obscuring the stacktrace.

 If that is needed, can I generate an RPM with the debug build I 
 create
 (might need some help with this, if that's okay)? I'm hoping 
 it's a
 "known error" and that there's a simple fix. Would love to get 
 to the

 bottom of this!

 Thanks.

 Stacktrace below:

 Mon Jul 03 09:13:51 GMT+100 2017 
 com.gwtplatform.mvp.client.presenter.slots.LegacySlotConvertor


 SEVERE: Warning: You're using an untyped slot!
 Untyped slots are dangerous! Please upgrade your slots using
 the Arcbee's easy upgrade tool at
 https://arcbees.github.io/gwtp-slot-upgrader
 uGc @ userportal-0.js:12779
 userportal-0.js:12779 Mon Jul 03 09:13:51 GMT+100 2017 SEVERE: 
 Uncaught exception
 com.google.web.bindery.event.shared.UmbrellaException: 2 
 exceptions caught: Adding non GroupedTabData; Adding non 
 GroupedTabData

 at Unknown.lp(userportal-0.js)
 at Unknown.xp(userportal-0.js)
 at Unknown.dQ(userportal-0.js)
 at Unknown.EP(userportal-0.js)
 at Unknown.HP(userportal-0.js)
 at Unknown.YP(userportal-0.js)
 at Unknown.Omd(userportal-0.js)
 at Unknown.Und(userportal-28.js)
 at Unknown.bmd(userportal-0.js)
 at Unknown.mnd(userportal-28.js)
 at Unknown.amd(userportal-0.js)
 at Unknown.Rqo(userportal-2.js)
 at Unknown.dro(userportal-2.js)
 at Unknown.yq(userportal-0.js)
 at Unknown.Dq(userportal-0.js)
 at Unknown.Zq(userportal-0.js)
 at Unknown.ar(userportal-0.js)
 at Unknown.eval(userportal-0.js)
 at Unknown.anonymous(userportal-2.js)
 at 
 Unknown.userportal.__installRunAsyncCode(https://vmengine.x.com/ovirt-engine/userportal/userportal.nocache.js)

 at Unknown.__gwtInstallCode(userportal-0.js)
 at Unknown.mr(userportal-0.js)
 at Unknown.Kr(userportal-0.js)
 at Unknown.eval(userportal-0.js)
 at Unknown.Zq(userportal-0.js)
 at Unknown.ar(userportal-0.js)
 at Unknown.eval(userportal-0.js)
 at 
 Unknown.anonymous(https://vmengine.x.com/ovirt-engine/userportal/deferredjs/5D86F4BF62D99E7C2EA706F122B819FC/2.cache.js)
 Suppressed: java.lang.RuntimeException: Adding non 
 GroupedTabData

 at Unknown.kp(userportal-0.js)
 at Unknown.up(userportal-0.js)
 at Unknown.wp(userportal-0.js)
 at Unknown.XLk(userportal-2.js)
 at Unknown.w2j(userportal-28.js)
 at Unknown.Rnd(userportal-28.js)
 at Unknown.znd(userportal-28.js)
 at Unknown.Bnd(userportal-28.js)
 at Unknown.EP(userportal-0.js)
 at Unknown.HP(userportal-0.js)
 at Unknown.YP(userportal-0.js)
 at Unknown.Omd(userportal-0.js)
 at Unknown.Und(userportal-28.js)
 at Unknown.bmd(userportal-0.js)
 at Unknown.mnd(userportal-28.js)
 at Unknown.amd(userportal-0.js)
 at Unknown.Rqo(userportal-2.js)
 at Unknown.dro(userportal-2.js)
 at Unknown.yq(userportal-0.js)
 at Unknown.Dq(userportal-0.js)
 at Unknown.Zq(userportal-0.js)
 at Unknown.ar(userportal-0.js)
 at Unknown.eval(userportal-0.js)
 at Unknown.anonymous(userportal-2.js)
 at 
 Unknown.userportal.__installRunAsyncCode(https://vmengine.x.com/ovirt-engine/userportal/userportal.nocache.js)

 at Unknown.__gwtInstallCode(userportal-0.js)
 at 

Re: [ovirt-users] Upgrading HC from 4.0 to 4.1

2017-07-03 Thread Sahina Bose
On Sun, Jul 2, 2017 at 12:21 AM, Doug Ingham  wrote:

>
> Only problem I would like to manage is that I have gluster network shared
>> with ovirtmgmt one.
>> Can I move it now with these updated packages?
>>
>
> Are the gluster peers configured with the same hostnames/IPs as your hosts
> within oVirt?
>
> Once they're configured on the same network, separating them might be a
> bit difficult. Also, the last time I looked, oVirt still doesn't support
> managing HCI oVirt/Gluster nodes running each service on a different
> interface (see below).
>
> In theory, the procedure would involve stopping all of the Gluster
> processes on all of the peers, updating the peer addresses in the gluster
> configs on all of the nodes, then restarting glusterd & the bricks. I've
> not tested this however, and it's not a "supported" procedure. I've no idea
> how oVirt would deal with these changes either.
>

Which version of glusterfs do you have running now? With glusterfs>= 3.9,
there's a reset-brick command that can help you do this.

It's possible to move to the new interface for gluster.

The procedure would be:

1. Create a network with "gluster" network role.
2. On each host, use "Setup networks" to associate the gluster network on
the desired interface. (This would ensure thet the engine will peer probe
this interface's IP address as well, so that it can be used to identify the
host in brick defintion)
3. For each of the volume's bricks - change the definition of the brick, so
that the new ip address is used. Ensure that there's no pending heal (i.e
gluster volume heal info - should list 0 entires) before you start this(see
https://gluster.readthedocs.io/en/latest/release-notes/3.9.0/ - Introducing
reset-brick command)

gluster volume reset-brick VOLNAME :BRICKPATH start
gluster volume reset-brick VOLNAME :BRICKPATH
:BRICKPATH commit force




>
>
> To properly separate my own storage & management networks from the
> beginning, I configured each host with 2 IPs on different subnets and a
> different hostname corresponding to each IP. For example, "v0" points to
> the management interface of the first node, and "s0" points to the storage
> interface.
>
> oVirt's problem is that, whilst it can see the pre-configured bricks and
> volumes on each host, it can't create any new bricks or volumes because it
> wants to use the same hostnames it uses to manage the hosts. It also means
> that it can't fence the hosts correctly, as it doesn't understand that "v0"
> & "s0" are the same host.
> This isn't a problem for me though, as I don't need to manage my Gluster
> instances via the GUI, and automatic fencing can be done via the IPMI
> interfaces.
>
> Last I read, this is a recognised problem, but a fix isn't expect to
> arrive any time soon.
>
> --
> Doug
>
> ___
> 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] Other portals work, user portal experiences console errors

2017-07-03 Thread Sophia Valentine


Oved Ourfali  writes:


Hi Sophia,

As part of the UI redesign we did for 4.2, we decided to remove 
the user portal, and replace it with the

new VM portal.


Ah, I see!

It will soon be removed from the git repo as well, and the list 
will be removed from the welcome page.


Ah, okay, I'll stop trying to use it then haha!

CC-ing Michal and Tomas from the virt team, in case you have 
questions on the VM portal.

I believe there is a link to it as well in the welcome page.

Thanks,
Oved

On Mon, Jul 3, 2017 at 12:08 PM, Sophia Valentine 
 wrote:


 Hi all!

 I installed the nightly from the repo on CentOS 7.0.

 I currently have an issue where visiting the user portal 
 triggers the
 following errors in the browser console. I believe that I will 
 need to

 compile the engine from source due to the current source being
 compacted, thus obscuring the stacktrace.

 If that is needed, can I generate an RPM with the debug build I 
 create
 (might need some help with this, if that's okay)? I'm hoping 
 it's a
 "known error" and that there's a simple fix. Would love to get 
 to the

 bottom of this!

 Thanks.

 Stacktrace below:

 Mon Jul 03 09:13:51 GMT+100 2017
 com.gwtplatform.mvp.client.presenter.slots.LegacySlotConvertor

 SEVERE: Warning: You're using an untyped slot!
 Untyped slots are dangerous! Please upgrade your slots using
 the Arcbee's easy upgrade tool at
 https://arcbees.github.io/gwtp-slot-upgrader
 uGc @ userportal-0.js:12779
 userportal-0.js:12779 Mon Jul 03 09:13:51 GMT+100 2017 SEVERE: 
 Uncaught exception
 com.google.web.bindery.event.shared.UmbrellaException: 2 
 exceptions caught: Adding non

 GroupedTabData; Adding non GroupedTabData
 at Unknown.lp(userportal-0.js)
 at Unknown.xp(userportal-0.js)
 at Unknown.dQ(userportal-0.js)
 at Unknown.EP(userportal-0.js)
 at Unknown.HP(userportal-0.js)
 at Unknown.YP(userportal-0.js)
 at Unknown.Omd(userportal-0.js)
 at Unknown.Und(userportal-28.js)
 at Unknown.bmd(userportal-0.js)
 at Unknown.mnd(userportal-28.js)
 at Unknown.amd(userportal-0.js)
 at Unknown.Rqo(userportal-2.js)
 at Unknown.dro(userportal-2.js)
 at Unknown.yq(userportal-0.js)
 at Unknown.Dq(userportal-0.js)
 at Unknown.Zq(userportal-0.js)
 at Unknown.ar(userportal-0.js)
 at Unknown.eval(userportal-0.js)
 at Unknown.anonymous(userportal-2.js)
 at  Unknown.userportal.__installRunAsyncCode
 (https://vmengine.x.com/ovirt-engine/userportal/userportal.nocache.js)
 at Unknown.__gwtInstallCode(userportal-0.js)
 at Unknown.mr(userportal-0.js)
 at Unknown.Kr(userportal-0.js)
 at Unknown.eval(userportal-0.js)
 at Unknown.Zq(userportal-0.js)
 at Unknown.ar(userportal-0.js)
 at Unknown.eval(userportal-0.js)
 at  Unknown.anonymous
 
(https://vmengine.x.com/ovirt-engine/userportal/deferredjs/5D86F4BF62D99E7C2EA706F122B819FC/2.cache.js)
 
 Suppressed: java.lang.RuntimeException: Adding non 
 GroupedTabData

 at Unknown.kp(userportal-0.js)
 at Unknown.up(userportal-0.js)
 at Unknown.wp(userportal-0.js)
 at Unknown.XLk(userportal-2.js)
 at Unknown.w2j(userportal-28.js)
 at Unknown.Rnd(userportal-28.js)
 at Unknown.znd(userportal-28.js)
 at Unknown.Bnd(userportal-28.js)
 at Unknown.EP(userportal-0.js)
 at Unknown.HP(userportal-0.js)
 at Unknown.YP(userportal-0.js)
 at Unknown.Omd(userportal-0.js)
 at Unknown.Und(userportal-28.js)
 at Unknown.bmd(userportal-0.js)
 at Unknown.mnd(userportal-28.js)
 at Unknown.amd(userportal-0.js)
 at Unknown.Rqo(userportal-2.js)
 at Unknown.dro(userportal-2.js)
 at Unknown.yq(userportal-0.js)
 at Unknown.Dq(userportal-0.js)
 at Unknown.Zq(userportal-0.js)
 at Unknown.ar(userportal-0.js)
 at Unknown.eval(userportal-0.js)
 at Unknown.anonymous(userportal-2.js)
 at 
 Unknown.userportal.__installRunAsyncCode

 (https://vmengine.x.com/ovirt-engine/userportal/userportal.nocache.js)
 at Unknown.__gwtInstallCode(userportal-0.js)
 at Unknown.mr(userportal-0.js)
 at Unknown.Kr(userportal-0.js)
 at Unknown.eval(userportal-0.js)
 at Unknown.Zq(userportal-0.js)
 at Unknown.ar(userportal-0.js)
 at Unknown.eval(userportal-0.js)
 at  Unknown.anonymous
 

Re: [ovirt-users] Other portals work, user portal experiences console errors

2017-07-03 Thread Michal Skrivanek

> On 3 Jul 2017, at 12:21, Oved Ourfali  wrote:
> 
> Hi Sophia,
> 
> As part of the UI redesign we did for 4.2, we decided to remove the user 
> portal, and replace it with the new VM portal.
> It will soon be removed from the git repo as well, and the list will be 
> removed from the welcome page.
> CC-ing Michal and Tomas from the virt team, in case you have questions on the 
> VM portal.
> I believe there is a link to it as well in the welcome page.
> 
> Thanks,
> Oved
> 
> On Mon, Jul 3, 2017 at 12:08 PM, Sophia Valentine  > wrote:
> Hi all!
> 
> I installed the nightly from the repo on CentOS 7.0.

Note we do not support 7.0 anymore. oVirt 4.1 needs 7.3, master/nightly would 
require 7.4 as soon as it is released
But as Oved says, there’ s not much sense in trying to use/compile UserPortal 
on current nightly snapshots…why not use a stable release?

Thanks,
michal

> 
> I currently have an issue where visiting the user portal triggers the
> following errors in the browser console. I believe that I will need to
> compile the engine from source due to the current source being
> compacted, thus obscuring the stacktrace.
> 
> If that is needed, can I generate an RPM with the debug build I create
> (might need some help with this, if that's okay)? I'm hoping it's a
> "known error" and that there's a simple fix. Would love to get to the
> bottom of this!
> 
> Thanks.
> 
> Stacktrace below:
> 
> Mon Jul 03 09:13:51 GMT+100 2017 
> com.gwtplatform.mvp.client.presenter.slots.LegacySlotConvertor
> 
> SEVERE: Warning: You're using an untyped slot!
> Untyped slots are dangerous! Please upgrade your slots using
> the Arcbee's easy upgrade tool at
> https://arcbees.github.io/gwtp-slot-upgrader 
> 
> uGc @ userportal-0.js:12779
> userportal-0.js:12779 Mon Jul 03 09:13:51 GMT+100 2017 SEVERE: Uncaught 
> exception
> com.google.web.bindery.event.shared.UmbrellaException: 2 exceptions caught: 
> Adding non GroupedTabData; Adding non GroupedTabData
> at Unknown.lp(userportal-0.js)
> at Unknown.xp(userportal-0.js)
> at Unknown.dQ(userportal-0.js)
> at Unknown.EP(userportal-0.js)
> at Unknown.HP(userportal-0.js)
> at Unknown.YP(userportal-0.js)
> at Unknown.Omd(userportal-0.js)
> at Unknown.Und(userportal-28.js)
> at Unknown.bmd(userportal-0.js)
> at Unknown.mnd(userportal-28.js)
> at Unknown.amd(userportal-0.js)
> at Unknown.Rqo(userportal-2.js)
> at Unknown.dro(userportal-2.js)
> at Unknown.yq(userportal-0.js)
> at Unknown.Dq(userportal-0.js)
> at Unknown.Zq(userportal-0.js)
> at Unknown.ar(userportal-0.js)
> at Unknown.eval(userportal-0.js)
> at Unknown.anonymous(userportal-2.js)
> at  
> Unknown.userportal.__installRunAsyncCode(https://vmengine.x.com/ovirt-engine/userportal/userportal.nocache.js
>  )
> at Unknown.__gwtInstallCode(userportal-0.js)
> at Unknown.mr(userportal-0.js)
> at Unknown.Kr(userportal-0.js)
> at Unknown.eval(userportal-0.js)
> at Unknown.Zq(userportal-0.js)
> at Unknown.ar(userportal-0.js)
> at Unknown.eval(userportal-0.js)
> at  
> Unknown.anonymous(https://vmengine.x.com/ovirt-engine/userportal/deferredjs/5D86F4BF62D99E7C2EA706F122B819FC/2.cache.js
>  
> )
> Suppressed: java.lang.RuntimeException: Adding non  GroupedTabData
> at Unknown.kp(userportal-0.js)
> at Unknown.up(userportal-0.js)
> at Unknown.wp(userportal-0.js)
> at Unknown.XLk(userportal-2.js)
> at Unknown.w2j(userportal-28.js)
> at Unknown.Rnd(userportal-28.js)
> at Unknown.znd(userportal-28.js)
> at Unknown.Bnd(userportal-28.js)
> at Unknown.EP(userportal-0.js)
> at Unknown.HP(userportal-0.js)
> at Unknown.YP(userportal-0.js)
> at Unknown.Omd(userportal-0.js)
> at Unknown.Und(userportal-28.js)
> at Unknown.bmd(userportal-0.js)
> at Unknown.mnd(userportal-28.js)
> at Unknown.amd(userportal-0.js)
> at Unknown.Rqo(userportal-2.js)
> at Unknown.dro(userportal-2.js)
> at Unknown.yq(userportal-0.js)
> at Unknown.Dq(userportal-0.js)
> at Unknown.Zq(userportal-0.js)
> at Unknown.ar(userportal-0.js)
> at Unknown.eval(userportal-0.js)
> at Unknown.anonymous(userportal-2.js)
> at  
> 

Re: [ovirt-users] Other portals work, user portal experiences console errors

2017-07-03 Thread Oved Ourfali
Hi Sophia,

As part of the UI redesign we did for 4.2, we decided to remove the user
portal, and replace it with the new VM portal.
It will soon be removed from the git repo as well, and the list will be
removed from the welcome page.
CC-ing Michal and Tomas from the virt team, in case you have questions on
the VM portal.
I believe there is a link to it as well in the welcome page.

Thanks,
Oved

On Mon, Jul 3, 2017 at 12:08 PM, Sophia Valentine  wrote:

> Hi all!
>
> I installed the nightly from the repo on CentOS 7.0.
>
> I currently have an issue where visiting the user portal triggers the
> following errors in the browser console. I believe that I will need to
> compile the engine from source due to the current source being
> compacted, thus obscuring the stacktrace.
>
> If that is needed, can I generate an RPM with the debug build I create
> (might need some help with this, if that's okay)? I'm hoping it's a
> "known error" and that there's a simple fix. Would love to get to the
> bottom of this!
>
> Thanks.
>
> Stacktrace below:
>
> Mon Jul 03 09:13:51 GMT+100 2017 com.gwtplatform.mvp.client.pre
> senter.slots.LegacySlotConvertor
>
> SEVERE: Warning: You're using an untyped slot!
> Untyped slots are dangerous! Please upgrade your slots using
> the Arcbee's easy upgrade tool at
> https://arcbees.github.io/gwtp-slot-upgrader
> uGc @ userportal-0.js:12779
> userportal-0.js:12779 Mon Jul 03 09:13:51 GMT+100 2017 SEVERE: Uncaught
> exception
> com.google.web.bindery.event.shared.UmbrellaException: 2 exceptions
> caught: Adding non GroupedTabData; Adding non GroupedTabData
> at Unknown.lp(userportal-0.js)
> at Unknown.xp(userportal-0.js)
> at Unknown.dQ(userportal-0.js)
> at Unknown.EP(userportal-0.js)
> at Unknown.HP(userportal-0.js)
> at Unknown.YP(userportal-0.js)
> at Unknown.Omd(userportal-0.js)
> at Unknown.Und(userportal-28.js)
> at Unknown.bmd(userportal-0.js)
> at Unknown.mnd(userportal-28.js)
> at Unknown.amd(userportal-0.js)
> at Unknown.Rqo(userportal-2.js)
> at Unknown.dro(userportal-2.js)
> at Unknown.yq(userportal-0.js)
> at Unknown.Dq(userportal-0.js)
> at Unknown.Zq(userportal-0.js)
> at Unknown.ar(userportal-0.js)
> at Unknown.eval(userportal-0.js)
> at Unknown.anonymous(userportal-2.js)
> at  Unknown.userportal.__installRunAsyncCode(
> https://vmengine.x.com/ovirt-engine/userportal/userportal.nocache.js)
> at Unknown.__gwtInstallCode(userportal-0.js)
> at Unknown.mr(userportal-0.js)
> at Unknown.Kr(userportal-0.js)
> at Unknown.eval(userportal-0.js)
> at Unknown.Zq(userportal-0.js)
> at Unknown.ar(userportal-0.js)
> at Unknown.eval(userportal-0.js)
> at  Unknown.anonymous(https://vmen
> gine.x.com/ovirt-engine/userportal/deferredjs/5D86F4BF62D99E
> 7C2EA706F122B819FC/2.cache.js)
> Suppressed: java.lang.RuntimeException: Adding non
> GroupedTabData
> at Unknown.kp(userportal-0.js)
> at Unknown.up(userportal-0.js)
> at Unknown.wp(userportal-0.js)
> at Unknown.XLk(userportal-2.js)
> at Unknown.w2j(userportal-28.js)
> at Unknown.Rnd(userportal-28.js)
> at Unknown.znd(userportal-28.js)
> at Unknown.Bnd(userportal-28.js)
> at Unknown.EP(userportal-0.js)
> at Unknown.HP(userportal-0.js)
> at Unknown.YP(userportal-0.js)
> at Unknown.Omd(userportal-0.js)
> at Unknown.Und(userportal-28.js)
> at Unknown.bmd(userportal-0.js)
> at Unknown.mnd(userportal-28.js)
> at Unknown.amd(userportal-0.js)
> at Unknown.Rqo(userportal-2.js)
> at Unknown.dro(userportal-2.js)
> at Unknown.yq(userportal-0.js)
> at Unknown.Dq(userportal-0.js)
> at Unknown.Zq(userportal-0.js)
> at Unknown.ar(userportal-0.js)
> at Unknown.eval(userportal-0.js)
> at Unknown.anonymous(userportal-2.js)
> at  Unknown.userportal.__installRunAsyncCode(
> https://vmengine.x.com/ovirt-engine/userportal/userportal.nocache.js)
> at Unknown.__gwtInstallCode(userportal-0.js)
> at Unknown.mr(userportal-0.js)
> at Unknown.Kr(userportal-0.js)
> at Unknown.eval(userportal-0.js)
> at Unknown.Zq(userportal-0.js)
> at Unknown.ar(userportal-0.js)
> at Unknown.eval(userportal-0.js)
> at  Unknown.anonymous(https://vmen
> gine.x.com/ovirt-engine/userportal/deferredjs/5D86F4BF62D99E
> 7C2EA706F122B819FC/2.cache.js)
> Caused by: java.lang.RuntimeException: Adding 

Re: [ovirt-users] Other portals work, user portal experiences console errors

2017-07-03 Thread Yaniv Kaul
On Mon, Jul 3, 2017 at 12:08 PM, Sophia Valentine  wrote:

> Hi all!
>
> I installed the nightly from the repo on CentOS 7.0.
>

I suggest a newer CentOS - 7.3 has been released few months ago already.


>
> I currently have an issue where visiting the user portal triggers the
> following errors in the browser console. I believe that I will need to
> compile the engine from source due to the current source being
> compacted, thus obscuring the stacktrace.
>
> If that is needed, can I generate an RPM with the debug build I create
> (might need some help with this, if that's okay)? I'm hoping it's a
> "known error" and that there's a simple fix. Would love to get to the
> bottom of this!
>

Indeed - build the debuginfo RPM and restart engine, it should provide with
a de-cyphered stack trace.
However, it should be available from the same repo you've installed the
webadmin already, I believe.
I'm not sure why you need to build it from source?
Y.


>
> Thanks.
>
> Stacktrace below:
>
> Mon Jul 03 09:13:51 GMT+100 2017 com.gwtplatform.mvp.client.pre
> senter.slots.LegacySlotConvertor
>
> SEVERE: Warning: You're using an untyped slot!
> Untyped slots are dangerous! Please upgrade your slots using
> the Arcbee's easy upgrade tool at
> https://arcbees.github.io/gwtp-slot-upgrader
> uGc @ userportal-0.js:12779
> userportal-0.js:12779 Mon Jul 03 09:13:51 GMT+100 2017 SEVERE: Uncaught
> exception
> com.google.web.bindery.event.shared.UmbrellaException: 2 exceptions
> caught: Adding non GroupedTabData; Adding non GroupedTabData
> at Unknown.lp(userportal-0.js)
> at Unknown.xp(userportal-0.js)
> at Unknown.dQ(userportal-0.js)
> at Unknown.EP(userportal-0.js)
> at Unknown.HP(userportal-0.js)
> at Unknown.YP(userportal-0.js)
> at Unknown.Omd(userportal-0.js)
> at Unknown.Und(userportal-28.js)
> at Unknown.bmd(userportal-0.js)
> at Unknown.mnd(userportal-28.js)
> at Unknown.amd(userportal-0.js)
> at Unknown.Rqo(userportal-2.js)
> at Unknown.dro(userportal-2.js)
> at Unknown.yq(userportal-0.js)
> at Unknown.Dq(userportal-0.js)
> at Unknown.Zq(userportal-0.js)
> at Unknown.ar(userportal-0.js)
> at Unknown.eval(userportal-0.js)
> at Unknown.anonymous(userportal-2.js)
> at  Unknown.userportal.__installRunAsyncCode(
> https://vmengine.x.com/ovirt-engine/userportal/userportal.nocache.js)
> at Unknown.__gwtInstallCode(userportal-0.js)
> at Unknown.mr(userportal-0.js)
> at Unknown.Kr(userportal-0.js)
> at Unknown.eval(userportal-0.js)
> at Unknown.Zq(userportal-0.js)
> at Unknown.ar(userportal-0.js)
> at Unknown.eval(userportal-0.js)
> at  Unknown.anonymous(https://vmen
> gine.x.com/ovirt-engine/userportal/deferredjs/5D86F4BF62D99E
> 7C2EA706F122B819FC/2.cache.js)
> Suppressed: java.lang.RuntimeException: Adding non
> GroupedTabData
> at Unknown.kp(userportal-0.js)
> at Unknown.up(userportal-0.js)
> at Unknown.wp(userportal-0.js)
> at Unknown.XLk(userportal-2.js)
> at Unknown.w2j(userportal-28.js)
> at Unknown.Rnd(userportal-28.js)
> at Unknown.znd(userportal-28.js)
> at Unknown.Bnd(userportal-28.js)
> at Unknown.EP(userportal-0.js)
> at Unknown.HP(userportal-0.js)
> at Unknown.YP(userportal-0.js)
> at Unknown.Omd(userportal-0.js)
> at Unknown.Und(userportal-28.js)
> at Unknown.bmd(userportal-0.js)
> at Unknown.mnd(userportal-28.js)
> at Unknown.amd(userportal-0.js)
> at Unknown.Rqo(userportal-2.js)
> at Unknown.dro(userportal-2.js)
> at Unknown.yq(userportal-0.js)
> at Unknown.Dq(userportal-0.js)
> at Unknown.Zq(userportal-0.js)
> at Unknown.ar(userportal-0.js)
> at Unknown.eval(userportal-0.js)
> at Unknown.anonymous(userportal-2.js)
> at  Unknown.userportal.__installRunAsyncCode(
> https://vmengine.x.com/ovirt-engine/userportal/userportal.nocache.js)
> at Unknown.__gwtInstallCode(userportal-0.js)
> at Unknown.mr(userportal-0.js)
> at Unknown.Kr(userportal-0.js)
> at Unknown.eval(userportal-0.js)
> at Unknown.Zq(userportal-0.js)
> at Unknown.ar(userportal-0.js)
> at Unknown.eval(userportal-0.js)
> at  Unknown.anonymous(https://vmen
> gine.x.com/ovirt-engine/userportal/deferredjs/5D86F4BF62D99E
> 7C2EA706F122B819FC/2.cache.js)
> Caused by: java.lang.RuntimeException: Adding non GroupedTabData
> at Unknown.kp(userportal-0.js)

Re: [ovirt-users] Gluster issue with /var/lib/glusterd/peers/ file

2017-07-03 Thread Sahina Bose
On Sun, Jul 2, 2017 at 5:38 AM, Mike DePaulo  wrote:

> Hi everyone,
>
> I have ovirt 4.1.1/4.1.2 running on 3 hosts with a gluster hosted engine.
>
> I was working on setting up a network for gluster storage and
> migration. The addresses for it will be 10.0.20.x, rather than
> 192.168.1.x for the management network.  However, I switched gluster
> storage and migration back over to the management network.
>
> I updated and rebooted one of my hosts (death-star, 10.0.20.52) and on
> reboot, the glusterd service would start, but wouldn't seem to work.
> The engine webgui reported that its bricks were down, and commands
> like this would fail:
>
> [root@death-star glusterfs]# gluster pool list
> pool list: failed
> [root@death-star glusterfs]# gluster peer status
> peer status: failed
>
> Upon further investigation, I had under /var/lib/glusterd/peers/ the 2
> existing UUID files, plus a new 3rd one:
> [root@death-star peers]# cat 10.0.20.53
> uuid=----
> state=0
> hostname1=10.0.20.53
>

[Adding gluster-users]

How did you add this peer "10.0.20.53"? Is this another interface for an
existing peer?


> I moved that file out of there, restarted glusterd, and now gluster is
> working again.
>
> I am guessing that this is a bug. Let me know if I should attach other
> log files; I am not sure which ones.
>
> And yes, 10.0.20.53 is the IP of one of the other hosts.
>
> -Mike
> ___
> 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] Gluster storage network not being used for Gluster

2017-07-03 Thread Sahina Bose
Could you  provide output of "gluster peer status" and "gluster volume
info" ?


On Sun, Jul 2, 2017 at 9:33 AM, Mike DePaulo  wrote:

> Hi,
>
>
> I configured a "Gluster storage" network, but it doesn't look like it
> is being used for Gluster. Specifically, the switch's LEDs are not
> blinking, and the hosts' "Total Tx" and "Total Rx" counts are not
> changing (and they're tiny, under 1 MB.) The management network must
> still be being used.
>
> I have 3 hosts running oVirt Node 4.1.x. I set them up via the gluster
> hosted engine. The gluster storage network is 10.0.20.x. These are the
> contents of /var/lib/glusterd/peers:
> [root@centerpoint peers]# cat 8a83fddd-df7e-4e3b-9fc7-ca1c9bf9deaa
> uuid=8a83fddd-df7e-4e3b-9fc7-ca1c9bf9deaa
> state=3
> hostname1=death-star.ad.depaulo.org
> hostname2=death-star
> hostname3=192.168.1.52
> hostname4=10.0.20.52
> [root@centerpoint peers]# cat b6b96427-a0dd-47ff-b3e0-038eb0967fb9
> uuid=b6b96427-a0dd-47ff-b3e0-038eb0967fb9
> state=3
> hostname1=starkiller-base.ad.depaulo.org
> hostname2=starkiller-base
> hostname3=192.168.1.53
>
> Thanks in advance,
> -Mike
> ___
> 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] Other portals work, user portal experiences console errors

2017-07-03 Thread Sophia Valentine

Hi all!

I installed the nightly from the repo on CentOS 7.0.

I currently have an issue where visiting the user portal triggers 
the
following errors in the browser console. I believe that I will 
need to

compile the engine from source due to the current source being
compacted, thus obscuring the stacktrace.

If that is needed, can I generate an RPM with the debug build I 
create
(might need some help with this, if that's okay)? I'm hoping it's 
a
"known error" and that there's a simple fix. Would love to get to 
the

bottom of this!

Thanks.

Stacktrace below:

Mon Jul 03 09:13:51 GMT+100 2017 
com.gwtplatform.mvp.client.presenter.slots.LegacySlotConvertor


SEVERE: Warning: You're using an untyped slot!
Untyped slots are dangerous! Please upgrade your slots using
the Arcbee's easy upgrade tool at
https://arcbees.github.io/gwtp-slot-upgrader
uGc @ userportal-0.js:12779
userportal-0.js:12779 Mon Jul 03 09:13:51 GMT+100 2017 
SEVERE: Uncaught exception
com.google.web.bindery.event.shared.UmbrellaException: 2 
exceptions caught: Adding non GroupedTabData; Adding non 
GroupedTabData

at Unknown.lp(userportal-0.js)
at Unknown.xp(userportal-0.js)
at Unknown.dQ(userportal-0.js)
at Unknown.EP(userportal-0.js)
at Unknown.HP(userportal-0.js)
at Unknown.YP(userportal-0.js)
at Unknown.Omd(userportal-0.js)
at Unknown.Und(userportal-28.js)
at Unknown.bmd(userportal-0.js)
at Unknown.mnd(userportal-28.js)
at Unknown.amd(userportal-0.js)
at Unknown.Rqo(userportal-2.js)
at Unknown.dro(userportal-2.js)
at Unknown.yq(userportal-0.js)
at Unknown.Dq(userportal-0.js)
at Unknown.Zq(userportal-0.js)
at Unknown.ar(userportal-0.js)
at Unknown.eval(userportal-0.js)
at Unknown.anonymous(userportal-2.js)
	at 
	Unknown.userportal.__installRunAsyncCode(https://vmengine.x.com/ovirt-engine/userportal/userportal.nocache.js)

at Unknown.__gwtInstallCode(userportal-0.js)
at Unknown.mr(userportal-0.js)
at Unknown.Kr(userportal-0.js)
at Unknown.eval(userportal-0.js)
at Unknown.Zq(userportal-0.js)
at Unknown.ar(userportal-0.js)
at Unknown.eval(userportal-0.js)
	at 
	Unknown.anonymous(https://vmengine.x.com/ovirt-engine/userportal/deferredjs/5D86F4BF62D99E7C2EA706F122B819FC/2.cache.js)
	Suppressed: java.lang.RuntimeException: Adding non 
	GroupedTabData

at Unknown.kp(userportal-0.js)
at Unknown.up(userportal-0.js)
at Unknown.wp(userportal-0.js)
at Unknown.XLk(userportal-2.js)
at Unknown.w2j(userportal-28.js)
at Unknown.Rnd(userportal-28.js)
at Unknown.znd(userportal-28.js)
at Unknown.Bnd(userportal-28.js)
at Unknown.EP(userportal-0.js)
at Unknown.HP(userportal-0.js)
at Unknown.YP(userportal-0.js)
at Unknown.Omd(userportal-0.js)
at Unknown.Und(userportal-28.js)
at Unknown.bmd(userportal-0.js)
at Unknown.mnd(userportal-28.js)
at Unknown.amd(userportal-0.js)
at Unknown.Rqo(userportal-2.js)
at Unknown.dro(userportal-2.js)
at Unknown.yq(userportal-0.js)
at Unknown.Dq(userportal-0.js)
at Unknown.Zq(userportal-0.js)
at Unknown.ar(userportal-0.js)
at Unknown.eval(userportal-0.js)
at Unknown.anonymous(userportal-2.js)
		at 
		Unknown.userportal.__installRunAsyncCode(https://vmengine.x.com/ovirt-engine/userportal/userportal.nocache.js)

at Unknown.__gwtInstallCode(userportal-0.js)
at Unknown.mr(userportal-0.js)
at Unknown.Kr(userportal-0.js)
at Unknown.eval(userportal-0.js)
at Unknown.Zq(userportal-0.js)
at Unknown.ar(userportal-0.js)
at Unknown.eval(userportal-0.js)
		at 
		Unknown.anonymous(https://vmengine.x.com/ovirt-engine/userportal/deferredjs/5D86F4BF62D99E7C2EA706F122B819FC/2.cache.js)

Caused by: java.lang.RuntimeException: Adding non GroupedTabData
at Unknown.kp(userportal-0.js)
at Unknown.up(userportal-0.js)
at Unknown.wp(userportal-0.js)
at Unknown.XLk(userportal-2.js)
at Unknown.w2j(userportal-28.js)
at Unknown.Rnd(userportal-28.js)
at Unknown.znd(userportal-28.js)
at Unknown.Bnd(userportal-28.js)
at Unknown.EP(userportal-0.js)
at Unknown.HP(userportal-0.js)
at Unknown.YP(userportal-0.js)
at Unknown.Omd(userportal-0.js)
at Unknown.Und(userportal-28.js)
at Unknown.bmd(userportal-0.js)
at Unknown.mnd(userportal-28.js)
at Unknown.amd(userportal-0.js)
at Unknown.Rqo(userportal-2.js)
at 

Re: [ovirt-users] Best way of doing complete stop of HCI environment?

2017-07-03 Thread knarra

On 07/03/2017 02:35 PM, Gianluca Cecchi wrote:


Any recommendations in case I have to take down a site for maintenance?

Thanks,
Gianluca


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


Hi ,

You can follow the steps below to do that.

1) Stop all the virtual machines.

2) Move all the storage domains other than hosted_storage to maintenance 
which will unmount them from all the nodes.


3)  Move HE to global maintenance 'hosted-engine --set-maintenance 
--mode =global'


4) stop HE vm by running the command 'hosted-engine --vm-shutdown'

5) confirm that engine is down using the command 'hosted-engine --vm-status'

6) stop ha agent and broker services on all the nodes by running the 
command 'systemctl stop ovirt-ha-broker' ; 'systemctl stop ovirt-ha-agent'


7) umount hosted-engine from all the hypervisors 'hosted-engine 
--disconnect-storage'


8) stop all the volumes.

9) power off all the hypervisors.

Hope this helps !!!

Thanks

kasturi.

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


[ovirt-users] Best way of doing complete stop of HCI environment?

2017-07-03 Thread Gianluca Cecchi
Any recommendations in case I have to take down a site for maintenance?

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


Re: [ovirt-users] vdsm changing disk scheduler when starting, configurable?

2017-07-03 Thread Yaniv Kaul
On Mon, Jul 3, 2017 at 12:27 AM, Darrell Budic 
wrote:

> It seems vdsmd under 4.1.x (or something under it’s control) changes the
> disk schedulers when it starts or a host node is activated, and I’d like to
> avoid this. Is it preventable? Or configurable anywhere? This was probably
> happening under earlier version, but I just noticed it while upgrading some
> converged boxes today.
>
> It likes to set deadline, which I understand is the RHEL default for
> centos 7 on non SATA disks. But I’d rather have NOOP on my SSDs because
> SSDs, and NOOP on my SATA spinning platters because ZFS does it’s own
> scheduling, and running anything other than NOOP can cause increased CPU
> utilization for no gain. It’s also fighting ZFS, which tires to set NOOP on
> whole disks it controls, and my kernel command line setting.
>

We've stopped doing it in 4.1.1 (
https://bugzilla.redhat.com/show_bug.cgi?id=1381219 )
Y.


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


Re: [ovirt-users] vm freezes when using yum update

2017-07-03 Thread Yaniv Kaul
On Mon, Jul 3, 2017 at 11:00 AM, M Mahboubian 
wrote:

> Hi Yanis,
>
> Thank you for your reply.
>
> | Interesting - what interface are they using?
> | Is that raw or raw sparse? How did you perform the conversion? (or no
> conversion - just copied the disks over?)
>
> The VM disks are in the SAN storage in order to use oVirt we just pointed
> them to the oVirt VMs. This is how we did it precisely:
> First we created the VMs in oVirt with disks which are the same size as
> the existing disks. then we deleted these disks which was generated by
> oVirt and renamed our existing disks to match the deleted ones naming-wise.
> Finally we started the oVirt VMs and they were able to run and these VMs
> are always ok without any issue.
>
> The new VMs which have problem are from scratch (no template). One thing
> though, all these new VMs are created based on an CentOS 7 ISO. We have not
> tried any other flavor of Linux.
>
> The kernel 4.1 is actually from Oracle Linux repository since we needed to
> have OCFS2 support. So after installing oVirt we updated the kernel to
> Oracle Linux kernel 4.1 since that kernel supports OCFS2.
>

Would it be possible to test with the regular CentOS kernel? Just to ensure
it's not the kernel causing this?
Y.


>
> | We might need to get libvirt debug logs (and perhaps journal output of
> the host).
>
> I'll get this information and post here.
>
> Regards
>
>
>
>
>
>
> On Monday, July 3, 2017 3:01 PM, Yaniv Kaul  wrote:
>
>
>
>
> On Mon, Jul 3, 2017 at 6:49 AM, M Mahboubian 
> wrote:
>
> Hi Yaniv,
>
> Thanks for your reply. Apologies for my late reply we had a long holiday
> here.
>
> To answer you:
>
> Yes the  guest VM become completely frozen and non responsive as soon as
> its disk has any activity for example when we shutdown or do a yum update.
>
>
> Versions of all the components involved - guest OS, host OS (qemu-kvm
> version), how do you run the VM (vdsm log would be helpful here), exact
> storage specification (1Gb or 10Gb link? What is the NFS version? What is
> it hosted on? etc.)
>  Y.
>
> Some facts about our environment:
>
> 1) Previously, this environment was using XEN using raw disk and we change
> it to Ovirt (Ovirt were able to read the VMs's disks without any
> conversion.)
>
>
> Interesting - what interface are they using?
> Is that raw or raw sparse? How did you perform the conversion? (or no
> conversion - just copied the disks over?)
>
>
> 2) The issue we are facing is not happening for any of the existing VMs.
> *3) This issue only happens for new VMs.*
>
>
> New VMs from blank, or from a template (as a snapshot over the previous
> VMs) ?
>
>
> 4) Guest (kernel v3.10) and host(kernel v4.1) OSes are both CentOS 7
> minimal installation.
>
>
> Kernel 4.1? From where?
>
>
> *5) NFS version 4* and Using Ovirt 4.1
> 6) *The network speed is 1 GB.*
>
>
> That might be very slow (but should not cause such an issue, unless
> severely overloaded.
>
> 7) The output for rpm -qa | grep qemu-kvm shows:
> * qemu-kvm-common-ev-2.6.0-28. e17_3.6.1.x86_64*
> * qemu-kvm-tools-ev-2.6.0-28. e17_3.6.1.x86_64*
> * qemu-kvm-ev-2.6.0-28.e17_3.6. 1.x86_64*
>
>
> That's good - that's almost the latest-greatest.
>
>
> *8) *The storage is from a SAN device which is connected to the NFS
> server using fiber channel.
>
> So for example during shutdown also it froze and shows something like this
> in event section:
>
> *VM ILMU_WEB has been paused due to storage I/O problem.*
>
>
> We might need to get libvirt debug logs (and perhaps journal output of the
> host).
> Y.
>
>
>
>
> More information:
>
> VDSM log at the time of this issue (The issue happened at Jul 3, 2017
> 9:50:43 AM):
>
> 2017-07-03 09:50:37,113+0800 INFO  (jsonrpc/0) [jsonrpc.JsonRpcServer] RPC 
> call Host.getAllVmStats succeeded in 0.00 seconds (__init__:515)
> 2017-07-03 09:50:37,897+0800 INFO  (jsonrpc/1) [jsonrpc.JsonRpcServer] RPC 
> call Host.getAllVmIoTunePolicies succeeded in 0.02 seconds (__init__:515)
> 2017-07-03 09:50:42,510+0800 INFO  (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC 
> call Host.getAllVmStats succeeded in 0.00 seconds (__init__:515)
> *2017-07-03 09:50:43,548+0800 INFO  (jsonrpc/3) [dispatcher] Run and protect: 
> repoStats(options=None) (logUtils:51)
> 2017-07-03 09:50:43,548+0800 INFO  (jsonrpc/3) [dispatcher] Run and protect: 
> repoStats, Return response: {u'e01186c1-7e44-4808-b551- 4722f0f8e84b': 
> {'code': 0, 'actual': True, 'version': 4, 'acquired': True, 'delay': 
> '0.000144822', 'lastCheck': '8.9', 'valid': True}, u'721b5233-b0ba-4722-8a7d- 
> ba2a372190a0': {'code': 0, 'actual': True, 'version': 4, 'acquired': True, 
> 'delay': '0.000327909', 'lastCheck': '8.9', 'valid': True}, 
> u'94775bd3-3244-45b4-8a06- 37eff8856afa': {'code': 0, 'actual': True, 
> 'version': 4, 'acquired': True, 'delay': '0.000256425', 'lastCheck': '8.9', 
> 'valid': True}, u'731bb771-5b73-4b5c-ac46- 56499df97721': {'code': 0, 
> 

Re: [ovirt-users] vm freezes when using yum update

2017-07-03 Thread M Mahboubian
Hi Yanis,
Thank you for your reply. 
| Interesting - what interface are they using?| Is that raw or raw sparse? How 
did you perform the conversion? (or no conversion - just copied the disks over?)
The VM disks are in the SAN storage in order to use oVirt we just pointed them 
to the oVirt VMs. This is how we did it precisely:First we created the VMs in 
oVirt with disks which are the same size as the existing disks. then we deleted 
these disks which was generated by oVirt and renamed our existing disks to 
match the deleted ones naming-wise. Finally we started the oVirt VMs and they 
were able to run and these VMs are always ok without any issue.
The new VMs which have problem are from scratch (no template). One thing 
though, all these new VMs are created based on an CentOS 7 ISO. We have not 
tried any other flavor of Linux.
The kernel 4.1 is actually from Oracle Linux repository since we needed to have 
OCFS2 support. So after installing oVirt we updated the kernel to Oracle Linux 
kernel 4.1 since that kernel supports OCFS2.
| We might need to get libvirt debug logs (and perhaps journal output of the 
host).

I'll get this information and post here.
Regards



 

On Monday, July 3, 2017 3:01 PM, Yaniv Kaul  wrote:
 

 

On Mon, Jul 3, 2017 at 6:49 AM, M Mahboubian  wrote:

Hi Yaniv,
Thanks for your reply. Apologies for my late reply we had a long holiday here. 
To answer you:
Yes the  guest VM become completely frozen and non responsive as soon as its 
disk has any activity for example when we shutdown or do a yum update. 

Versions of all the components involved - guest OS, host OS (qemu-kvm version), 
how do you run the VM (vdsm log would be helpful here), exact storage 
specification (1Gb or 10Gb link? What is the NFS version? What is it hosted on? 
etc.) Y.
Some facts about our environment:
1) Previously, this environment was using XEN using raw disk and we change it 
to Ovirt (Ovirt were able to read the VMs's disks without any conversion.) 

Interesting - what interface are they using?Is that raw or raw sparse? How did 
you perform the conversion? (or no conversion - just copied the disks over?) 
2) The issue we are facing is not happening for any of the existing VMs. 3) 
This issue only happens for new VMs.

New VMs from blank, or from a template (as a snapshot over the previous VMs) ? 
4) Guest (kernel v3.10) and host(kernel v4.1) OSes are both CentOS 7 minimal 
installation. 

Kernel 4.1? From where? 
5) NFS version 4 and Using Ovirt 4.16) The network speed is 1 GB.

That might be very slow (but should not cause such an issue, unless severely 
overloaded. 

7) The output for rpm -qa | grep qemu-kvm shows:     
qemu-kvm-common-ev-2.6.0-28. e17_3.6.1.x86_64
     qemu-kvm-tools-ev-2.6.0-28. e17_3.6.1.x86_64     
qemu-kvm-ev-2.6.0-28.e17_3.6. 1.x86_64

That's good - that's almost the latest-greatest. 
8) The storage is from a SAN device which is connected to the NFS server using 
fiber channel.
So for example during shutdown also it froze and shows something like this in 
event section:
VM ILMU_WEB has been paused due to storage I/O problem.

We might need to get libvirt debug logs (and perhaps journal output of the 
host).Y. 


More information:
VDSM log at the time of this issue (The issue happened at Jul 3, 2017 9:50:43 
AM):
2017-07-03 09:50:37,113+0800 INFO  (jsonrpc/0) [jsonrpc.JsonRpcServer] RPC call 
Host.getAllVmStats succeeded in 0.00 seconds (__init__:515)
2017-07-03 09:50:37,897+0800 INFO  (jsonrpc/1) [jsonrpc.JsonRpcServer] RPC call 
Host.getAllVmIoTunePolicies succeeded in 0.02 seconds (__init__:515)
2017-07-03 09:50:42,510+0800 INFO  (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC call 
Host.getAllVmStats succeeded in 0.00 seconds (__init__:515)
2017-07-03 09:50:43,548+0800 INFO  (jsonrpc/3) [dispatcher] Run and protect: 
repoStats(options=None) (logUtils:51)
2017-07-03 09:50:43,548+0800 INFO  (jsonrpc/3) [dispatcher] Run and protect: 
repoStats, Return response: {u'e01186c1-7e44-4808-b551- 4722f0f8e84b': {'code': 
0, 'actual': True, 'version': 4, 'acquired': True, 'delay': '0.000144822', 
'lastCheck': '8.9', 'valid': True}, u'721b5233-b0ba-4722-8a7d- ba2a372190a0': 
{'code': 0, 'actual': True, 'version': 4, 'acquired': True, 'delay': 
'0.000327909', 'lastCheck': '8.9', 'valid': True}, u'94775bd3-3244-45b4-8a06- 
37eff8856afa': {'code': 0, 'actual': True, 'version': 4, 'acquired': True, 
'delay': '0.000256425', 'lastCheck': '8.9', 'valid': True}, 
u'731bb771-5b73-4b5c-ac46- 56499df97721': {'code': 0, 'actual': True, 
'version': 0, 'acquired': True, 'delay': '0.000238159', 'lastCheck': '8.9', 
'valid': True}, u'f620781f-93d4-4410-8697- eb41045cacd6': {'code': 0, 'actual': 
True, 'version': 4, 'acquired': True, 'delay': '0.00022004', 'lastCheck': 
'8.9', 'valid': True}, u'a1a7d0a4-e3b6-4bd5-862b- 96e70dae3f29': {'code': 0, 
'actual': True, 'version': 0, 'acquired': True, 'delay': '0.000298581', 
'lastCheck': '8.8', 'valid': True}} (logUtils:54)

Re: [ovirt-users] vm freezes when using yum update

2017-07-03 Thread Yaniv Kaul
On Mon, Jul 3, 2017 at 6:49 AM, M Mahboubian  wrote:

> Hi Yaniv,
>
> Thanks for your reply. Apologies for my late reply we had a long holiday
> here.
>
> To answer you:
>
> Yes the  guest VM become completely frozen and non responsive as soon as
> its disk has any activity for example when we shutdown or do a yum update.
>
>
> Versions of all the components involved - guest OS, host OS (qemu-kvm
> version), how do you run the VM (vdsm log would be helpful here), exact
> storage specification (1Gb or 10Gb link? What is the NFS version? What is
> it hosted on? etc.)
>  Y.
>
> Some facts about our environment:
>
> 1) Previously, this environment was using XEN using raw disk and we change
> it to Ovirt (Ovirt were able to read the VMs's disks without any
> conversion.)
>

Interesting - what interface are they using?
Is that raw or raw sparse? How did you perform the conversion? (or no
conversion - just copied the disks over?)


> 2) The issue we are facing is not happening for any of the existing VMs.
> *3) This issue only happens for new VMs.*
>

New VMs from blank, or from a template (as a snapshot over the previous
VMs) ?


> 4) Guest (kernel v3.10) and host(kernel v4.1) OSes are both CentOS 7
> minimal installation.
>

Kernel 4.1? From where?


> *5) NFS version 4* and Using Ovirt 4.1
> 6) *The network speed is 1 GB.*
>

That might be very slow (but should not cause such an issue, unless
severely overloaded.

7) The output for rpm -qa | grep qemu-kvm shows:
> * qemu-kvm-common-ev-2.6.0-28.e17_3.6.1.x86_64*
> * qemu-kvm-tools-ev-2.6.0-28.e17_3.6.1.x86_64*
> * qemu-kvm-ev-2.6.0-28.e17_3.6.1.x86_64*
>

That's good - that's almost the latest-greatest.


> *8) *The storage is from a SAN device which is connected to the NFS
> server using fiber channel.
>
> So for example during shutdown also it froze and shows something like this
> in event section:
>
> *VM ILMU_WEB has been paused due to storage I/O problem.*
>

We might need to get libvirt debug logs (and perhaps journal output of the
host).
Y.


>
>
> More information:
>
> VDSM log at the time of this issue (The issue happened at Jul 3, 2017
> 9:50:43 AM):
>
> 2017-07-03 09:50:37,113+0800 INFO  (jsonrpc/0) [jsonrpc.JsonRpcServer] RPC 
> call Host.getAllVmStats succeeded in 0.00 seconds (__init__:515)
> 2017-07-03 09:50:37,897+0800 INFO  (jsonrpc/1) [jsonrpc.JsonRpcServer] RPC 
> call Host.getAllVmIoTunePolicies succeeded in 0.02 seconds (__init__:515)
> 2017-07-03 09:50:42,510+0800 INFO  (jsonrpc/2) [jsonrpc.JsonRpcServer] RPC 
> call Host.getAllVmStats succeeded in 0.00 seconds (__init__:515)*2017-07-03 
> 09:50:43,548+0800 INFO  (jsonrpc/3) [dispatcher] Run and protect: 
> repoStats(options=None) (logUtils:51)
> 2017-07-03 09:50:43,548+0800 INFO  (jsonrpc/3) [dispatcher] Run and protect: 
> repoStats, Return response: {u'e01186c1-7e44-4808-b551-4722f0f8e84b': 
> {'code': 0, 'actual': True, 'version': 4, 'acquired': True, 'delay': 
> '0.000144822', 'lastCheck': '8.9', 'valid': True}, 
> u'721b5233-b0ba-4722-8a7d-ba2a372190a0': {'code': 0, 'actual': True, 
> 'version': 4, 'acquired': True, 'delay': '0.000327909', 'lastCheck': '8.9', 
> 'valid': True}, u'94775bd3-3244-45b4-8a06-37eff8856afa': {'code': 0, 
> 'actual': True, 'version': 4, 'acquired': True, 'delay': '0.000256425', 
> 'lastCheck': '8.9', 'valid': True}, u'731bb771-5b73-4b5c-ac46-56499df97721': 
> {'code': 0, 'actual': True, 'version': 0, 'acquired': True, 'delay': 
> '0.000238159', 'lastCheck': '8.9', 'valid': True}, 
> u'f620781f-93d4-4410-8697-eb41045cacd6': {'code': 0, 'actual': True, 
> 'version': 4, 'acquired': True, 'delay': '0.00022004', 'lastCheck': '8.9', 
> 'valid': True}, u'a1a7d0a4-e3b6-4bd5-862b-96e70dae3f29': {'code': 0, 
> 'actual': True, 'version': 0, 'acquired': True, 'delay': '0.000298581', 
> 'lastCheck': '8.8', 'valid': True}} (logUtils:54)
> *2017-07-03 09:50:43,563+0800 INFO  (jsonrpc/3) [jsonrpc.JsonRpcServer] RPC 
> call Host.getStats succeeded in 0.01 seconds (__init__:515)
> 2017-07-03 09:50:46,737+0800 INFO  (periodic/3) [dispatcher] Run and protect: 
> getVolumeSize(sdUUID=u'721b5233-b0ba-4722-8a7d-ba2a372190a0', 
> spUUID=u'b04ca6e4-2660-4eaa-acdb-c1dae4e21f2d', 
> imgUUID=u'3c26476e-1dae-44d7-9208-531b91ae5ae1', 
> volUUID=u'a7e789fb-6646-4d0a-9b51-f5ab8242c8d5', options=None) (logUtils:51)
> 2017-07-03 09:50:46,738+0800 INFO  (periodic/0) [dispatcher] Run and protect: 
> getVolumeSize(sdUUID=u'f620781f-93d4-4410-8697-eb41045cacd6', 
> spUUID=u'b04ca6e4-2660-4eaa-acdb-c1dae4e21f2d', 
> imgUUID=u'2158fdae-54e1-413d-a844-73da5d1bb4ca', 
> volUUID=u'6ee0b0eb-0bba-4e18-9c00-c1539b632e8a', options=None) (logUtils:51)
> 2017-07-03 09:50:46,740+0800 INFO  (periodic/2) [dispatcher] Run and protect: 
> getVolumeSize(sdUUID=u'f620781f-93d4-4410-8697-eb41045cacd6', 
> spUUID=u'b04ca6e4-2660-4eaa-acdb-c1dae4e21f2d', 
> imgUUID=u'a967016d-a56b-41e8-b7a2-57903cbd2825', 
> volUUID=u'784514cb-2b33-431c-b193-045f23c596d8', options=None)