[ovirt-users] Archiving huge ovirt_engine_history table

2015-10-13 Thread Eric Wong
Hello oVirt guru out there:

I notice our oVirt engine postgres db size is growing quite fast for past 
couple of months.  I checked the database size.  Found that our 
ovirt_engine_history is 73GB in size.


engine=# \connect ovirt_engine_history
You are now connected to database "ovirt_engine_history" as user "postgres".
ovirt_engine_history=# SELECT pg_size_pretty( pg_database_size( 
current_database() ) ) As human_size
   , pg_database_size( current_database() ) As raw_size;
human_size |  raw_size
+-
73 GB  | 78444213368
(1 row)


Brief check the records, there are entries dated back 2014.

I want to see if there is a safe way to archive and remove some of the older 
records?

Thanks,
Eric

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


Re: [ovirt-users] Upgrading

2015-10-13 Thread Fernando Fuentes

Jon,

Thanks for the advice!

On 10/13/2015 05:51 PM, Jon Archer wrote:
Personally I would take full advantage of the maintenance modes, 
upgrading the engine before the hosts too.


Putting the hosts in maintenance mode before upgrading at least will 
allow for the vm's to migrate to the other hosts in the cluster incase 
of an outage.


Jon

On 13/10/15 16:25, Fernando Fuentes wrote:

Is there a best practice when upgrading from ovirt 3.4 to 3.5?
I upgraded my development server which is a self hosted server and I 
just did a regular update without putting anything under 
maintenance... Though my vm's where turned off. It all went well and 
the migration from krb/ldap to AAA went smoothly and so far is 
running like a champ.


I am about to do the same to our production cluster and was wondering 
if I must put all Hosts under maintenance before I do the upgrade? Is 
it any different than a self hosted ovirt setup?


Thanks in advance for all/any tips from the mailing list!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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


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


Re: [ovirt-users] oVirt Engine redundant ?

2015-10-13 Thread Simone Tiraboschi
On Tue, Oct 13, 2015 at 9:24 AM, Nico  wrote:

> Le 2015-10-13 09:08, Nico a écrit :
>
> Le 2015-10-12 09:17, Nico a écrit :
>
> Le 2015-10-12 09:09, Barak Korren a écrit :
>
>
>
> What that procedure describes is backing up an existing engine,
> installing a new one and then restoring the backed up data into it.
> This was probably written to describe migration from a stand-alone
> engine host, not an AllInOne.
> Theoretically this should work for your setup, but I am not sure if
> the new hosted engine will be able to properly use the AllInOne node
> as a hypervisor (it would probably depend on the copied configuration
> containing enough details to allow the engine to connect to it over
> the network. you will probably at the very last have to shut down the
> existing engine before starting up the hosted engine)
> I would suggest doing as many backups as you can before starting, and
> performing the H.E. setup on a host that wasn't used by the existing
> engine, that way if it fails you can just shut it down and bring your
> old engine back up.
>
> I got a backup running at this moment,
> scping /gluster/ovirt/d44ee4b0-8d36-467a-9610-c682a618b698/images/ to a
> third device.
>
> So, once done, i'll give a shot on the node2 which is running only VDSM as
> Host agent.
>
> Hope all will be fine !
>
> Hi,
>
> My backups are done, i'm now processing the installation for having the
> engine in a VM but i got the following error at the first step:
>
>
>
>
>
> Ok i put the node2 in maintenance and it continues but i got a new error:
>
>
> root@devnix-virt-master02 ~]# hosted-engine --deploy
> [ INFO ] Stage: Initializing
> [ INFO ] Generating a temporary VNC password.
> [ INFO ] Stage: Environment setup
> Continuing will configure this host for serving as hypervisor and create a
> VM where you have to install oVirt Engine afterwards.
> Are you sure you want to continue? (Yes, No)[Yes]:
> Configuration files: []
> Log file:
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20151013091823-7760bz.log
> Version: otopi-1.3.2 (otopi-1.3.2-1.el7.centos)
> [ INFO ] Hardware supports virtualization
> [ INFO ] Bridge ovirtmgmt already created
> [ INFO ] Stage: Environment packages setup
> [ INFO ] Stage: Programs detection
> [ INFO ] Stage: Environment setup
> [ INFO ] Stage: Environment customization
>
> --== STORAGE CONFIGURATION ==--
>
> During customization use CTRL-D to abort.
> Please specify the storage you would like to use (iscsi, nfs3, nfs4)[nfs3]:
> Please specify the full shared storage connection path to use (example:
> host:/path): ovirt01:/share_nfs
> [ INFO ] Installing on first host
> Please provide storage domain name. [hosted_storage]:
> Local storage datacenter name is an internal name and currently will not
> be shown in engine's admin UI.
> Please enter local datacenter name [hosted_datacenter]:
>
> --== SYSTEM CONFIGURATION ==--
>
>
> --== NETWORK CONFIGURATION ==--
>
> iptables was detected on your computer, do you wish setup to configure it?
> (Yes, No)[Yes]: No
> Please indicate a pingable gateway IP address [176.31.117.254]:
>
> --== VM CONFIGURATION ==--
>
> Please specify the device to boot the VM from (cdrom, disk, pxe) [cdrom]:
> Please specify an alias for the Hosted Engine image [hosted_engine]:
> The following CPU types are supported by this host:
> - model_Nehalem: Intel Nehalem Family
> - model_Penryn: Intel Penryn Family
> - model_Conroe: Intel Conroe Family
> Please specify the CPU type to be used by the VM [model_Nehalem]:
> Please specify path to installation media you would like to use [None]:
> [ ERROR ] Failed to execute stage 'Environment customization': [Errno 2]
> No such file or directory: '/None'
> [ INFO ] Stage: Clean up
> [ INFO ] Generating answer file
> '/var/lib/ovirt-hosted-engine-setup/answers/answers-20151013092118.conf'
> [ INFO ] Stage: Pre-termination
> [ INFO ] Stage: Termination
> [root@devnix-virt-master02 ~]#
>
> I don't understand what is it expecting for the PATH ? i've no idea what
>  INSTALLATION MEDIA is about.
>
> Could you please give me a clue ?
>

You choose  to create your new engine VM booting from a CDRom image so you
have to specify the path of that ISO image (a supported RHEL, Centos or
Fedora release) on your system.



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


Re: [ovirt-users] oVirt Engine redundant ?

2015-10-13 Thread Nico
 

Le 2015-10-12 09:17, Nico a écrit : 

> Le 2015-10-12 09:09, Barak Korren a écrit : 
> 
> What that procedure describes is backing up an existing engine,
> installing a new one and then restoring the backed up data into it.
> This was probably written to describe migration from a stand-alone
> engine host, not an AllInOne.
> Theoretically this should work for your setup, but I am not sure if
> the new hosted engine will be able to properly use the AllInOne node
> as a hypervisor (it would probably depend on the copied configuration
> containing enough details to allow the engine to connect to it over
> the network. you will probably at the very last have to shut down the
> existing engine before starting up the hosted engine)
> I would suggest doing as many backups as you can before starting, and
> performing the H.E. setup on a host that wasn't used by the existing
> engine, that way if it fails you can just shut it down and bring your
> old engine back up.

I got a backup running at this moment, scping
/gluster/ovirt/d44ee4b0-8d36-467a-9610-c682a618b698/images/ to a third
device. 

So, once done, i'll give a shot on the node2 which is running only VDSM
as Host agent. 

Hope all will be fine ! 

Hi, 

My backups are done, i'm now processing the installation for having the
engine in a VM but i got the following error at the first step: 

[root@devnix-virt-master02 ~]# hosted-engine --deploy
[ INFO ] Stage: Initializing
[ INFO ] Generating a temporary VNC password.
[ INFO ] Stage: Environment setup
Continuing will configure this host for serving as hypervisor and create
a VM where you have to install oVirt Engine afterwards.
Are you sure you want to continue? (Yes, No)[Yes]:
Configuration files: []
Log file:
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20151013090336-0upz5f.log
Version: otopi-1.3.2 (otopi-1.3.2-1.el7.centos)
[ INFO ] Hardware supports virtualization
[ INFO ] Bridge ovirtmgmt already created
[ INFO ] Stage: Environment packages setup
[ INFO ] Stage: Programs detection
[ INFO ] Stage: Environment setup
[ INFO ] Stage: Environment customization 

--== STORAGE CONFIGURATION ==-- 

During customization use CTRL-D to abort.
[ ERROR ] The following storage pool has been found connected:
0ae7120a-430d-4534-9a7e-59c53fb2e804
[ ERROR ] Failed to execute stage 'Environment customization': Cannot
setup Hosted Engine with connected storage pools
[ INFO ] Stage: Clean up
[ INFO ] Generating answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20151013090355.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination 

There is no VM running at this moment on this hypervisor (node 2). The
error suggests that the storage is still in use. 

[root@devnix-virt-master02 ~]# vdsClient -s 0
getConnectedStoragePoolsList
0ae7120a-430d-4534-9a7e-59c53fb2e804 

Does that mean i must set this hypervisor (node 2) in MAINTENANCE in
order to continue the steps described in 

http://200.1.19.60/ovirt-engine/docs/manual/en-US/html/Installation_Guide/Migrating_to_a_Self-Hosted_Environment.html
[1] 

Thanks 

Regards 

Nico 

 

Links:
--
[1]
http://200.1.19.60/ovirt-engine/docs/manual/en-US/html/Installation_Guide/Migrating_to_a_Self-Hosted_Environment.html___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt Engine redundant ?

2015-10-13 Thread Nico
 

Le 2015-10-13 09:08, Nico a écrit : 

> Le 2015-10-12 09:17, Nico a écrit : 
> 
> Le 2015-10-12 09:09, Barak Korren a écrit : 
> 
> What that procedure describes is backing up an existing engine,
> installing a new one and then restoring the backed up data into it.
> This was probably written to describe migration from a stand-alone
> engine host, not an AllInOne.
> Theoretically this should work for your setup, but I am not sure if
> the new hosted engine will be able to properly use the AllInOne node
> as a hypervisor (it would probably depend on the copied configuration
> containing enough details to allow the engine to connect to it over
> the network. you will probably at the very last have to shut down the
> existing engine before starting up the hosted engine)
> I would suggest doing as many backups as you can before starting, and
> performing the H.E. setup on a host that wasn't used by the existing
> engine, that way if it fails you can just shut it down and bring your
> old engine back up.

I got a backup running at this moment, scping
/gluster/ovirt/d44ee4b0-8d36-467a-9610-c682a618b698/images/ to a third
device. 

So, once done, i'll give a shot on the node2 which is running only VDSM
as Host agent. 

Hope all will be fine ! 

Hi, 

My backups are done, i'm now processing the installation for having the
engine in a VM but i got the following error at the first step: 

Ok i put the node2 in maintenance and it continues but i got a new
error: 

root@devnix-virt-master02 ~]# hosted-engine --deploy
[ INFO ] Stage: Initializing
[ INFO ] Generating a temporary VNC password.
[ INFO ] Stage: Environment setup
Continuing will configure this host for serving as hypervisor and create
a VM where you have to install oVirt Engine afterwards.
Are you sure you want to continue? (Yes, No)[Yes]:
Configuration files: []
Log file:
/var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20151013091823-7760bz.log
Version: otopi-1.3.2 (otopi-1.3.2-1.el7.centos)
[ INFO ] Hardware supports virtualization
[ INFO ] Bridge ovirtmgmt already created
[ INFO ] Stage: Environment packages setup
[ INFO ] Stage: Programs detection
[ INFO ] Stage: Environment setup
[ INFO ] Stage: Environment customization

--== STORAGE CONFIGURATION ==--

During customization use CTRL-D to abort.
Please specify the storage you would like to use (iscsi, nfs3,
nfs4)[nfs3]:
Please specify the full shared storage connection path to use (example:
host:/path): ovirt01:/share_nfs
[ INFO ] Installing on first host
Please provide storage domain name. [hosted_storage]:
Local storage datacenter name is an internal name and currently will not
be shown in engine's admin UI.
Please enter local datacenter name [hosted_datacenter]:

--== SYSTEM CONFIGURATION ==--

--== NETWORK CONFIGURATION ==--

iptables was detected on your computer, do you wish setup to configure
it? (Yes, No)[Yes]: No
Please indicate a pingable gateway IP address [176.31.117.254]:

--== VM CONFIGURATION ==--

Please specify the device to boot the VM from (cdrom, disk, pxe)
[cdrom]:
Please specify an alias for the Hosted Engine image [hosted_engine]:
The following CPU types are supported by this host:
- model_Nehalem: Intel Nehalem Family
- model_Penryn: Intel Penryn Family
- model_Conroe: Intel Conroe Family
Please specify the CPU type to be used by the VM [model_Nehalem]:
Please specify path to installation media you would like to use [None]:
[ ERROR ] Failed to execute stage 'Environment customization': [Errno 2]
No such file or directory: '/None'
[ INFO ] Stage: Clean up
[ INFO ] Generating answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20151013092118.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination
[root@devnix-virt-master02 ~]# 

I don't understand what is it expecting for the PATH ? i've no idea what
INSTALLATION MEDIA is about. 

Could you please give me a clue ? 

Thanks 
regards 
Nico 

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


Re: [ovirt-users] oVirt Engine redundant ?

2015-10-13 Thread Nico
 

Here the log error during VM creaation: 

2015-10-13 09:37:06 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.vm.runvm plugin.execute:937
execute-output: ['/bin/vdsClient', '-s', 'localhost', 'setVmTicket',
'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10800'] stderr:


2015-10-13 09:37:06 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.vm.runvm mixins._create_vm:162
Command '/bin/vdsClient' failed to execute
2015-10-13 09:37:07 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.vm.runvm plugin.executeRaw:824
execute: ['/bin/vdsClient', '-s', 'localhost', 'setVmTicket',
'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10800'],
executable='None',
cwd='None', env=None
2015-10-13 09:37:08 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.vm.runvm plugin.executeRaw:874
execute-result: ['/bin/vdsClient', '-s', 'localhost', 'setVmTicket',
'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10800'], rc=16
2015-10-13 09:37:08 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.vm.runvm plugin.execute:932
execute-output: ['/bin/vdsClient', '-s', 'localhost', 'setVmTicket',
'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10800'] stdout:
Unexpected exception 

2015-10-13 09:37:08 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.vm.runvm plugin.execute:937
execute-output: ['/bin/vdsClient', '-s', 'localhost', 'setVmTicket',
'e88a4313-863f-4d08-87e3-110fa002a6a5', '**FILTERED**', '10800'] stderr:


2015-10-13 09:37:08 DEBUG
otopi.plugins.ovirt_hosted_engine_setup.vm.runvm mixins._create_vm:162
Command '/bin/vdsClient' failed to execute
2015-10-13 09:37:09 DEBUG otopi.context context._executeMethod:152
method exception
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/otopi/context.py", line 142, in
_executeMethod
method['method']()
File
"/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/ovirt-hosted-engine-setup/vm/runvm.py",
line 146, in _boot_from_install_media
self._create_vm()
File
"/usr/lib/python2.7/site-packages/ovirt_hosted_engine_setup/mixins.py",
line 167, in _create_vm
'Cannot set temporary password for console connection.\n'
RuntimeError: Cannot set temporary password for console connection.
The VM may not have been created: please check VDSM logs
2015-10-13 09:37:09 ERROR otopi.context context._executeMethod:161
Failed to execute stage 'Closing up': Cannot set temporary password for
console connection.
The VM may not have been created: please check VDSM logs 

Any clue is welcome. 

Le 2015-10-13 09:39, Nico a écrit : 

> Le 2015-10-13 09:27, Simone Tiraboschi a écrit : 
> 
> I don't understand what is it expecting for the PATH ? i've no idea what 
> INSTALLATION MEDIA is about. 
> 
> Could you please give me a clue ? 
> 
> You choose to create your new engine VM booting from a CDRom image so you 
> have to specify the path of that ISO image (a supported RHEL, Centos or 
> Fedora release) on your system.

 Ok i was expecting the installation to install itself the VM but now i
understand that i have to choose the OS of the VM. 

Finally, i put a Centos7 like my current nodes. 

it failed now about the passwd of the VM: 

[WARNING] Host name devnix-virt-master02 has no domain suffix
[WARNING] Failed to resolve devnix-virt-master02 using DNS, it can be
resolved only locally 

--== CONFIGURATION PREVIEW ==-- 

Engine FQDN : engine.distran.org
Bridge name : ovirtmgmt
SSH daemon port : 22
Gateway address : 176.31.117.254
Host name for web application : hosted_engine_1
Host ID : 1
Image alias : hosted_engine
Image size GB : 25
Storage connection : ovirt01:/share_nfs
Console type : vnc
Memory size MB : 4096
MAC address : 00:16:3e:5e:2a:85
Boot type : cdrom
Number of CPUs : 2
ISO image (for cdrom boot) :
/mnt/iso/5aec30fa-be8b-4f4e-832e-eafb6fa4a8e0/images/----/CentOS-7-x86_64-DVD-1503-01.iso
CPU Type : model_Nehalem 

Please confirm installation settings (Yes, No)[Yes]:
[ INFO ] Stage: Transaction setup
[ INFO ] Stage: Misc configuration
[ INFO ] Stage: Package installation
[ INFO ] Stage: Misc configuration
[ INFO ] Configuring libvirt
[ INFO ] Configuring VDSM
[ INFO ] Starting vdsmd
[ INFO ] Waiting for VDSM hardware info
[ INFO ] Waiting for VDSM hardware info
[ INFO ] Creating Storage Domain
[ INFO ] Creating Storage Pool
[ INFO ] Connecting Storage Pool
[ INFO ] Verifying sanlock lockspace initialization
[ INFO ] Creating VM Image
[ INFO ] Disconnecting Storage Pool
[ INFO ] Start monitoring domain
[ INFO ] Configuring VM
[ INFO ] Updating hosted-engine configuration
[ INFO ] Stage: Transaction commit
[ INFO ] Stage: Closing up 

The following network ports should be opened:
tcp:5900
tcp:5901
udp:5900
udp:5901
An example of the required configuration for iptables can be found at:
/etc/ovirt-hosted-engine/iptables.example
In order to configure firewalld, copy the files from
/etc/ovirt-hosted-engine/firewalld to /etc/firewalld/services
and execute the following commands:
firewall-cmd -service hosted-console
[ INFO ] Creating VM
[ 

Re: [ovirt-users] oVirt Engine redundant ?

2015-10-13 Thread Nico
 

Le 2015-10-13 09:27, Simone Tiraboschi a écrit : 

>> I don't understand what is it expecting for the PATH ? i've no idea what 
>> INSTALLATION MEDIA is about. 
>> 
>> Could you please give me a clue ?
> 
> You choose to create your new engine VM booting from a CDRom image so you 
> have to specify the path of that ISO image (a supported RHEL, Centos or 
> Fedora release) on your system.

 Ok i was expecting the installation to install itself the VM but now i
understand that i have to choose the OS of the VM. 

Finally, i put a Centos7 like my current nodes. 

it failed now about the passwd of the VM: 

[WARNING] Host name devnix-virt-master02 has no domain suffix
[WARNING] Failed to resolve devnix-virt-master02 using DNS, it can be
resolved only locally 

--== CONFIGURATION PREVIEW ==-- 

Engine FQDN : engine.distran.org
Bridge name : ovirtmgmt
SSH daemon port : 22
Gateway address : 176.31.117.254
Host name for web application : hosted_engine_1
Host ID : 1
Image alias : hosted_engine
Image size GB : 25
Storage connection : ovirt01:/share_nfs
Console type : vnc
Memory size MB : 4096
MAC address : 00:16:3e:5e:2a:85
Boot type : cdrom
Number of CPUs : 2
ISO image (for cdrom boot) :
/mnt/iso/5aec30fa-be8b-4f4e-832e-eafb6fa4a8e0/images/----/CentOS-7-x86_64-DVD-1503-01.iso
CPU Type : model_Nehalem 

Please confirm installation settings (Yes, No)[Yes]:
[ INFO ] Stage: Transaction setup
[ INFO ] Stage: Misc configuration
[ INFO ] Stage: Package installation
[ INFO ] Stage: Misc configuration
[ INFO ] Configuring libvirt
[ INFO ] Configuring VDSM
[ INFO ] Starting vdsmd
[ INFO ] Waiting for VDSM hardware info
[ INFO ] Waiting for VDSM hardware info
[ INFO ] Creating Storage Domain
[ INFO ] Creating Storage Pool
[ INFO ] Connecting Storage Pool
[ INFO ] Verifying sanlock lockspace initialization
[ INFO ] Creating VM Image
[ INFO ] Disconnecting Storage Pool
[ INFO ] Start monitoring domain
[ INFO ] Configuring VM
[ INFO ] Updating hosted-engine configuration
[ INFO ] Stage: Transaction commit
[ INFO ] Stage: Closing up 

The following network ports should be opened:
tcp:5900
tcp:5901
udp:5900
udp:5901
An example of the required configuration for iptables can be found at:
/etc/ovirt-hosted-engine/iptables.example
In order to configure firewalld, copy the files from
/etc/ovirt-hosted-engine/firewalld to /etc/firewalld/services
and execute the following commands:
firewall-cmd -service hosted-console
[ INFO ] Creating VM
[ ERROR ] Failed to execute stage 'Closing up': Cannot set temporary
password for console connection. The VM may not have been created:
please check VDSM logs
[ INFO ] Stage: Clean up
[ INFO ] Generating answer file
'/var/lib/ovirt-hosted-engine-setup/answers/answers-20151013093712.conf'
[ INFO ] Stage: Pre-termination
[ INFO ] Stage: Termination 

what can i do ? 

thanks 

regards 

Nico 

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


Re: [ovirt-users] [CentOS-virt] CEPH rbd support in EL7 libvirt

2015-10-13 Thread Christoph

hi

is ovirt useable with xen? is there any doc/howto how to use it?

Am 2015-10-12 15:04, schrieb Sven Kieske:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 12/10/15 10:13, Nux! wrote:

Hi Nir,

I have not tried to use Ovirt with Ceph, my question was about
libvirt and was directed to ask the question here, sorry for the
noise; I understand libvirt is not really ovirt's people concern.

The thing is qemu can do ceph rbd in EL7, libvirt does not,
although support seems to be there and a simple rebuild enables
it. Was hoping you guys know more.

Lucian


I'd suggest to ask this on the virt-sig of centOS (cc'ed).

Why is there no rbd support in el7 libvirt? I don't know, maybe the
virt repo guys from centos can rebuild it (they already do rebuild
libvirt afaik, another flag might not hurt them ).

HTH


- --
Mit freundlichen Grüßen / Regards

Sven Kieske




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


[ovirt-users] VM Network activity on ovirt UI

2015-10-13 Thread Marc Seward
I'm generating network activity on a VM using iperf.The VM acts as an iperf
client.On the client,iperf reports that data has been successfully sent to
iperf server.The iperf server also shows that it's successfully receiving
data from the iperf client.But,network is at 0% on the ovirt UI.The client
and server are on different private networks.

On the same VM,when I generate network activity by fetching a file from a
public network using wget,the network column correctly shows activity on
the ovirt  UI for the VM.

Could someone help me understand why I am unable to see network activity on
the ovirt  UI when iperf is used?

Appreciate your help.TIA.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM Network activity on ovirt UI

2015-10-13 Thread Marc Seward
I'm generating network activity on a VM using iperf.The VM acts as an iperf
client.On the client,iperf reports that data has been successfully sent to
iperf server.The iperf server also shows that it's successfully receiving
data from the iperf client.But,network is at 0% on the ovirt UI.The client
and server are on different private networks.

On the same VM,when I generate network activity by fetching a file from a
public network using wget,the network column correctly shows activity on
the ovirt  UI for the VM.

Could someone help me understand why I am unable to see network activity on
the ovirt  UI when iperf is used?

Appreciate your help.TIA.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] VM Network activity on RHEV-M UI

2015-10-13 Thread Marc Seward
I'm generating network activity on a RHEV 3.5 VM using iperf.The VM acts as
an iperf client.On the client,iperf reports that data has been successfully
sent to iperf server.The iperf server also shows that it's successfully
receiving data from the iperf client.But,network is at 0% on the RHEV-M
UI.The client and server are on different private networks.

On the same VM,when I generate network activity by fetching a file from a
public network using wget,the network column correctly shows activity on
the RHEV-M UI for the VM.

Could someone help me understand why I am unable to see network activity on
the RHEV-M UI when iperf is used?

Appreciate your help.TIA.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Can´t use a VM Network VLAN, because the Virtual Machines inside can't reach the Gateway

2015-10-13 Thread Ido Barkan
Julian,
Lets try a more systematic approach (similar to what Donny suggests):

Please disable your arp script, and reproduce the situation where your vm
cannot connect to the outside.
It will be also a good idea to have the failing machine be the only powered
on machine connected to the network (bridge).

* from the machine os run a ping to a pingable destination outside of your
network (8.8.8.8?)
* run tcpdump on the hypervisor on several interfaces:
  * the vm tap device (vnet0? vnet1?)
  * the vm network bridge device (hosting?), where the tap device is
attached to. This should be visible via brctl.
  * the vlan device underneath the bridge (this one should have a name like
'eno1.50' where eno1 is the physical nic and 50 is the vlan tag)
  * the physical device (the ethernet nic)

The tcpdump command requires root privileges and looks like this: "sudo
tcpdump -n -i  icmp or arp"

What I assume we will see are only icmp requests (pings) and no icmp
replies (pongs). There might be also be only arp requests and
no arp replies.
What I am interested at is the arp broadcasts, as the vm should broadcast
an arp request (who-is ).
My first guess is that is no response or there is one but the vm cannot
hear it. This is why I used the arp filter in the tcpdump command.

This should shed some light on where the problem is and in which layer.
find out where the traffic is not forwarded.

Also, when you locate the point of failure, try and wait for the traffic to
'suddenly work' as you said and then figure out what was changed.

We would love to see the dumps and coontinue to help.

Thanks,
Ido


On Thu, Oct 8, 2015 at 7:29 PM, Julián Tete  wrote:

> I found the reason of my Problem: the virtual machines can't write the ARP
> table ¡¡¿?!!
>
> When I manually use the command:
>
> arp -s 192.168.XXX.XX 00:09:XX:XX:XX:XX
>
> I can reach the gateway
>
> I can't reach anything from my net segment but i can reach Internet
> (Double ¡¡¿?!!)
>
> For the moment I wrote a script, but is awful to do this.
>
> Any idea ?
>
> Thanks in advance :)
>
> 2015-07-10 11:26 GMT-05:00 Julián Tete :
>
>> Perhaps us are affected by the following error :
>>
>> http://h20564.www2.hp.com/hpsc/doc/public/display?docId=emr_na-c04267968
>>
>> I will keep you informed
>>
>> Thanks Friends
>>
>> 2015-07-06 12:06 GMT-05:00 Julián Tete :
>>
>>> Hi Friends of oVirt
>>>
>>> This the data required:
>>>
>>> I have a HP Enclosure with a HP SAN.
>>> I can't change the net settings in the switch because we have VMware
>>> Virtual Machines in production in the same enclosure.
>>> The switch is in Trunk Mode and all the traffic are in Tagged VLAN's
>>> with ID's: 1,50,90,91 and 100.
>>> I can play with 6 blades.
>>> I in the first Blade I installed oVirt in hosted engine mode.
>>> The only S.O is CentOS 7.1
>>>
>>> I used inxi to brig the data for you:
>>>
>>> My First Host is the only host until now (SPM) is the first data domain
>>> (NFS) and contains the hosted engine machine.
>>> I installed oVirt with ovirtmgmt in VLAN 1, over the interface eno1,
>>> without any VLAN Tagged configuration.
>>>
>>> This the data for my first host:
>>>
>>> http://pastebin.com/dfC0XTQM
>>>
>>> This the data for the Engine:
>>>
>>> http://pastebin.com/JdrMSbj0
>>>
>>> This the data for the Virtual Machine created in VLAN 50:
>>>
>>> S.O : CentOS 7.1
>>> SELinux: Permissive
>>> IP ADDRESS: 192.168.50.8
>>> PREFIX: 27
>>> GATEWAY: 192.168.50.1
>>> Interface: eth0
>>>
>>> The Virtual Machine hasn´t any VLAN configuration.
>>>
>>> In the 3 S.O, Network Manager is stopped and disabled, connectivity is
>>> managed by the network daemon.
>>>
>>> This is the data for the Networking in the admin interface:
>>>
>>> http://postimg.org/image/lbypejxrh/
>>>
>>> http://postimg.org/image/jtkyhqs8f/
>>>
>>> http://postimg.org/image/7dwf1nb9f/
>>>
>>> http://postimg.org/image/6i9t75g33/
>>>
>>> http://postimg.org/image/sm8e6lecv/
>>>
>>> http://postimg.org/image/cvig7rjuv/
>>>
>>> http://postimg.org/image/fxcthsrtl/
>>>
>>> http://postimg.org/image/o6xjwwvyz/
>>>
>>> http://postimg.org/image/pv5ar5v3j/
>>>
>>> http://postimg.org/image/dx8br0gq7/
>>>
>>> http://postimg.org/image/baixp4b0j/
>>>
>>> This the case
>>>
>>> With No IP in the VLAN, and IP in the Virtual Machine, From the Virtual
>>> Machine can ping myself (192.168.50.8) but I can't reach the gateway, can't
>>> reach the host, can't reach Internet.
>>>
>>> Any help is appreciated
>>>
>>> Thanks Friends of oVirt
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> 2015-07-06 7:51 GMT-05:00 Soeren Malchow :
>>>
 Hi,

 To make it easier to understand what the situation is, it would help to
 see your bridging configuration and your interface configration.

 Something like:

 #> ip addr

 And

 #> brctl show

 Regards
 Soeren

 On 06/07/15 13:30, "users-boun...@ovirt.org on behalf of Dan

Re: [ovirt-users] how to remove orphaned image

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

Hi Elad,


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


yes, it is located on the same storage pool

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

orphaned image info is

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


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


Cheers,

Jiri





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

Hello,

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

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

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

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

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

Thanks in advance,

Jiri Slezka


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




<>

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


Re: [ovirt-users] Support for windows10

2015-10-13 Thread Vinzenz Feenstra

On 10/13/2015 12:48 PM, Budur Nagaraju wrote:
While installing am getting the error  ,tried by increasing CPU but no 
luck,

getting the error below error.


'system thread exception not handled"

Please change the Disk interface type to 'IDE'
To change that you go to the admin interface
Choose the VM (It must be powered off)
in the lower tabs choose: 'Disks'
For each disk:
- Choose the disk entry in the list
- Click 'Edit'
- In the 'Edit Virtual Disk' Dialog change the interface type to 'IDE' 
and click 'OK'


After that try again to start it please.




On Tue, Oct 13, 2015 at 4:06 PM, Gianluca Cecchi 
> wrote:


On Tue, Oct 13, 2015 at 12:03 PM, Budur Nagaraju
> wrote:

HI

Getting below error and using ovirt node version is "oVirt
Node Hypervisor release 3.5 (0.999.201509102313.el7.centos)"


" your PC ran into problem and needs to restart"

could you pls help me in resolving the issue ?

Thanks,
Nagaraju


Is it during installation or at runtime after installation completed?
My only experience with Windows 10 is with plain Qemu/KVM on Fedora 21
My laptop processor is this kind
model name: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz

and I had to set core2duo in virt-manager processor options to be
able to install otherwise I had the same problem.
I don't know if it could be similar issue in your case and
solvable setting host cpu and/or using a hook for cpu type; see also
http://www.ovirt.org/VDSM-Hooks
http://www.ovirt.org/VDSM-Hooks/qemucmdline

HIH,
Gianluca





--
Regards,

Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo

Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com

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


Re: [ovirt-users] Support for windows10

2015-10-13 Thread Gianluca Cecchi
On Tue, Oct 13, 2015 at 12:03 PM, Budur Nagaraju  wrote:

> HI
>
> Getting below error and using ovirt node version is "oVirt Node Hypervisor
> release 3.5 (0.999.201509102313.el7.centos)"
>
>
> " your PC ran into problem and needs to restart"
>
> could you pls help me in resolving the issue ?
>
> Thanks,
> Nagaraju
>
>
Is it during installation or at runtime after installation completed?
My only experience with Windows 10 is with plain Qemu/KVM on Fedora 21
My laptop processor is this kind
model name : Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz

and I had to set core2duo in virt-manager processor options to be able to
install otherwise I had the same problem.
I don't know if it could be similar issue in your case and solvable setting
host cpu and/or using a hook for cpu type; see also

http://www.ovirt.org/VDSM-Hooks
http://www.ovirt.org/VDSM-Hooks/qemucmdline

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


Re: [ovirt-users] Support for windows10

2015-10-13 Thread Budur Nagaraju
While installing am getting the error  ,tried by increasing CPU but no luck,
getting the error below error.


'system thread exception not handled"


On Tue, Oct 13, 2015 at 4:06 PM, Gianluca Cecchi 
wrote:

> On Tue, Oct 13, 2015 at 12:03 PM, Budur Nagaraju 
> wrote:
>
>> HI
>>
>> Getting below error and using ovirt node version is "oVirt Node
>> Hypervisor release 3.5 (0.999.201509102313.el7.centos)"
>>
>>
>> " your PC ran into problem and needs to restart"
>>
>> could you pls help me in resolving the issue ?
>>
>> Thanks,
>> Nagaraju
>>
>>
> Is it during installation or at runtime after installation completed?
> My only experience with Windows 10 is with plain Qemu/KVM on Fedora 21
> My laptop processor is this kind
> model name : Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz
>
> and I had to set core2duo in virt-manager processor options to be able to
> install otherwise I had the same problem.
> I don't know if it could be similar issue in your case and solvable
> setting host cpu and/or using a hook for cpu type; see also
>
> http://www.ovirt.org/VDSM-Hooks
> http://www.ovirt.org/VDSM-Hooks/qemucmdline
>
> HIH,
> Gianluca
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Support for windows10

2015-10-13 Thread Budur Nagaraju
HI

Getting below error and using ovirt node version is "oVirt Node Hypervisor
release 3.5 (0.999.201509102313.el7.centos)"


" your PC ran into problem and needs to restart"

could you pls help me in resolving the issue ?

Thanks,
Nagaraju

On Fri, Oct 9, 2015 at 6:53 PM, Vinzenz Feenstra 
wrote:

> On 10/07/2015 08:30 AM, Budur Nagaraju wrote:
>
> I'm using ovirt version "oVirt Engine Version: 3.5.4.2-1.el6" and my
> win10 build is  "6851156.iso" ,
> let me if this doesn't support in the mentioned ovirt version ..
>
> Well this is the RTM that should have been working. Can you give a bit
> more details, what exactly is happening when you try to install Windows 10?
>
> Another thing what is your Hypervisor operating system? Is it also el6? If
> so it might be the reason why it was working for me, however i haven't been
> checking win10 on a EL6 machine.
>
>
>
> On Wed, Oct 7, 2015 at 11:51 AM, Vinzenz Feenstra < 
> vfeen...@redhat.com> wrote:
>
>> On 10/06/2015 01:10 PM, Budur Nagaraju wrote:
>>
>> I selected win8 64bit  under "opeartating system " field ,unable to
>> install successfully,
>> Do I need to select win2012  but  it's a server version ,pls suggest.
>>
>> Well first of all its recommended to use ovirt 3.5.5, which might even
>> have windows 10 for selection, at least I was told to. Secondly.
>> Please tell me the exact build version you're using of Windows 10?
>>
>> Thanks
>>
>>
>>
>>
>>
>>
>> On Tue, Oct 6, 2015 at 4:08 PM, Vinzenz Feenstra < 
>> vfeen...@redhat.com> wrote:
>>
>>> On 10/06/2015 12:37 PM, Budur Nagaraju wrote:
>>>
>>> I'm using Ovirt3.5 and unable to find the windows 10 in the field
>>> "operation system.
>>>
>>> Because there was no Windows 10 when we release ovirt 3.5 :-)
>>> You should choose the latest Windows version available, that should be
>>> ok then.
>>>
>>>
>>> On Tue, Oct 6, 2015 at 3:57 PM, Vinzenz Feenstra < 
>>> vfeen...@redhat.com> wrote:
>>>
 On 10/06/2015 11:15 AM, Eli Mesika wrote:

> CCing Vinzenz
>
> - Original Message -
>
>> From: "Budur Nagaraju" < nbud...@gmail.com>
>> To: "users" < users@ovirt.org>
>> Sent: Tuesday, October 6, 2015 8:59:50 AM
>> Subject: [ovirt-users] Support for windows10
>>
>> Hi
>>
>> Does Ovirt supports windows 10 OS ?
>>
> From our latest tests we can confirm that the latest builds of Win10
 are working on oVirt, some earlier releases had problems which have been
 addressed already by Microsoft before the release.
 HTH


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

 --
 Regards,

 Vinzenz Feenstra | Senior Software Engineer
 RedHat Engineering Virtualization R & D
 Phone: +420 532 294 625 <%2B420%20532%20294%20625>
 IRC: vfeenstr or evilissimo

 Better technology. Faster innovation. Powered by community
 collaboration.
 See how it works at redhat.com


>>>
>>>
>>> --
>>> Regards,
>>>
>>> Vinzenz Feenstra | Senior Software Engineer
>>> RedHat Engineering Virtualization R & D
>>> Phone: +420 532 294 625
>>> IRC: vfeenstr or evilissimo
>>>
>>> Better technology. Faster innovation. Powered by community collaboration.
>>> See how it works at redhat.com
>>>
>>>
>>
>>
>> --
>> Regards,
>>
>> Vinzenz Feenstra | Senior Software Engineer
>> RedHat Engineering Virtualization R & D
>> Phone: +420 532 294 625
>> IRC: vfeenstr or evilissimo
>>
>> Better technology. Faster innovation. Powered by community collaboration.
>> See how it works at redhat.com
>>
>>
>
>
> --
> Regards,
>
> Vinzenz Feenstra | Senior Software Engineer
> RedHat Engineering Virtualization R & D
> Phone: +420 532 294 625
> IRC: vfeenstr or evilissimo
>
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt - High Availability

2015-10-13 Thread Eli Mesika


- Original Message -
> From: "Indunil Jayasooriya" 
> To: users@ovirt.org
> Sent: Tuesday, October 13, 2015 6:13:22 AM
> Subject: [ovirt-users] oVirt - High Availability
> 
> Hi users,
> 
> 
> I have setup OVIRT 3.5 with 2 REDHAT 7.1 hosts. Everything is ok other than
> HA ( High Availability). To test HA, Documentation says, Power Management is
> needed.
> 
> Could you pls let me know if this Power Management is a separate Device or
> does it come with a BRANDED Server such as HP, IBM or Dell?

PM can be implemented by a separate card or come as part of a  BRANDED Server 
such as HP, IBM or Dell.

> 
> I have seen a ILO port in HP servers. Can I use it for HA ( High
> Availability) in ovirt?

Yes you can, ILO is one of the PM devices supported by oVirt 

> 
> If power management is present in Branded Servers , Could you pls let me know
> some Branded RHEL 7.1/CentOS 7.1 supported servers?
> 
> Then, I can use it for Production use.
> 
> 
> This is an YOU TUBE video for HA.
> 
> https://www.youtube.com/watch?v=uHCnXGUMaS0
> 
> Is this a correct video for HA?

Please see also https://www.youtube.com/watch?v=IuRPGU7nF1E

> 
> 
> I did some research.
> 
> a few URLs.
> 
> 
> http://lists.ovirt.org/pipermail/users/2013-January/011519.html
> 
> http://www.ovirt.org/OVirt_Administration_Guide#Host_Resilience
> 
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Administration_Guide/sect-Improving_Uptime_with_Virtual_Machine_High_Availability.html
> 
> 
> what is Soft-Fencing Hosts ? ovirt doc gives below . (
> http://www.ovirt.org/OVirt_Administration_Guide#Host_Resilience )
> 
> Soft-Fencing Hosts
> 
> 
> Sometimes a host becomes non-responsive due to an unexpected problem, and
> though VDSM is unable to respond to requests, the virtual machines that
> depend upon VDSM remain alive and accessible. In these situations,
> restarting VDSM returns VDSM to a responsive state and resolves this issue.
> 
> oVirt 3.3 introduces "soft-fencing over SSH". Prior to oVirt 3.3,
> non-responsive hosts were fenced only by external fencing devices. In oVirt
> 3.3, the fencing process has been expanded to include "SSH Soft Fencing", a
> process whereby oVirt attempts to restart VDSM via SSH on non-responsive
> hosts. If oVirt fails to restart VDSM via SSH, the responsibility for
> fencing falls to the external fencing agent if an external fencing agent has
> been configured.
> 
> 
> BUT, It does NOT say how to set it up?
> 
> 
> is there any step by step doc for it?

There is no need to set it up, soft-fencing is simply VDSM service restart on 
the server side and is done always whether you configured PM on the host or not 
as a first step when you host is not-responding 


> 
> 
> 
> 
> 
> HOPE TO hear from you?
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --
> cat /etc/motd
> 
> Thank you
> Indunil Jayasooriya
> http://www.theravadanet.net/
> http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala Fonts
> 
> 
> ___
> 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] live snapshot merge missing after vdsm update

2015-10-13 Thread Nir Soffer
Fedora 20 is not supportrd, in particular with virt-preview repo, which is
not maintained few month before Fedora 20 went EOL.

The best advice is to upgrade the host to Fedora 21.
בתאריך 13 באוק׳ 2015 3:04 אחה״צ,‏ "Roel de Rooy"  כתב:

> Hi all,
>
>
>
> 1 of our older clusters in use, consists of 2 nodes contain Fedora 20,
> with the virt-preview repository enabled.
>
> The Engine itself is installed on a dedicated server (CentOS 6) and is
> still on version 3.5.1.1-1.el6.
>
>
>
> During some maintenance a couple of days ago on the Fedora 20  nodes, also
> the installed vdsm package was updated by the engineer working on the nodes.
>
> We went from version ‘vdsm-4.16.10-8.gitc937927.fc20’ to
> ‘vdsm-4.16.26-0.fc20’.
>
>
>
> This morning I wanted to remove some old snapshots on running vm’s, only
> to find out that the delete button is once again greyed out.
>
> I also created a new snapshot on a running vm to test if it would only
> happen on snapshots that were already there before the update, but the
> delete button would still remain greyed out.
>
> Only turning off the vm allows me to use the delete button.
>
>
>
> When looking at the nodes within the cluster, they both still have Live
> Snapshot Support on Active.
>
> Before the vdsm update, the live merge functionality worked perfectly.
>
>
>
> Anybody experienced something similar?
>
> Could It be because the Engine is still running on 3.5.1?
>
> We are also running 2 clusters with F21 nodes that have the same vdsm
> version nummer installed and they don’t have an issue at all; connected to
> the same engine.
>
>
>
> Kind Regards,
>
> Roel
>
> ___
> 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 Network activity on ovirt UI

2015-10-13 Thread Michael Burman
Hi Marc

I think this will answer your question --> we have an open bug for this issue 
-->
https://bugzilla.redhat.com/show_bug.cgi?id=1196640

Kind regards,

- Original Message -
From: "Marc Seward" 
To: users@ovirt.org
Sent: Monday, October 12, 2015 6:31:09 PM
Subject: Re: [ovirt-users] VM Network activity on ovirt UI


I'm generating network activity on a VM using iperf.The VM acts as an iperf 
client.On the client,iperf reports that data has been successfully sent to 
iperf server.The iperf server also shows that it's successfully receiving data 
from the iperf client.But,network is at 0% on the ovirt UI.The client and 
server are on different private networks. 

On the same VM,when I generate network activity by fetching a file from a 
public network using wget,the network column correctly shows activity on the 
ovirt UI for the VM. 

Could someone help me understand why I am unable to see network activity on the 
ovirt UI when iperf is used? 

Appreciate your help.TIA. 



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

-- 
Michael Burman
RedHat Israel, RHEV-M QE Network Team

Mobile: 054-5355725
IRC: mburman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] live snapshot merge missing after vdsm update

2015-10-13 Thread Roel de Rooy
Hi all,

1 of our older clusters in use, consists of 2 nodes contain Fedora 20, with the 
virt-preview repository enabled.
The Engine itself is installed on a dedicated server (CentOS 6) and is still on 
version 3.5.1.1-1.el6.

During some maintenance a couple of days ago on the Fedora 20  nodes, also the 
installed vdsm package was updated by the engineer working on the nodes.
We went from version 'vdsm-4.16.10-8.gitc937927.fc20' to 'vdsm-4.16.26-0.fc20'.

This morning I wanted to remove some old snapshots on running vm's, only to 
find out that the delete button is once again greyed out.
I also created a new snapshot on a running vm to test if it would only happen 
on snapshots that were already there before the update, but the delete button 
would still remain greyed out.
Only turning off the vm allows me to use the delete button.

When looking at the nodes within the cluster, they both still have Live 
Snapshot Support on Active.
Before the vdsm update, the live merge functionality worked perfectly.

Anybody experienced something similar?
Could It be because the Engine is still running on 3.5.1?
We are also running 2 clusters with F21 nodes that have the same vdsm version 
nummer installed and they don't have an issue at all; connected to the same 
engine.

Kind Regards,
Roel
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Upgrading

2015-10-13 Thread Fernando Fuentes

Is there a best practice when upgrading from ovirt 3.4 to 3.5?
I upgraded my development server which is a self hosted server and I 
just did a regular update without putting anything under maintenance... 
Though my vm's where turned off. It all went well and the migration from 
krb/ldap to AAA went smoothly and so far is running like a champ.


I am about to do the same to our production cluster and was wondering if 
I must put all Hosts under maintenance before I do the upgrade? Is it 
any different than a self hosted ovirt setup?


Thanks in advance for all/any tips from the mailing list!
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] oVirt - High Availability

2015-10-13 Thread Indunil Jayasooriya
Hi,

Thank you very much for your reply.

I would like to know in which cases HA will happen?

1. network failure? ( i.e , if we accidentally remove the network cable or
if network card stopped working due to some reasons. )

2. Server is suddenly shut-down due to power failure (i.e - NOT a proper
shut-down ) or due to server  Hardware failure such as motherboard or
processor.

3. accidental reboot ?


WILL HA will happen when above mentioned things happen?


YES or NO?

Hope to hear from you?


On Tue, Oct 13, 2015 at 7:33 PM, Eli Mesika  wrote:

>
>
> - Original Message -
> > From: "Indunil Jayasooriya" 
> > To: users@ovirt.org
> > Sent: Tuesday, October 13, 2015 6:13:22 AM
> > Subject: [ovirt-users] oVirt - High Availability
> >
> > Hi users,
> >
> >
> > I have setup OVIRT 3.5 with 2 REDHAT 7.1 hosts. Everything is ok other
> than
> > HA ( High Availability). To test HA, Documentation says, Power
> Management is
> > needed.
> >
> > Could you pls let me know if this Power Management is a separate Device
> or
> > does it come with a BRANDED Server such as HP, IBM or Dell?
>
> PM can be implemented by a separate card or come as part of a  BRANDED
> Server such as HP, IBM or Dell.
>
> >
> > I have seen a ILO port in HP servers. Can I use it for HA ( High
> > Availability) in ovirt?
>
> Yes you can, ILO is one of the PM devices supported by oVirt
>
> >
> > If power management is present in Branded Servers , Could you pls let me
> know
> > some Branded RHEL 7.1/CentOS 7.1 supported servers?
> >
> > Then, I can use it for Production use.
> >
> >
> > This is an YOU TUBE video for HA.
> >
> > https://www.youtube.com/watch?v=uHCnXGUMaS0
> >
> > Is this a correct video for HA?
>
> Please see also https://www.youtube.com/watch?v=IuRPGU7nF1E
>
> >
> >
> > I did some research.
> >
> > a few URLs.
> >
> >
> > http://lists.ovirt.org/pipermail/users/2013-January/011519.html
> >
> > http://www.ovirt.org/OVirt_Administration_Guide#Host_Resilience
> >
> >
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.5/html/Administration_Guide/sect-Improving_Uptime_with_Virtual_Machine_High_Availability.html
> >
> >
> > what is Soft-Fencing Hosts ? ovirt doc gives below . (
> > http://www.ovirt.org/OVirt_Administration_Guide#Host_Resilience )
> >
> > Soft-Fencing Hosts
> >
> >
> > Sometimes a host becomes non-responsive due to an unexpected problem, and
> > though VDSM is unable to respond to requests, the virtual machines that
> > depend upon VDSM remain alive and accessible. In these situations,
> > restarting VDSM returns VDSM to a responsive state and resolves this
> issue.
> >
> > oVirt 3.3 introduces "soft-fencing over SSH". Prior to oVirt 3.3,
> > non-responsive hosts were fenced only by external fencing devices. In
> oVirt
> > 3.3, the fencing process has been expanded to include "SSH Soft
> Fencing", a
> > process whereby oVirt attempts to restart VDSM via SSH on non-responsive
> > hosts. If oVirt fails to restart VDSM via SSH, the responsibility for
> > fencing falls to the external fencing agent if an external fencing agent
> has
> > been configured.
> >
> >
> > BUT, It does NOT say how to set it up?
> >
> >
> > is there any step by step doc for it?
>
> There is no need to set it up, soft-fencing is simply VDSM service restart
> on the server side and is done always whether you configured PM on the host
> or not as a first step when you host is not-responding
>
>
> >
> >
> >
> >
> >
> > HOPE TO hear from you?
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > --
> > cat /etc/motd
> >
> > Thank you
> > Indunil Jayasooriya
> > http://www.theravadanet.net/
> > http://www.siyabas.lk/sinhala_how_to_install.html - Download Sinhala
> Fonts
> >
> >
> > ___
> > Users mailing list
> > Users@ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/users
> >
>



-- 
cat /etc/motd

Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
http://www.siyabas.lk/sinhala_how_to_install.html   -  Download Sinhala
Fonts
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] engine.log is looping with Volume XXX contains a apparently corrupt brick(s).

2015-10-13 Thread Sahina Bose



On 10/12/2015 06:43 PM, Nico wrote:


Le 2015-10-12 14:04, Nir Soffer a écrit :



Yes, engine will let you use such volume in 3.5 - this is a bug. In 
3.6 you will

not be able to use such setup.

replica 2 fails in a very bad way when one brick is down; the
application may get
stale data, and this breaks sanlock. You will be get stuck with spm
that cannot be
stopped and other fun stuff.

You don't want to go in this direction, and we will not be able to 
support that.



here the last entries of vdsm.log


We need the whole file.

I suggest you file an ovirt bug and attach the full vdsm log file
showing the timeframe of
the error. Probably from the time you created the glusterfs domain.

Nir


Please find the full logs there:

https://94.23.2.63/log_vdsm/vdsm.log

https://94.23.2.63/log_vdsm/

https://94.23.2.63/log_engine/



The engine log looping with "Volume contains apparently corrupt bricks"- 
is when engine tries to get information from gluster CLI about the 
volumes and updates its database. These errors do not affect the 
functioning of the storage domain and running virtual machines, but 
affect the monitoring/management of the gluster volume from oVirt.


Now to identify the cause of the error - the logs indicate that the 
gluster's server uuid has either not been updated/ or is different in 
the engine. Could be one of these scenarios
1. Did you create the cluster with only virt service enabled and later 
enable gluster service? In this case, the gluster server uuid may not be 
updated. You will need to put host to maintenance and then activate it 
to resolve this


2. Did you re-install the gluster server nodes after adding it to oVirt? 
If this is the case, we need to investigate further how there's a mismatch.






___
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] huge ovirt_engine_history

2015-10-13 Thread Eric Wong
Hello oVirt guru out there:

I notice our oVirt engine postgres db size is growing quite fast for past 
couple of months.  I checked the database size.  Found that our 
ovirt_engine_history is 73GB in size.  


engine=# \connect ovirt_engine_history
You are now connected to database "ovirt_engine_history" as user "postgres".
ovirt_engine_history=# SELECT pg_size_pretty( pg_database_size( 
current_database() ) ) As human_size
, pg_database_size( current_database() ) As raw_size;
 human_size |  raw_size
+-
 73 GB  | 78444213368
(1 row)


Brief check the records, there are entries dated back 2014.  

I want to see if there is a safe way to archive and remove some of the older 
records?

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


Re: [ovirt-users] Any way to correlate a VM disk (e.g. /dev/vda) to the vdsm ovirt disk?

2015-10-13 Thread Nir Soffer
On Wed, Oct 7, 2015 at 6:49 PM,   wrote:
>> Hi ccox,
>> you can see the disk id mapping to device if you execute 'ls -l
>> /dev/disk/by-id/' .
>> Second way, and easier, is to make sure you have guest-agent installed on
>> your guest virtual machine and using rest API you can run GET command:
>> GET on .../api/vms/{vm_id}/disks
>>
>> You will see an attribute called "" .
>> I hope that helps
>
> should have said I'm running 3.4.  I don't think there's a logical_name in
> that version.  And by-id or by-uuid doesn't seem to match anything.
>
> Maybe this can't be done in 3.4?

Can you share the ouput of:

tree /dev/disk

On the guest?

And the output of

pvscan --cache
lvs -o vg_name,name,tags

On the host?

On the guest, the the disk serial number should be the first 20
characters of the disk
uuid (I think it is the image uuid in vdsm terms, or disk uuid in engine terms).

The image uuid should appear in a lv tag on the host, and the prefix
of this uuid should
be found on the guest.

Can you describe why do you need this information?

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


Re: [ovirt-users] Any way to correlate a VM disk (e.g. /dev/vda) to the vdsm ovirt disk?

2015-10-13 Thread Nir Soffer
On Wed, Oct 7, 2015 at 7:58 PM, Jiří Sléžka  wrote:
> Hi,
>
> Dne 6.10.2015 v 22:07 c...@endlessnow.com napsal(a):
>>
>> I want to correlate virtual disks back to their originating storage under
>> ovirt. Is there any way to do this?
>>
>> e.g. (made up example)
>>
>> /dev/vda
>>
>> maps to ovirt disk
>>
>> disk1_vm serial 978e00a3-b4c9-4962-bc4f-ffc9267acdd8
>
>
> In oVirt there are two storage types - filesystem based (NFS, posix,
> glusterfs - uses files for storing images) and block device based (FC, iSCSI
> - uses lvm)
>
> If I understand correctly, you would like know where exactly is stored a
> virtual disk. Right?
>
> All you know is on which storage domain is your virtual disk stored and disk
> uuid (imgUUID)), right?
>
> My approach is this (I am using block device based FC stroage so my virtual
> disks are stored as logical volumes). Probably there is much easier way ;-)
> please correct me
>
> ssh to any host
>
> list storage domains (sdUUID)
>
> vdsClient -s 0 getImageDomainsList
>
> find your domain uuid by name
>
> vdsClient -s 0 getStorageDomainInfo sdUUID
>
> you will get also pool (spUUID)
>
> now you can search for volume(s) the image consists of
>
> getVolumesList sdUUID spUUID imgUUID
>
> you will get volUUID (one or more)
>
> now you can check volume info
>
> getVolumeInfo sdUUID spUUID imgUUID volUUID
>
> and also you can get volume path
>
> getVolumePath sdUUID spUUID imgUUID volUUID

Note that getVolumePath was removed in 3.6. The only way to get this
info now is via prepareImage.

>
> you will get something like
>
> /rhev/data-center/mnt/blockSD/088e7ed9-84c7-4fbd-a570-f37fa986a772/images/be5c56de-6a22-4d1a-8579-f0f5d501d90c/0681822f-3ac8-473b-95ce-380f8ab4de06
>
> it is symlink which points to target block device
>
> it looks to me that on block devices the path is
>
> /dev/sdUUID/volUUID
>
>
> btw. I am using oVirt3.5...
>
>
> Cheers, Jiri
>
>
>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Upgrading

2015-10-13 Thread Jon Archer
Personally I would take full advantage of the maintenance modes, 
upgrading the engine before the hosts too.


Putting the hosts in maintenance mode before upgrading at least will 
allow for the vm's to migrate to the other hosts in the cluster incase 
of an outage.


Jon

On 13/10/15 16:25, Fernando Fuentes wrote:

Is there a best practice when upgrading from ovirt 3.4 to 3.5?
I upgraded my development server which is a self hosted server and I 
just did a regular update without putting anything under 
maintenance... Though my vm's where turned off. It all went well and 
the migration from krb/ldap to AAA went smoothly and so far is running 
like a champ.


I am about to do the same to our production cluster and was wondering 
if I must put all Hosts under maintenance before I do the upgrade? Is 
it any different than a self hosted ovirt setup?


Thanks in advance for all/any tips from the mailing list!
___
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 Network activity on ovirt UI

2015-10-13 Thread Marc Seward
Thanks for your response Michael.

This is not the same issue as the one reported in
https://bugzilla.redhat.com/show_bug.cgi?id=1196640 and here's why.
I can see network activity on the Virtual Machines tab when network
activity is generated using wget to download a file from a public site,but
not when iperf is used with another system as the iperf server on a private
network.

To summarize:
Case 1: Use iperf to generate activity between RHEV VM and another
system(both on different private networks)
Result: Network column shows 0% on the 'Virtual Machines' tab.

Case 2:Use wget to download a file from a public site on the RHEV VM.
Result: Network column *shows* activity on the 'Virtual Machines' tab.

This issue is seen in both RHEV 3.4 and RHEV 3.5






On Tue, Oct 13, 2015 at 9:03 AM, Michael Burman  wrote:

> Hi Marc
>
> I think this will answer your question --> we have an open bug for this
> issue -->
> https://bugzilla.redhat.com/show_bug.cgi?id=1196640
>
> Kind regards,
>
> - Original Message -
> From: "Marc Seward" 
> To: users@ovirt.org
> Sent: Monday, October 12, 2015 6:31:09 PM
> Subject: Re: [ovirt-users] VM Network activity on ovirt UI
>
>
> I'm generating network activity on a VM using iperf.The VM acts as an
> iperf client.On the client,iperf reports that data has been successfully
> sent to iperf server.The iperf server also shows that it's successfully
> receiving data from the iperf client.But,network is at 0% on the ovirt
> UI.The client and server are on different private networks.
>
> On the same VM,when I generate network activity by fetching a file from a
> public network using wget,the network column correctly shows activity on
> the ovirt UI for the VM.
>
> Could someone help me understand why I am unable to see network activity
> on the ovirt UI when iperf is used?
>
> Appreciate your help.TIA.
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
> --
> Michael Burman
> RedHat Israel, RHEV-M QE Network Team
>
> Mobile: 054-5355725
> IRC: mburman
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users