Re: [Users] Ovirt Engine Memory usage going crazy since 3.3 Upgrade

2013-12-16 Thread Ernest Beinrohr

Dňa 15.12.2013 10:07, squadra wrote / napísal(a):
same here, still everything running smooth and flawless after several 
days and memory usage still at a normal level. no more lags, no more 
filled 8gb swap partition. again, a huge thanks to Sahina :)



Same here, workaround helped.



just for the record, this is the workaround from 
https://bugzilla.redhat.com/show_bug.cgi?id=1028966 :


The workaround is to disable the PKCS#11 provider modifying the 
$JAVA_HOME/lib/security/java.security file as follows:

#security.provider.1=sun.security.pkcs11.SunPKCS11 
${java.home}/lib/security/nss.cfg
security.provider.1=sun.security.provider.Sun
security.provider.2=sun.security.provider.Sun
security.provider.3=sun.security.rsa.SunRsaSign
security.provider.4=sun.security.ec.SunEC
security.provider.5=com.sun.net.ssl.internal.ssl.Provider
security.provider.6=com.sun.crypto.provider.SunJCE
security.provider.7=sun.security.jgss.SunProvider
security.provider.8=com.sun.security.sasl.Provider
security.provider.9=org.jcp.xml.dsig.internal.dom.XMLDSigRI
security.provider.10=sun.security.smartcardio.SunPCSC


--
Ernest Beinrohr, AXON PRO
DevOps, Ing http://www.beinrohr.sk/ing.php, RHCE 
http://www.beinrohr.sk/rhce.php, RHCVA 
http://www.beinrohr.sk/rhce.php, LPIC 
http://www.beinrohr.sk/lpic.php, VCA http://www.beinrohr.sk/vca.php, 
+421-2--6241-0360 callto://+421-2--6241-0360, +421-903--482-603 
callto://+421-903--482-603
icq:28153343, skype:oernii-work callto://oernii-work, 
jabber:oer...@jabber.org


“For a successful technology, reality must take precedence over public 
relations, for Nature cannot be fooled.” Richard Feynman
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Sanlock / selinux

2013-12-16 Thread Johan Kooijman
Hey all,

When I try do a migration from one node to another (ovirt 3.3 centos,
ovirt-node 3.0.1 centos), I'm getting the following error:

2013-12-13 13:09:42.108+: 11887: error : virCommandHandshakeWait:2554 :
internal error Failed to open socket to sanlock daemon: Permission denied

This can be resolved by executing:

[root@hv1 ~]# setsebool -P virt_use_sanlock=on
[root@hv1 ~]# setsebool -P virt_use_nfs=on

But it's not persistent after a reboot. How can I make that a persistent
setting?

-- 
Met vriendelijke groeten / With kind regards,
Johan Kooijman

T +31(0) 6 43 44 45 27
F +31(0) 162 82 00 01
E m...@johankooijman.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Solaris 11.1 ISO panic on boot

2013-12-16 Thread Joop

Blaster wrote:

I have a Solaris 11.1 system running on a nice piece of hardware that I’d like 
to make better use of.  I would like to virtualize it under ovirt.

I created an ovirt guest using the RHEL 64 bit template.  I attached the 
Solaris 11.1 ISO and booted.  As soon as the Solaris banner is displayed, poof, 
kernel panic.

Of course every whizzes by so fast I have no chance of getting a screen shot.

Has anyone been successful in boot Solaris 11.1 under ovirt?  Should I have 
picked a different template?

  
I did a search through my message folder and found the thread. It was 
about solaris10 and networking didn't work. So maybe this is different 
or not.
Could you test if the same iso can be booted using virt-manager or 
kvm/qemu directly?


Joop

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


Re: [Users] disks successfully removed with torage failure message

2013-12-16 Thread Vered Volansky
Gianluca, Huntxu

It looks like huntxu's solution is the way to go.
I'd appreciate it if any of you will open a bug on this issue and inform the 
list.

If there's anything else regarding this issue please ask.

Thanks,
Vered

- Original Message -
 From: Gianluca Cecchi gianluca.cec...@gmail.com
 To: Vered Volansky ve...@redhat.com
 Cc: users users@ovirt.org, huntxu mhun...@gmail.com
 Sent: Saturday, December 14, 2013 11:10:35 AM
 Subject: Re: [Users] disks successfully removed with torage failure message
 
 On Dec 14, 2013 9:41 AM, Vered Volansky ve...@redhat.com wrote:
 
  Hi,
 
  I've looked at the logs and will have to discuss the issue with some
 people, which I will only be able to do tomorrow.
  In the mean time, When the message to manually remove the disks appear,
 it actually means manually - not through the engine at all, if that helps
 for now.
  This means through the DB, which it not recommended and I'd prefer to
 wait till tomorrow and figure this out.
 
  Regards,
  Vered
 
 OK. Let me know when you have something for me to try.
 I'm going to analyze the other user suggestion too
 
 Gianluca
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] errors in engine log and tones of sync messages

2013-12-16 Thread Vered Volansky
I think Sahina is qualified to answer this question, Sahina?

- Original Message -
 From: Gianluca Cecchi gianluca.cec...@gmail.com
 To: Vered Volansky ve...@redhat.com
 Cc: Juan Pablo Lorier jplor...@gmail.com, users users@ovirt.org
 Sent: Sunday, December 15, 2013 6:52:07 PM
 Subject: Re: [Users] errors in engine log and tones of sync messages
 
 On Sun, Dec 15, 2013 at 8:33 AM, Vered Volansky  wrote:
  Hi Juan,
 
  The following patch should handle the messages:
  http://gerrit.ovirt.org/#/c/22287
 
 
 Can we safely run the sql statements referred in that patch against a
 running environment, eventually stopping engine service before:
 so against the engine db only run
 
 select fn_db_add_config_value('GlusterAysncTasksSupport', 'false', '3.0');
 select fn_db_add_config_value('GlusterAysncTasksSupport', 'false', '3.1');
 select fn_db_add_config_value('GlusterAysncTasksSupport', 'false', '3.2');
 select fn_db_add_config_value('GlusterAysncTasksSupport', 'false', '3.3');
 
 ?
 Thanks,
 Gianluca
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] errors in engine log and tones of sync messages

2013-12-16 Thread Sahina Bose


On 12/16/2013 03:26 PM, Vered Volansky wrote:

I think Sahina is qualified to answer this question, Sahina?

- Original Message -

From: Gianluca Cecchi gianluca.cec...@gmail.com
To: Vered Volansky ve...@redhat.com
Cc: Juan Pablo Lorier jplor...@gmail.com, users users@ovirt.org
Sent: Sunday, December 15, 2013 6:52:07 PM
Subject: Re: [Users] errors in engine log and tones of sync messages

On Sun, Dec 15, 2013 at 8:33 AM, Vered Volansky  wrote:

Hi Juan,

The following patch should handle the messages:
http://gerrit.ovirt.org/#/c/22287


Can we safely run the sql statements referred in that patch against a
running environment, eventually stopping engine service before:
so against the engine db only run

select fn_db_add_config_value('GlusterAysncTasksSupport', 'false', '3.0');
select fn_db_add_config_value('GlusterAysncTasksSupport', 'false', '3.1');
select fn_db_add_config_value('GlusterAysncTasksSupport', 'false', '3.2');
select fn_db_add_config_value('GlusterAysncTasksSupport', 'false', '3.3');


Yes, it is safe to run these.



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



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


[Users] Excessive syslog logging from vdsm/sampling.py

2013-12-16 Thread Sander Grendelman
The syslog on my ovirt nodes is constantly logging errors from sampling.py:

Dec 16 11:22:47 gnkvm01 vdsm vm.Vm ERROR
vmId=`66aa-2299-4d93-931d-b7a2e421b7e9`::Stats function failed:
AdvancedStatsFunction _highWrite at 0x1733dc0#012Traceback (most
recent call last):#012  File /usr/share/vdsm/sampling.py, line 351,
in collect#012statsFunction()#012  File
/usr/share/vdsm/sampling.py, line 226, in __call__#012retValue =
self._function(*args, **kwargs)#012  File /usr/share/vdsm/vm.py,
line 509, in _highWrite#012if not vmDrive.blockDev or
vmDrive.format != 'cow':#012AttributeError: 'Drive' object has no
attribute 'format'
Dec 16 11:22:47 gnkvm01 vdsm vm.Vm ERROR
vmId=`22654002-cbef-454d-b001-7823da5f592f`::Stats function failed:
AdvancedStatsFunction _highWrite at 0x1733dc0#012Traceback (most
recent call last):#012  File /usr/share/vdsm/sampling.py, line 351,
in collect#012statsFunction()#012  File
/usr/share/vdsm/sampling.py, line 226, in __call__#012retValue =
self._function(*args, **kwargs)#012  File /usr/share/vdsm/vm.py,
line 509, in _highWrite#012if not vmDrive.blockDev or
vmDrive.format != 'cow':#012AttributeError: 'Drive' object has no
attribute 'format'
Dec 16 11:22:48 gnkvm01 vdsm vm.Vm ERROR
vmId=`d3dae626-279b-4bcf-afc4-7a3c198a3035`::Stats function failed:
AdvancedStatsFunction _highWrite at 0x1733dc0#012Traceback (most
recent call last):#012  File /usr/share/vdsm/sampling.py, line 351,
in collect#012statsFunction()#012  File
/usr/share/vdsm/sampling.py, line 226, in __call__#012retValue =
self._function(*args, **kwargs)#012  File /usr/share/vdsm/vm.py,
line 513, in _highWrite#012self._vm._dom.blockInfo(vmDrive.path,
0)#012  File /usr/share/vdsm/vm.py, line 835, in f#012ret =
attr(*args, **kwargs)#012  File
/usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py, line
76, in wrapper#012ret = f(*args, **kwargs)#012  File
/usr/lib64/python2.6/site-packages/libvirt.py, line 1797, in
blockInfo#012if ret is None: raise libvirtError
('virDomainGetBlockInfo() failed', dom=self)#012libvirtError: invalid
argument: invalid path
/rhev/data-center/mnt/blockSD/b526b148-b810-47c6-9bdd-4fd8d8226855/images/347f2238-c018-4370-94df-bd1e81f8b854/9e5dad95-73ea-4e5c-aa13-522efd9bad11
not assigned to domain
Dec 16 11:22:48 gnkvm01 vdsm vm.Vm ERROR
vmId=`c6f56584-1ccd-4c02-be94-897a4e747d34`::Stats function failed:
AdvancedStatsFunction _highWrite at 0x1733dc0#012Traceback (most
recent call last):#012  File /usr/share/vdsm/sampling.py, line 351,
in collect#012statsFunction()#012  File
/usr/share/vdsm/sampling.py, line 226, in __call__#012retValue =
self._function(*args, **kwargs)#012  File /usr/share/vdsm/vm.py,
line 509, in _highWrite#012if not vmDrive.blockDev or
vmDrive.format != 'cow':#012AttributeError: 'Drive' object has no
attribute 'format'
Dec 16 11:22:48 gnkvm01 vdsm vm.Vm ERROR
vmId=`0ae3a3d7-ead9-4c0d-9df0-3901b6e6859c`::Stats function failed:
AdvancedStatsFunction _highWrite at 0x1733dc0#012Traceback (most
recent call last):#012  File /usr/share/vdsm/sampling.py, line 351,
in collect#012statsFunction()#012  File
/usr/share/vdsm/sampling.py, line 226, in __call__#012retValue =
self._function(*args, **kwargs)#012  File /usr/share/vdsm/vm.py,
line 509, in _highWrite#012if not vmDrive.blockDev or
vmDrive.format != 'cow':#012AttributeError: 'Drive' object has no
attribute 'format'

These messages might have something to do with reading
information/statistics through the API.
But I've stopped all my (monitoring) processes using the API.

Restarting ovirt-engine and vdsm did not resolve the issue.

Both nodes and engine server are running oVirt 3.3.1 on CentOS 6.4

This may be a red herring but the values  of disk statistics read
through the API are static/unchanging.

Any clues on whether these messages are serious and any ideas on how
to stop them
spamming my system logs?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Solaris 11.1 ISO panic on boot

2013-12-16 Thread René Koch
Hi,

-Original message-
 From:Sander Grendelman san...@grendelman.com
 Sent: Monday 16th December 2013 11:00
 To: Joop jvdw...@xs4all.nl
 Cc: users@ovirt.org
 Subject: Re: [Users] Solaris 11.1 ISO panic on boot
 
 There's also a thread about Solaris 11 here:
 http://lists.ovirt.org/pipermail/users/2013-September/016168.html
 
 On Mon, Dec 16, 2013 at 10:35 AM, Joop jvdw...@xs4all.nl wrote:
  Blaster wrote:
 
  I have a Solaris 11.1 system running on a nice piece of hardware that I’d
  like to make better use of.  I would like to virtualize it under ovirt.
 
  I created an ovirt guest using the RHEL 64 bit template.  I attached the
  Solaris 11.1 ISO and booted.  As soon as the Solaris banner is displayed,
  poof, kernel panic.

I suggest to use the following settings for your Solaris guest:
* Operating System: Other
* nic1: rtl8139
* Disk1: IDE

Booting from the DVD ISO works fine for Sol 10 and 11 with these settings.

 
  Of course every whizzes by so fast I have no chance of getting a screen
  shot.
 
  Has anyone been successful in boot Solaris 11.1 under ovirt?  Should I
  have picked a different template?

In my oVirt setup (3.3 now, but worked on 3.2, too) there are Solaris 10 and 11 
vms running.
See the specs above.

I had some issues with network traffic, which can be solved with a host hook 
(99_fix_solaris):
https://github.com/ovido/ovirt-stuff/tree/master/hooks

Please let me know if this fixes your issues...


Regards,
René



 
 
 
  I did a search through my message folder and found the thread. It was about
  solaris10 and networking didn't work. So maybe this is different or not.
  Could you test if the same iso can be booted using virt-manager or kvm/qemu
  directly?
 
  Joop
 
 
  ___
  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: [Users] Spice Proxy seems to try connect to host and not defined proxy

2013-12-16 Thread Tomas Jelinek
Hi,

AFAIK this feature is present in windows clients only.

@SPICE devel:
Is there a plan to add this support also to Linux clients? To what version?

thanx,
Tomas

PS: I will update the wiki according to the results from this discussion.

- Original Message -
 From: Gianluca Cecchi gianluca.cec...@gmail.com
 To: users users@ovirt.org
 Sent: Sunday, December 15, 2013 6:40:26 PM
 Subject: [Users] Spice Proxy seems to try connect to host and not defined 
 proxy
 
 Hello,
 wrking on 3.3.2 beta on F19 ovirt repo
 
 For simplicity I set
 - no Websocket Procy on engine
 # engine-config -g WebSocketProxy
 WebSocketProxy:  version: general
 
 - Stop my WebSocketProxy previosuly configured
 # systemctl status ovirt-websocket-proxy.service
 ovirt-websocket-proxy.service - oVirt Engine websockets proxy
Loaded: loaded
 (/usr/lib/systemd/system/ovirt-websocket-proxy.service; enabled)
Active: inactive (dead) since Sun 2013-12-15 17:58:45 CET; 18min ago
  Main PID: 23556 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/ovirt-websocket-proxy.service
 
 - set SpiceProxyDefault
 # engine-config -g SpiceProxyDefault
 SpiceProxyDefault: http://10.4.4.63:3128 version: general
 
 10.4.4.63 is a CentOS 5.10 server with squid enabled
 [root@c510 squid]# diff squid.conf squid.conf.orig
 578,581d577
 
  acl localnet src 10.4.3.0/24# RFC1918 possible internal network
  acl localnet src 10.4.4.0/24# RFC1918 possible internal network
 
 624c620
  #http_access deny CONNECT !SSL_ports
 ---
  http_access deny CONNECT !SSL_ports
 638d633
  http_access allow localnet
 
 restart ovirt-engine service
 
 My engine is 10.4.4.60
 My host is fedora 19 with ip 10.4.4.59 and a running VM
 My client is a Fedora 19 with firefox 26 and ip 10.4.3.24
 
 If I open user portal in my client I see that enable SpiceProxy is
 checked against this VM
 (as I set it gobally via engine-config command)
 But when I click console button I see this on my client:
 
 $ netstat -an | egrep 10.4.4
 tcp0  0 10.4.3.24:38061 10.4.4.60:443   TIME_WAIT
 tcp0  0 10.4.3.24:46284 10.4.4.60:22
 ESTABLISHED
 tcp0  1 10.4.3.24:43066 10.4.4.59:5900  SYN_SENT
 
 and an error in browser about
 unable to connect to graphic server
 
 so it attempts to go to host.
 In client /var/log/messages:
 
 Dec 15 18:21:21 tekkaman gnome-session[2864]: (plugin-container:8024):
 SpiceXPI-CRITICAL **: controller connect: No such file or directory
 Dec 15 18:21:21 tekkaman gnome-session[2864]: (plugin-container:8024):
 SpiceXPI-CRITICAL **: controller connect: No such file or directory
 Dec 15 18:21:21 tekkaman spice: starting remote-viewer --spice-controller ...
 Dec 15 18:21:21 tekkaman spice: XDG_VTNR=1
 Dec 15 18:21:21 tekkaman spice: ORBIT_SOCKETDIR=/var/tmp/orbit-g.cecchi
 Dec 15 18:21:21 tekkaman spice: XSUNTRANSPORT=shmem
 Dec 15 18:21:21 tekkaman spice: XDG_SESSION_ID=1
 Dec 15 18:21:21 tekkaman spice: HOSTNAME=tekkaman.localdomain.local
 Dec 15 18:21:21 tekkaman spice: GIO_LAUNCHED_DESKTOP_FILE_PID=6719
 Dec 15 18:21:21 tekkaman spice: IMSETTINGS_INTEGRATE_DESKTOP=yes
 Dec 15 18:21:21 tekkaman spice:
 GPG_AGENT_INFO=/run/user/1000/keyring-uNXVI0/gpg:0:1
 Dec 15 18:21:21 tekkaman spice: XDG_MENU_PREFIX=gnome-
 Dec 15 18:21:21 tekkaman spice: TERM=dumb
 Dec 15 18:21:21 tekkaman spice: SHELL=/bin/bash
 Dec 15 18:21:21 tekkaman spice: HISTSIZE=1000
 Dec 15 18:21:21 tekkaman spice: TMPDIR=/var/tmp
 Dec 15 18:21:21 tekkaman spice: XRE_PROFILE_NAME=
 Dec 15 18:21:21 tekkaman spice: GJS_DEBUG_OUTPUT=stderr
 Dec 15 18:21:21 tekkaman spice:
 GNOME_KEYRING_CONTROL=/run/user/1000/keyring-uNXVI0
 Dec 15 18:21:21 tekkaman spice: QTDIR=/usr/lib64/qt-3.3
 Dec 15 18:21:21 tekkaman spice: GJS_DEBUG_TOPICS=JS ERROR;JS LOG
 Dec 15 18:21:21 tekkaman spice: QTINC=/usr/lib64/qt-3.3/include
 Dec 15 18:21:21 tekkaman spice: MOZILLA_FIVE_HOME=/usr/lib64/firefox
 Dec 15 18:21:21 tekkaman spice: NSS_SSL_CBC_RANDOM_IV=1
 Dec 15 18:21:21 tekkaman spice: IMSETTINGS_MODULE=none
 Dec 15 18:21:21 tekkaman spice: QT_GRAPHICSSYSTEM_CHECKED=1
 Dec 15 18:21:21 tekkaman spice: XRE_PROFILE_LOCAL_PATH=
 Dec 15 18:21:21 tekkaman spice: USER=g.cecchi
 Dec 15 18:21:21 tekkaman spice: XRE_START_OFFLINE=
 Dec 15 18:21:21 tekkaman spice:
 LD_LIBRARY_PATH=/usr/lib64/firefox/xulrunner:/usr/lib64/firefox:/usr/lib64/firefox/plugins:/usr/lib64/firefox
 Dec 15 18:21:21 tekkaman spice:
 SSH_AUTH_SOCK=/run/user/1000/keyring-uNXVI0/ssh
 Dec 15 18:21:21 tekkaman spice: GNOME_DISABLE_CRASH_DIALOG=1
 Dec 15 18:21:21 tekkaman spice:
 SESSION_MANAGER=local/unix:@/tmp/.ICE-unix/2864,unix/unix:/tmp/.ICE-unix/2864
 Dec 15 18:21:21 tekkaman spice: USERNAME=g.cecchi
 Dec 15 18:21:21 tekkaman spice: LIBPATH=/usr/lib64/firefox:/usr/lib64/firefox
 Dec 15 18:21:21 tekkaman spice: MOZ_APP_LAUNCHER=/usr/bin/firefox
 Dec 15 18:21:21 tekkaman spice:
 MOZ_PLUGIN_PATH=/usr/lib64/mozilla/plugins:/usr/lib64/firefox/plugins
 Dec 15 18:21:21 

[Users] all-in-one: adding nodes, HA

2013-12-16 Thread Vesa Alho

Hi,

I've been searching archives, but didn't find a definitive answers so 
decided to ask here.


Question 1: all-in-one: adding nodes

In case I use all-in-one installation, is it possible to add more nodes? 
I would be using shared iSCSI storage. What I understand, in order to 
use multiple physical servers, I need to dedicate one for management?


Question 2: High Availability

What I need to do in practice to get high availability between two 
virtual machines? I tried to search for guides. Do I need setup some 
watchdog devices and daemons?


-Mr. Vesa Alho

BTW, does Ovirt FAQ exists yet? My questions would be basic FAQ 
material. I can help out with Wiki if needed.

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


Re: [Users] simple networking? [SOLVED] mostly

2013-12-16 Thread Itamar Heim

On 12/13/2013 06:04 AM, Ted Miller wrote:



From: users-boun...@ovirt.org users-boun...@ovirt.org on behalf of Ted Miller 
tmil...@hcjb.org
Sent: Wednesday, November 27, 2013 12:18 PM
To: users@ovirt.org
Subject: [Users] simple networking?

I am trying to set up a testing network using o-virt, but the networking is
refusing to cooperate.  I am testing for possible use in two different
production setups.

My previous experience has been with VMWare.  I have always set up a single
bridged network on each host.  All my hosts, VMs, and non-VM computers were
peers on the LAN.  They could all talk to each other, and things worked very
well.  There was a firewall/gateway that provided access to the Internet, and
hosts, VMs, and could all communicate with the Internet as needed.

o-virt seems to be compartmentalizing things beyond all reason.
Is there any way to set up simple networking, so ALL computers can see each
other?
Is there anywhere that describes the philosophy behind the networking setup?
What reason is there that networks are so divided?

After banging my head against the wall trying to configure just one host, I
am very frustrated.  I have spent several HOURS Googling for a coherent
explanation of how/why networking is supposed to work, but only fine obscure
references like letting non-VMs see VM traffic would be a huge security
violation.  I have no concept of what king of an installation the o-virt
designers have in mind, but it is obviously worlds different from what I am
trying to do.

The best I can tell, o-virt networking works like this (at least when you
have only one NIC):
there must be an ovirtmgt network, which cannot be combined with any other
network.
   the ovirtmgt network cannot talk to VMs (unless that VM is running the
engine)
   the ovirtmgt network can only talk to hosts, not to other non-VM 
computers
a VM network can talk only to VMs
   cannot talk to hosts
   cannot talk to non-VMs
hosts cannot talk to my LAN
hosts cannot talk to VMs
VMs cannot talk to my LAN
All of the above are enforced by a boatload of firewall rules that o-virt
puts into every host and VM under its jurisdiction.

All of the above is inferred from things I Googled, because I can't find
anywhere that explains what or how things are supposed to work--only things
telling people WHAT THEY CANT DO.  All I see on the mailing lists is people
getting their hands slapped because they are trying to do SIMPLE SETUPS that
should work, but don't (due to either design restrictions or software bugs).

My use case A:
   * My (2 or 3) hosts have only one physical NIC.
   * My VMs exist to provide services to non-VM computers.
  *  The VMs do not run X-windows, but they provide GUI programs to
non-VMs via ssh -X connections.
   * MY VMs need access to storage that is shared with hosts and non-VMs on
the LAN.

Is there some way to TURN OFF network control in o-virt?  My systems are
small and static.  I can hand-configure the networking a whole lot easier
than I can deal with o-virt (as I have used it so far). Mostly I would need
to be able to turn off the firewall rules on both hosts and VMs.

banging head against wall,
Ted
*

I have spent the last three days getting a Centos 6.5 host running under O-virt.

Since the networking was just a small part of this, I am going to open an new 
thread
to discuss the Centos 6.5 host setup process.  Look for a thread titled 
something like
Centos 6.5 host configuration if you want the gory details, or want to try if 
for yourself.

My biggest problem is that the o-virt GUI is apparently incapable of setting
up a bridge in Centos, which turned out to be what I needed.  I had to set up 
the
bridge BEFORE adding the host to the ovirt cluster.  If the bridge was not set
up ahead of time, the whole installation failed completely.


you shouldn't have to do *anything* from the host. the gui/engine should 
take care of everything. can you reproduce this from the engine on 
another host and document the steps for further investigation?


thanks,
   Itamar



The bridge was only one of a list of things that had to be done ahead of time, 
in order
for the process to complete correctly.

Ted Miller
___
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: [Users] Keepalived on oVirt Hosts has engine networking issues

2013-12-16 Thread Itamar Heim

On 12/01/2013 11:30 AM, Andrew Lau wrote:

I put the management and storage on separate VLANs to try avoid the
floating IP address issue temporarily. I also bonded the two nics, but I
don't think that shouldn't matter.

The other server got brought down the other day for some maintenance, I
hope to get it back up in a few days. But I can tell you a few things I
noticed:

ip a - it'll list the floating IP on both servers even if only active on
one.

I've got about 10 other networks so I've snipped out quite a bit.

# ip a
snip
130: bond0.2@bond0: BROADCAST,MULTICAST,MASTER,UP,LOWER_UP mtu 1500
qdisc noqueue state UP
 link/ether 00:10:18:2e:6a:cb brd ff:ff:ff:ff:ff:ff
 inet 172.16.0.11/24 http://172.16.0.11/24 brd 172.16.0.255 scope
global bond0.2
 inet6 fe80::210:18ff:fe2e:6acb/64 scope link
valid_lft forever preferred_lft forever
131: bond0.3@bond0: BROADCAST,MULTICAST,MASTER,UP,LOWER_UP mtu 1500
qdisc noqueue state UP
 link/ether 00:10:18:2e:6a:cb brd ff:ff:ff:ff:ff:ff
 inet 172.16.1.11/24 http://172.16.1.11/24 brd 172.16.1.255 scope
global bond0.3
 inet 172.16.1.5/32 http://172.16.1.5/32 scope global bond0.3
 inet6 fe80::210:18ff:fe2e:6acb/64 scope link
valid_lft forever preferred_lft forever
/snip


# vdsClient -s 0 getVdsCaps
snip
'storage_network': {'addr': '172.16.1.5',
'bridged': False,
'gateway': '172.16.1.1',
'iface': 'bond0.3',
'interface': 'bond0.3',
'ipv6addrs':
['fe80::210:18ff:fe2e:6acb/64'],
'ipv6gateway': '::',
'mtu': '1500',
'netmask': '255.255.255.255',
'qosInbound': '',
'qosOutbound': ''},
snip
vlans = {'bond0.2': {'addr': '172.16.0.11',
 'cfg': {'BOOTPROTO': 'none',
 'DEFROUTE': 'yes',
 'DEVICE': 'bond0.2',
 'GATEWAY': '172.16.0.1',
 'IPADDR': '172.16.0.11',
 'NETMASK': '255.255.255.0',
 'NM_CONTROLLED': 'no',
 'ONBOOT': 'yes',
 'VLAN': 'yes'},
 'iface': 'bond0',
 'ipv6addrs': ['fe80::210:18ff:fe2e:6acb/64'],
 'mtu': '1500',
 'netmask': '255.255.255.0',
 'vlanid': 2},
 'bond0.3': {'addr': '172.16.1.5',
 'cfg': {'BOOTPROTO': 'none',
 'DEFROUTE': 'no',
 'DEVICE': 'bond0.3',
 'IPADDR': '172.16.1.11',
 'NETMASK': '255.255.255.0',
 'NM_CONTROLLED': 'no',
 'ONBOOT': 'yes',
 'VLAN': 'yes'},
 'iface': 'bond0',
 'ipv6addrs': ['fe80::210:18ff:fe2e:6acb/64'],
 'mtu': '1500',
 'netmask': '255.255.255.255',
 'vlanid': 3},

I hope that's enough info, if not I'll post the full config on both when
I can bring it back up.

Cheers,
Andrew.


On Sun, Dec 1, 2013 at 7:15 PM, Assaf Muller amul...@redhat.com
mailto:amul...@redhat.comwrote:

Could you please attach the output of:
vdsClient -s 0 getVdsCaps
(Or without the -s, whichever works)
And:
ip a

On both hosts?
You seem to have made changes since the documentation on the link
you provided, like separating the management and storage via VLANs
on eth0. Any other changes?


Assaf Muller, Cloud Networking Engineer
Red Hat

- Original Message -
From: Andrew Lau and...@andrewklau.com
mailto:and...@andrewklau.com
To: users users@ovirt.org mailto:users@ovirt.org
Sent: Sunday, December 1, 2013 4:55:32 AM
Subject: [Users] Keepalived on oVirt Hosts has engine networking issues

Hi,

I have the scenario where I have gluster and ovirt hosts on the same
box, to keep the gluster volumes highly available incase a box drops
I'm using keepalived across the boxes and using that IP as the means
for the storage domain. I documented my setup here in case anyone
needs a little more info
http://www.andrewklau.com/returning-to-glusterized-ovirt-3-3/

However, the engine seems to be picking up the floating IP assigned
to keepalived as the interface and messing with the ovirtmgmt
migration network, so migrations are failing as my floating IP gets
assigned to the ovirtmgmt bridge in the engine however it's not
actually there on most hosts (except one) so vdsm seems to report
destination same as source.

I've since created a 

Re: [Users] backups

2013-12-16 Thread Itamar Heim

On 11/30/2013 10:36 PM, Blaster wrote:

On 11/27/2013 10:52 AM, Sander Grendelman wrote:

The main problem in oVirt with this strategy would be the lack of live
snapshot deletion.
Having to shut down the VM to delete/merge a snapshot is not nice :(


Ouch?!  Is there an ETA as to when you'll be able to delete a live
snapshot ?

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


it requires some heavy lifting in changing some storage aspects which 
would have other benefits as well - we are very focused on resolving 
this one.

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


Re: [Users] [Bug] Ubuntu 12.04.3 LTS Server does not start with CD attached

2013-12-16 Thread Itamar Heim

On 12/05/2013 11:30 AM, Sven Kieske wrote:

Hi,

I created a BZ with very detailed information:

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

tl;dr:

The above mentioned OS does not start correctly if
you attach a cd-rom to it, this includes submitting
meta-data via Cloud-Init.

The System hangs during the boot-process.

I couldn't reproduce this with Ubuntu 13.10, but I
have to get Ubuntu 12.04 LTS running with Cloud-Init.

I did not find any hint in the Ubuntu log files to the causes of
behaviour.

You find most of the relevant log files in the BZ.

The System boots fine if you eject the cd via webadmin.
It seems not to get removed automatically when you shutdown
the machine.

Did anybody else run into this issue?
Any help would be appreciated.



which version of cloud-init in that guest?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VM with stateless snapshot won't start

2013-12-16 Thread Itamar Heim

On 12/05/2013 01:03 PM, Martijn Grendelman wrote:

Hi,

After maintenance on a host, I am trying to start a VM that has been
running statelessly for a while. It refuses to start and Engine logs the
following:

2013-12-05 11:59:18,125 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(pool-6-thread-48) Correlation ID: 43d49965, Job ID:
0d943a6d-9d65-4ac1-89b7-139d30b4813c, Call Stack: null, Custom Event ID:
-1, Message: Failed to start VM WinXP, because exist snapshot for
stateless state. Snapshot will be deleted.

Should I submit a bug report for the poor English in this log line? ;-)


yes, or better yet, a simple text patch ;)
(the rest of the issues have been resolved via other replies in the thread)

thanks,
   Itamar



The 'Snapshots' tab for the VM doesn't show anything, but repeated
attempts to start the VM just show the same message in the log.

What can I do to start this VM?

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


Re: [Users] sanlock exception

2013-12-16 Thread Itamar Heim

On 12/05/2013 12:36 AM, Pascal Jakobi wrote:

/*Hi

*/
/*I have an engine on one side, a F18 host on the other.
*/
/*On the F18 host, I created a share - nfs works ok :
*/*[root@lab1 ovirt-engine]# showmount -e lab2.home
Export list for lab2.home:
/home/vdsm/data *
[root@lab1 ovirt-engine]#*/*

*/
/*On the console, I create a storage domain that uses host lab2 and
lab2.home:/home/vdsm/data.

*/
/*Error : Failed to attach domain storage
*/
/*Looking further in engine.log/vdsm.log I can see some sanlock
exceptions

*/
/*Has someone a clue ?

*/
/*Thxs
*/
/*P
*/


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



Hi Pascal,

was this resolved, or still relevant?

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


Re: [Users] feature request - support getting console.vv with a single click

2013-12-16 Thread Itamar Heim

On 12/11/2013 09:26 PM, i iordanov wrote:

Hey,

I did some more research, and I can definitely say that at least from
all the discussions I've read, no Android browser is capable of sending
a double-click to a web-site.

Is there an interest in supporting the mobile browser use-case in the
User Portal?


I'd say yes, and suggest you open a bug to track this.



Thanks!
iordan


On Tue, Dec 10, 2013 at 4:43 PM, i iordanov iiorda...@gmail.com
mailto:iiorda...@gmail.com wrote:

Hi guys,

Mobile browsers usually reserve the double-tap functionality for
zooming in/out. It's therefore difficult/impossible to obtain a
console.vv file from the user-mode web interface on a mobile device.

Would you consider adding functionality to connect to the console
without a double-click?

Thanks!
iordan

--
The conscious mind has only one thread of execution.




--
The conscious mind has only one thread of execution.


___
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: [Users] moving ovirt controller

2013-12-16 Thread Itamar Heim

On 12/12/2013 12:22 PM, Vered Volansky wrote:

Hi Rob,

What you need to do is upgrade the engine using engine-setup and the SHA of the 
version you want.
If you have the rpm for the newer version use it with engine-seyup.
If not, you'll have to build on your own, the use engine-setup.
Then you can migrate the DB.

This, BTW, is highly not recommended, though this is the way to work.
It's recommended to work with stable versions.

Let me know us this works for you.


didi - how does the backup/restore utility plays into this?



Regards,
Vered

- Original Message -

From: Rob Abshear rabsh...@citytwist.net
To: Vered Volansky ve...@redhat.com
Sent: Wednesday, December 11, 2013 3:43:50 PM
Subject: Re: [Users] moving ovirt controller

I just want to move the current controller to new hardware.  That is my
goal.  My issue, if I may re-explain it, is that the package versions on
the current controller are older than those on the new controller.  The
research I have done regarding migrating a controller is that the
package versions must be the same in order for the database to migrate
correctly.  I have attempted to backup the database and restore it with
the version differences, and it does restore, but the web interface is
blank.  Maybe I'm just missing something.  I have been following the
instructions at this URL:
http://www.ovirt.org/User:Adrian15/oVirt_engine_migration
http://www.ovirt.org/User:Adrian15/oVirt_engine_migration#Original_package_versions


On 12/11/2013 07:36 AM, Vered Volansky wrote:

Ohad, can you have a look?

- Original Message -

From: Vered Volansky ve...@redhat.com
To: Rob Abshear rabsh...@citytwist.net
Cc: users@ovirt.org
Sent: Wednesday, December 11, 2013 2:31:10 PM
Subject: Re: [Users] moving ovirt controller

I'm not sure what is it that you'd like to accomplish.
You mention a DB and then packaging.
Do you just want the current DB working in the new server?
If so just restore it and upgrade (packaging/dbscripts/upgrade.sh).

In case this is not what you mean, maybe another eye on this would help,
Ohad?



- Original Message -

From: Rob Abshear rabsh...@citytwist.net
To: users@ovirt.org
Sent: Wednesday, December 11, 2013 12:54:47 AM
Subject: [Users] moving ovirt controller

I am running
ovirt-engine-3.4.0-0.2.master.20131107144332.git214186b.fc18.noarch on a
server and I want to move it to another physical server.  I did a fresh
install on the new server and it is running
ovirt-engine-3.4.0-0.2.master.20131119150718.git949cac2.fc18.noarch. I
want to migrate the database from the old server to the new server.  How
can I upgrade the old server so that the package versions match the new
server?  Or, how can I downgrade the new server so that the packages
match the old server?

--


*NADA Convention  Expo*:  January 24-27, 2014 - New Orleans, LA - Booth
5001
http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448
___
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




--


*NADA Convention  Expo*:  January 24-27, 2014 - New Orleans, LA - Booth
5001
http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448


___
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: [Users] Physical CDROM access

2013-12-16 Thread Itamar Heim

On 12/13/2013 09:15 PM, Bob Doolittle wrote:

Hi,

With VMware ESX, when you edit the CD device you have of course the
option of attaching an ISO, but IIRC you also have the option of
selecting the physical CDROM device for the Host.

There seems no way to do this with oVirt. It would be a really nice
addition to the Change CD menu to have something like /dev/cdrom. Is
there a technical issue preventing this? Of course that would prevent VM
migration such as HA while the CDROM device is attached, but that didn't
stop VMware and it would be a valuable addition.

Thanks,
 Bob

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


1. at some point i hope spice will allow this to connect remote
   cd-rom's and install from them.
2. please open an RFE (bugzilla) to track this.
3. you can use a custom hook for this - an adaption on hostusb, or
   maybe even vmdisk would work. if you need help with the custom hook,
   just ping back on the list.

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


Re: [Users] Blank web page after database migration

2013-12-16 Thread Itamar Heim

On 12/11/2013 06:48 PM, Rob Abshear wrote:

I followed the instructions from the following URLs

http://www.ovirt.org/User:Adrian15/oVirt_engine_migration

http://www.ovirt.org/Backup_engine_db

I backed up and restored the certificates and the configuration without
any issues.  But the DB restore in the first set of instructions did not
work for me. So I used the method in the second document to backup and
restore the DB.

I wasn't able to perform the Update encrypted password step in the
first document, because that script does not exist.  However, further
down the document, it states that, You can avoid this editing by
choosing same password at both managers (old one and new one.  So I am
assuming I am OK there.  Not enough information to know that, though.

The issue I'm having is that, when I browse into the new controller, the
page loads, but it's completely blank.  No errors or anything. All the
services seem to be running normally on the controller.  I feel like I'm
close.  What am I missing?



*NADA Convention  Expo*:  January 24-27, 2014 - New Orleans, LA - Booth
5001
http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448



___
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: [Users] all-in-one: adding nodes, HA

2013-12-16 Thread Dan Yasny
On Mon, Dec 16, 2013 at 4:21 AM, Vesa Alho lis...@alho.fi wrote:

 Hi,

 I've been searching archives, but didn't find a definitive answers so
 decided to ask here.

 Question 1: all-in-one: adding nodes

 In case I use all-in-one installation, is it possible to add more nodes? I
 would be using shared iSCSI storage. What I understand, in order to use
 multiple physical servers, I need to dedicate one for management?


All in one sets you up with a local datacentre. You can create an iSCSI
datacentre afterwards, move the AIO host into it and add more hosts



 Question 2: High Availability

 What I need to do in practice to get high availability between two virtual
 machines? I tried to search for guides. Do I need setup some watchdog
 devices and daemons?


Mark the VM as HA, simple as that. You need to have power management
working on the hosts though.



 -Mr. Vesa Alho

 BTW, does Ovirt FAQ exists yet? My questions would be basic FAQ material.
 I can help out with Wiki if needed.
 ___
 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: [Users] hot add ram to a vm

2013-12-16 Thread Andrew Cathrow


- Original Message -
 From: Sander Grendelman san...@grendelman.com
 To: Michal Skrivanek michal.skriva...@redhat.com
 Cc: users@ovirt.org
 Sent: Friday, December 13, 2013 8:52:42 AM
 Subject: Re: [Users] hot add ram to a vm
 
 On Fri, Dec 13, 2013 at 1:42 PM, Michal Skrivanek
 michal.skriva...@redhat.com wrote:
  Too bad QEMU doesn't support it. So it's still a long way.
 
 qemu/libvirt kind of supports it (at least in F19).
 
 In virt-manager you can define current and maximum memory
 allocation.
 
 The VM only sees the current allocation and you can hot add memory up
 to the maximum allocation.


It isn't really hot-plug.
This allows you to statically set the physical ram but then use the balloon 
device to borrow some ram from the guest.
If max memory was 4gb and we set current memory to 2gb the VM would still see 
4gb of physical memory but the balloon driver would be taking up 2gb of memory 
in the guest, this memory would be returned to the host for other VMs to use.


 
 Example from the xml definition:
 
   memory unit='KiB'3145728/memory
   currentMemory unit='KiB'1048576/currentMemory
 
 After booting:
 
 [root@grkvm201 ~]# uname -a
 Linux grkvm201.plusine.intern 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed
 Oct 16 18:37:12 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
 [root@grkvm201 ~]# free -lm
  total   used   free sharedbuffers
  cached
 Mem:   837296540  0  8
 84
 Low:   837296540
 High:0  0  0
 -/+ buffers/cache:203634
 Swap:  511  0511
 [root@grkvm201 ~]#
 
 memory increased to 2GB through virt-manager:
 
 [root@grkvm201 ~]# free -lm
  total   used   free sharedbuffers
  cached
 Mem:  1861295   1565  0  8
 84
 Low:  1861295   1565
 High:0  0  0
 -/+ buffers/cache:202   1659
 Swap:  511  0511
 [root@grkvm201 ~]# cat /proc/meminfo
 MemTotal:1906176 kB
 MemFree: 1603456 kB
 Buffers:9140 kB
 Cached:86860 kB
 SwapCached:0 kB
 Active:92564 kB
 Inactive:  68064 kB
 Active(anon):  68692 kB
 Inactive(anon):   12 kB
 Active(file):  23872 kB
 Inactive(file):68052 kB
 Unevictable:   21600 kB
 Mlocked:   11380 kB
 SwapTotal:524280 kB
 SwapFree: 524280 kB
 Dirty:12 kB
 Writeback: 0 kB
 AnonPages: 86232 kB
 Mapped:20436 kB
 Shmem:   288 kB
 Slab:  75132 kB
 SReclaimable:  14576 kB
 SUnreclaim:60556 kB
 KernelStack:1464 kB
 PageTables: 4224 kB
 NFS_Unstable:  0 kB
 Bounce:0 kB
 WritebackTmp:  0 kB
 CommitLimit: 1477368 kB
 Committed_AS: 547624 kB
 VmallocTotal:   34359738367 kB
 VmallocUsed:   20040 kB
 VmallocChunk:   34359688500 kB
 HardwareCorrupted: 0 kB
 AnonHugePages: 18432 kB
 HugePages_Total:   0
 HugePages_Free:0
 HugePages_Rsvd:0
 
 Memory decreased to 1,5GB through virt-manager:
 [root@grkvm201 ~]# free -lm
  total   used   free sharedbuffers
  cached
 Mem:  1349295   1054  0  8
 84
 Low:  1349295   1054
 High:0  0  0
 -/+ buffers/cache:201   1147
 Swap:  511  0511
 [root@grkvm201 ~]#
 ___
 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: [Users] simple networking? [SOLVED] mostly

2013-12-16 Thread Sven Kieske
Is this entirely true?

AFAIK you need ovirt.org repos at the host and ssh must be functional
(network of course too).
at least the ovirt.org repos did not come with EL 6.4 and there were
no ovirt packages in the EL 6.4 Repos

Did this change in EL 6.5? I did not yet investigate EL 6.5, it
would be huge if you can really setup vdsm on a minimal server install
without additional repos.

Am 16.12.2013 08:27, schrieb Itamar Heim:
 you shouldn't have to do *anything* from the host. the gui/engine should
 take care of everything. can you reproduce this from the engine on
 another host and document the steps for further investigation?

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] moving ovirt controller

2013-12-16 Thread Yedidyah Bar David
- Original Message -
 From: Itamar Heim ih...@redhat.com
 To: Vered Volansky ve...@redhat.com, Rob Abshear 
 rabsh...@citytwist.net, Yedidyah Bar David
 d...@redhat.com
 Cc: users users@ovirt.org
 Sent: Monday, December 16, 2013 10:14:18 AM
 Subject: Re: [Users] moving ovirt controller
 
 On 12/12/2013 12:22 PM, Vered Volansky wrote:
  Hi Rob,
 
  What you need to do is upgrade the engine using engine-setup and the SHA of
  the version you want.
  If you have the rpm for the newer version use it with engine-seyup.
  If not, you'll have to build on your own, the use engine-setup.
  Then you can migrate the DB.
 
  This, BTW, is highly not recommended, though this is the way to work.
  It's recommended to work with stable versions.
 
  Let me know us this works for you.
 
 didi - how does the backup/restore utility plays into this?

engine-backup is not really relevant to the current discussion - it can
assist in the manual process that needs to be done, but it does not solve
the issues with versions. So if the problem was with some conf file not
copied, engine-backup might help, but if the problem is incompatibility
between database and code, it won't.

engine-backup does not have much documentation currently - see its
'--help', also copied to [1].

[1] http://www.ovirt.org/Ovirt-engine-backup

Regards,
-- 
Didi

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


Re: [Users] Blank web page after database migration

2013-12-16 Thread Yedidyah Bar David
- Original Message -
 From: Itamar Heim ih...@redhat.com
 To: Rob Abshear rabsh...@citytwist.net, users@ovirt.org, Yedidyah Bar 
 David d...@redhat.com
 Sent: Monday, December 16, 2013 10:18:42 AM
 Subject: Re: [Users] Blank web page after database migration
 
 On 12/11/2013 06:48 PM, Rob Abshear wrote:
  I followed the instructions from the following URLs
 
  http://www.ovirt.org/User:Adrian15/oVirt_engine_migration
 
  http://www.ovirt.org/Backup_engine_db
 
  I backed up and restored the certificates and the configuration without
  any issues.  But the DB restore in the first set of instructions did not
  work for me. So I used the method in the second document to backup and
  restore the DB.
 
  I wasn't able to perform the Update encrypted password step in the
  first document, because that script does not exist.  However, further
  down the document, it states that, You can avoid this editing by
  choosing same password at both managers (old one and new one.  So I am
  assuming I am OK there.  Not enough information to know that, though.
 
  The issue I'm having is that, when I browse into the new controller, the
  page loads, but it's completely blank.  No errors or anything. All the
  services seem to be running normally on the controller.  I feel like I'm
  close.  What am I missing?
 
 
 
  *NADA Convention  Expo*:  January 24-27, 2014 - New Orleans, LA - Booth
  5001
  http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448http://www.bbb.org/south-east-florida/business-reviews/advertising-agencies/citytwist-in-boca-raton-fl-90033448
 
 
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 didi?
 

I did not follow closely the above links. They might miss some files/settings.

You can try using engine-backup.

On the source machine do:
engine-backup --mode=backup --file=backup1 --log=backup1.log

Copy backup1 to the target machine, then:
1. Create a database. 'engine-backup --help' for help with this, as well as
e.g. [1]
2. engine-backup --mode=restore --file=backup1 --log=backup1-restore.log

If the created database has different credentials, you'll need to pass also
--change-db-credentials --db-host=HOST --db-user=USER --db-name=NAME 
--db-password

3. engine-setup. This will do various cleanups and fixes that engine-backup
does not do.

4. It does not set postgresql and websocket-proxy to start on boot, so you'll 
need
to do that manually (chkconfig or systemctl) if you want that.

As explained before, this was intended to be done only with identical versions 
on
source and target machines.

Best regards,

[1] http://www.ovirt.org/OVirt_Engine_Development_Environment#Database
-- 
Didi
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [Bug] Ubuntu 12.04.3 LTS Server does not start with CD attached

2013-12-16 Thread Sven Kieske
It turned out, it wasn't related to Cloud-Init.
But to answer your question: there was no Cloud-Init
installed, as I use my own script to parse and act
upon the Cloud-Init Data, as I also need IPv6 Support.

The problem seemed to be, that ubuntu 12.04 somehow
didn't boot completely without kernel boot parameter
console=ttyS0,38400n8

More details are in the BZ.

Am 16.12.2013 08:39, schrieb Itamar Heim:
 On 12/05/2013 11:30 AM, Sven Kieske wrote:
 Hi,

 I created a BZ with very detailed information:

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

 
 which version of cloud-init in that guest?

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] all-in-one: adding nodes, HA

2013-12-16 Thread Sven Kieske
Hi,

well wiki.ovirt.org exists, but there is much space for improvement, so
maybe register an account and contribute :-)

Am 16.12.2013 12:21, schrieb Vesa Alho:
 BTW, does Ovirt FAQ exists yet? My questions would be basic FAQ
 material. I can help out with Wiki if needed.

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] hot add ram to a vm

2013-12-16 Thread Doron Fediuck


- Original Message -
 From: Andrew Cathrow acath...@redhat.com
 To: Sander Grendelman san...@grendelman.com
 Cc: users@ovirt.org
 Sent: Monday, December 16, 2013 2:05:00 PM
 Subject: Re: [Users] hot add ram to a vm
 
 
 
 - Original Message -
  From: Sander Grendelman san...@grendelman.com
  To: Michal Skrivanek michal.skriva...@redhat.com
  Cc: users@ovirt.org
  Sent: Friday, December 13, 2013 8:52:42 AM
  Subject: Re: [Users] hot add ram to a vm
  
  On Fri, Dec 13, 2013 at 1:42 PM, Michal Skrivanek
  michal.skriva...@redhat.com wrote:
   Too bad QEMU doesn't support it. So it's still a long way.
  
  qemu/libvirt kind of supports it (at least in F19).
  
  In virt-manager you can define current and maximum memory
  allocation.
  
  The VM only sees the current allocation and you can hot add memory up
  to the maximum allocation.
 
 
 It isn't really hot-plug.
 This allows you to statically set the physical ram but then use the balloon
 device to borrow some ram from the guest.
 If max memory was 4gb and we set current memory to 2gb the VM would still see
 4gb of physical memory but the balloon driver would be taking up 2gb of
 memory in the guest, this memory would be returned to the host for other VMs
 to use.
 
 

Right, currentMemory is how you manipulate the balloon:
http://libvirt.org/formatdomain.html#elementsMemoryAllocation

Note that is requires an agent, a driver and cooperation from the guest.

  
  Example from the xml definition:
  
memory unit='KiB'3145728/memory
currentMemory unit='KiB'1048576/currentMemory
  
  After booting:
  
  [root@grkvm201 ~]# uname -a
  Linux grkvm201.plusine.intern 2.6.32-358.23.2.el6.x86_64 #1 SMP Wed
  Oct 16 18:37:12 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
  [root@grkvm201 ~]# free -lm
   total   used   free sharedbuffers
   cached
  Mem:   837296540  0  8
  84
  Low:   837296540
  High:0  0  0
  -/+ buffers/cache:203634
  Swap:  511  0511
  [root@grkvm201 ~]#
  
  memory increased to 2GB through virt-manager:
  
  [root@grkvm201 ~]# free -lm
   total   used   free sharedbuffers
   cached
  Mem:  1861295   1565  0  8
  84
  Low:  1861295   1565
  High:0  0  0
  -/+ buffers/cache:202   1659
  Swap:  511  0511
  [root@grkvm201 ~]# cat /proc/meminfo
  MemTotal:1906176 kB
  MemFree: 1603456 kB
  Buffers:9140 kB
  Cached:86860 kB
  SwapCached:0 kB
  Active:92564 kB
  Inactive:  68064 kB
  Active(anon):  68692 kB
  Inactive(anon):   12 kB
  Active(file):  23872 kB
  Inactive(file):68052 kB
  Unevictable:   21600 kB
  Mlocked:   11380 kB
  SwapTotal:524280 kB
  SwapFree: 524280 kB
  Dirty:12 kB
  Writeback: 0 kB
  AnonPages: 86232 kB
  Mapped:20436 kB
  Shmem:   288 kB
  Slab:  75132 kB
  SReclaimable:  14576 kB
  SUnreclaim:60556 kB
  KernelStack:1464 kB
  PageTables: 4224 kB
  NFS_Unstable:  0 kB
  Bounce:0 kB
  WritebackTmp:  0 kB
  CommitLimit: 1477368 kB
  Committed_AS: 547624 kB
  VmallocTotal:   34359738367 kB
  VmallocUsed:   20040 kB
  VmallocChunk:   34359688500 kB
  HardwareCorrupted: 0 kB
  AnonHugePages: 18432 kB
  HugePages_Total:   0
  HugePages_Free:0
  HugePages_Rsvd:0
  
  Memory decreased to 1,5GB through virt-manager:
  [root@grkvm201 ~]# free -lm
   total   used   free sharedbuffers
   cached
  Mem:  1349295   1054  0  8
  84
  Low:  1349295   1054
  High:0  0  0
  -/+ buffers/cache:201   1147
  Swap:  511  0511
  [root@grkvm201 ~]#
  ___
  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: [Users] Physical CDROM access

2013-12-16 Thread Dan Kenigsberg
On Mon, Dec 16, 2013 at 09:58:15AM +0200, Itamar Heim wrote:
 On 12/13/2013 09:15 PM, Bob Doolittle wrote:
 Hi,
 
 With VMware ESX, when you edit the CD device you have of course the
 option of attaching an ISO, but IIRC you also have the option of
 selecting the physical CDROM device for the Host.
 
 There seems no way to do this with oVirt. It would be a really nice
 addition to the Change CD menu to have something like /dev/cdrom. Is
 there a technical issue preventing this? Of course that would prevent VM
 migration such as HA while the CDROM device is attached, but that didn't
 stop VMware and it would be a valuable addition.
 
 Thanks,
  Bob
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 1. at some point i hope spice will allow this to connect remote
cd-rom's and install from them.
 2. please open an RFE (bugzilla) to track this.
 3. you can use a custom hook for this - an adaption on hostusb, or
maybe even vmdisk would work. if you need help with the custom hook,
just ping back on the list.

I think Bob asked to access the /dev/cdrom device of the host machine,
not the one of the spice client.

Bob, if that's the case, I think you can do it by circomventing Engine
and calling `vdsClient -s host changeCD /dev/cdrom`; please try it
out.

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


Re: [Users] [Spice-devel] Spice Proxy seems to try connect to host and not defined proxy

2013-12-16 Thread Marc-André Lureau


- Original Message -
 On Mon, Dec 16, 2013 at 12:39 PM, Marc-André Lureau wrote:
  Hi
 
 
  - Original Message -
  Hi,
 
  AFAIK this feature is present in windows clients only.
 
  @SPICE devel:
  Is there a plan to add this support also to Linux clients? To what
  version?
 
 
  Upstream spice-gtk supports http proxy for a while.
 
  http proxy support has been added to RHEL 6.5
 
  Hope that helps
 
  thanx,
  Tomas
 
  PS: I will update the wiki according to the results from this discussion.
 
 It would be nice to mark that as a note for RHEVM documentation too...
 I can post a documentation bug eventually

I am not a RHEVM user, I don't know where is the documentation you are talking 
about.

But I know that we track spice-gtk/virt-viewer RFE in bug and erratas for 
RHEL/RHEVM.

 
 But for sure I tested with an updated Fedora 19 client and if I'm not
 wrong also with a Fedora 20 beta
 And none of them worked...

That's surprising, SPICE_PROXY=http://... and virt-viewer proxy configuration 
should work. Can you describe what you are testing?

 So how far from upstream spice-gtk are Fedora 19-20?

Not very far.

 On my Fedora 19 client I have spice-gtk3-0.20-6.fc19.x86_64 btw
 When I run console with Spice Proxy  enabled from this Fedora 19
 client I see that it runs remote-viewer indeed that is included in
 installed virt-viewer-0.5.6-1.fc19.x86_64 and
 rpm -qR virt-viewer gives also
 libspice-client-gtk-3.0.so.4 (the one included in spice-gtk3 version
 mentioned above)..
 
 So what I'm missing to be compliant on fedora 19 client?

You said you are using ovirt? With XPI or mime? Could you get the SPICE_DEBUG=1 
log and check that proxy is being used?

Could you check from command line that your HTTP proxy is correctly configured 
(allow CONNECT etc)

ex: SPICE_PROXY=http://proxy:3128 remote-viewer spice://host:port
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [Spice-devel] Spice Proxy seems to try connect to host and not defined proxy

2013-12-16 Thread Gianluca Cecchi
On Mon, Dec 16, 2013 at 2:56 PM, Marc-André Lureau wrote:


 I am not a RHEVM user, I don't know where is the documentation you are 
 talking about.


Note that my original post was to ovirt-users mailing list. See here for it:
http://lists.ovirt.org/pipermail/users/2013-December/018735.html
(see what I got in /var/log/messages output there)

Tomas then forwarded to spice-devel too at a certain point.
So the doc links  I referred were:
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3-Beta/html/Installation_Guide/sect-SPICE_Proxy.html
https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.2/html/Installation_Guide/sect-SPICE_Proxy.html


 But I know that we track spice-gtk/virt-viewer RFE in bug and erratas for 
 RHEL/RHEVM.

I'm going to search for them to get more info on this, thanks



 But for sure I tested with an updated Fedora 19 client and if I'm not
 wrong also with a Fedora 20 beta
 And none of them worked...

 That's surprising, SPICE_PROXY=http://... and virt-viewer proxy 
 configuration should work. Can you describe what you are testing?

 So how far from upstream spice-gtk are Fedora 19-20?

 Not very far.

 On my Fedora 19 client I have spice-gtk3-0.20-6.fc19.x86_64 btw
 When I run console with Spice Proxy  enabled from this Fedora 19
 client I see that it runs remote-viewer indeed that is included in
 installed virt-viewer-0.5.6-1.fc19.x86_64 and
 rpm -qR virt-viewer gives also
 libspice-client-gtk-3.0.so.4 (the one included in spice-gtk3 version
 mentioned above)..

 So what I'm missing to be compliant on fedora 19 client?

 You said you are using ovirt? With XPI or mime? Could you get the 
 SPICE_DEBUG=1 log and check that proxy is being used?

 Could you check from command line that your HTTP proxy is correctly 
 configured (allow CONNECT etc)

 ex: SPICE_PROXY=http://proxy:3128 remote-viewer spice://host:port

I'm going to test what you suggested and report
The test was made from fedora 19 in firefox browser and with spice-xpi
installed, against oVirt 3.3.2 beta (based on f19 too and ovirt-beta
repo).
In VM I had set auto for spice, so I think it should use virt-viewer
as it did, correct?
And I also have pre-marked the Spice-Proxy checkbox (inherited by
global config set)
Does Spice Proxy work with both the plugin and the native
remote-viewer or only with the latter?

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


[Users] Authentication

2013-12-16 Thread Maurice James
I was curious to know how is the update of the authentication options coming. 
Right now the only option for external authentication involves the use of 
Kerberos. I am interested in using an LDAP only model (389-ds) without 
Kerberos.  ___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Authentication

2013-12-16 Thread Yair Zaslavsky
Work is in progress, led by Juan Hernandez (CC'ed)
See -


http://gerrit.ovirt.org/#/q/status:open+project:ovirt-engine+branch:master+topic:directory_refactoring,n,z



- Original Message -
 From: Maurice James midnightst...@msn.com
 To: users@ovirt.org
 Sent: Monday, December 16, 2013 4:12:47 PM
 Subject: [Users] Authentication
 
 I was curious to know how is the update of the authentication options coming.
 Right now the only option for external authentication involves the use of
 Kerberos. I am interested in using an LDAP only model (389-ds) without
 Kerberos.
 ___
 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] Upgrade from 3.3.1-2 el6 to 3.3.2

2013-12-16 Thread Sven Kieske
Hi,

got a question regarding engine upgrades:

My current setup:

I got 3.3.1-2.el6 installed from ovirt-beta repo
and want to upgrade to 3.3.2 RC.

According to:
http://www.ovirt.org/OVirt_3.3.2_release_notes
oVirt 3.3.2 release candidate is available for testing. In order to
install it you've to enable ovirt-updates-testing repository.
I need ovirt-updates-testing enabled?

Shall I disable ovirt-beta repo?

Additional info: the base os is still CentOS 6.4
Did anyone perform an inplace upgrade to 6.5?
Is this recommended?
-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Documentation incoming

2013-12-16 Thread Sven Kieske
Hi,

just for all who are curious:

There is a large package of documentation for oVirt
at redhat.com:

https://access.redhat.com/site/documentation/Red_Hat_Enterprise_Virtualization/

There is also beta documentation for 3.3.
This is more structured than the ovirt.org wiki.

Maybe this helps someone.

PS: In case you do not know:

Red Hat Enterprise Virtualization (RHEV for short)
is a downstream product build from oVirt, so
almost everything in the docs should be transferable
to oVirt.

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] simple networking? [SOLVED] mostly

2013-12-16 Thread Bob Doolittle


On 12/16/13 07:06, Sven Kieske wrote:

Is this entirely true?


In my experience, yes. The one thing I had to do was to enable the sshd 
service on the Host (and possibly tweak the firewall to allow sshd 
service?).


When you click Add Host on the engine, it uses ssh into the Host to 
configure the necessary repositories. I may have had to add the 
Optional repository for EL6, but certainly not the oVirt repository - 
that is handled by the host-deploy code.


I have done this with both 6.4 and 6.5.

In any case, Ted's issues are not related to repository configuration or 
package dependencies.


-Bob



AFAIK you need ovirt.org repos at the host and ssh must be functional
(network of course too).
at least the ovirt.org repos did not come with EL 6.4 and there were
no ovirt packages in the EL 6.4 Repos

Did this change in EL 6.5? I did not yet investigate EL 6.5, it
would be huge if you can really setup vdsm on a minimal server install
without additional repos.

Am 16.12.2013 08:27, schrieb Itamar Heim:

you shouldn't have to do *anything* from the host. the gui/engine should
take care of everything. can you reproduce this from the engine on
another host and document the steps for further investigation?


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


Re: [Users] Upgrade from 3.3.1-2 el6 to 3.3.2

2013-12-16 Thread Sandro Bonazzola
Il 16/12/2013 15:37, Sven Kieske ha scritto:
 Hi,
 
 got a question regarding engine upgrades:
 
 My current setup:
 
 I got 3.3.1-2.el6 installed from ovirt-beta repo
 and want to upgrade to 3.3.2 RC.
 
 According to:
 http://www.ovirt.org/OVirt_3.3.2_release_notes
 oVirt 3.3.2 release candidate is available for testing. In order to
 install it you've to enable ovirt-updates-testing repository.
 I need ovirt-updates-testing enabled?

yes. I've not sent the announce yet because a last minute mail warned about a 
possible bug
(http://gerrit.ovirt.org/#/c/22412/) that may be worth a respin of the RC.

 Shall I disable ovirt-beta repo?

not relevant since 3.3.1-2 packages are also in stable.
you'll need ovirt-beta repo only if you have installed 3.3.2 beta (for rollback)


 Additional info: the base os is still CentOS 6.4
 Did anyone perform an inplace upgrade to 6.5?
 Is this recommended?

I've not tested it but I think 6.5 is required if you need cloud-init to work.


-- 
Sandro Bonazzola
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: [Users] Upgrade from 3.3.1-2 el6 to 3.3.2

2013-12-16 Thread Sven Kieske


Am 16.12.2013 16:12, schrieb Sandro Bonazzola:
 
 yes. I've not sent the announce yet because a last minute mail warned about a 
 possible bug
 (http://gerrit.ovirt.org/#/c/22412/) that may be worth a respin of the RC.

Does this bug just effect the use-case via GUI? Or is this triggered
also, when I invoke network profile related stuff via REST?
 Additional info: the base os is still CentOS 6.4
 Did anyone perform an inplace upgrade to 6.5?
 Is this recommended?
 
 I've not tested it but I think 6.5 is required if you need cloud-init to work.

Sorry, I was a little unclear, I was talking about the OS-Version of
the engine-host.
You need EL 6.5 inside the VM for Cloud-Init because you need at
least version 0.7.2, that's true.

I'll wait with upgrade until I know if the above bug triggers via
REST-API. If this is the case, I'll wait for a respin.

-- 
Mit freundlichen Grüßen / Regards

Sven Kieske

Systemadministrator
Mittwald CM Service GmbH  Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [Spice-devel] Spice Proxy seems to try connect to host and not defined proxy

2013-12-16 Thread Tomas Jelinek


- Original Message -
 From: Gianluca Cecchi gianluca.cec...@gmail.com
 To: Marc-André Lureau mlur...@redhat.com
 Cc: Tomas Jelinek tjeli...@redhat.com, spice-de...@lists.freedesktop.org, 
 users users@ovirt.org
 Sent: Monday, December 16, 2013 3:09:45 PM
 Subject: Re: [Spice-devel] [Users] Spice Proxy seems to try connect to host 
 and not defined proxy
 
 On Mon, Dec 16, 2013 at 2:56 PM, Marc-André Lureau wrote:
 
 
  I am not a RHEVM user, I don't know where is the documentation you are
  talking about.
 
 
 Note that my original post was to ovirt-users mailing list. See here for it:
 http://lists.ovirt.org/pipermail/users/2013-December/018735.html
 (see what I got in /var/log/messages output there)
 
 Tomas then forwarded to spice-devel too at a certain point.
 So the doc links  I referred were:
 https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.3-Beta/html/Installation_Guide/sect-SPICE_Proxy.html
 https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Virtualization/3.2/html/Installation_Guide/sect-SPICE_Proxy.html
 
 
  But I know that we track spice-gtk/virt-viewer RFE in bug and erratas for
  RHEL/RHEVM.
 
 I'm going to search for them to get more info on this, thanks
 
 
 
  But for sure I tested with an updated Fedora 19 client and if I'm not
  wrong also with a Fedora 20 beta
  And none of them worked...
 
  That's surprising, SPICE_PROXY=http://... and virt-viewer proxy
  configuration should work. Can you describe what you are testing?
 
  So how far from upstream spice-gtk are Fedora 19-20?
 
  Not very far.
 
  On my Fedora 19 client I have spice-gtk3-0.20-6.fc19.x86_64 btw
  When I run console with Spice Proxy  enabled from this Fedora 19
  client I see that it runs remote-viewer indeed that is included in
  installed virt-viewer-0.5.6-1.fc19.x86_64 and
  rpm -qR virt-viewer gives also
  libspice-client-gtk-3.0.so.4 (the one included in spice-gtk3 version
  mentioned above)..
 
  So what I'm missing to be compliant on fedora 19 client?
 
  You said you are using ovirt? With XPI or mime? Could you get the
  SPICE_DEBUG=1 log and check that proxy is being used?
 
  Could you check from command line that your HTTP proxy is correctly
  configured (allow CONNECT etc)
 
  ex: SPICE_PROXY=http://proxy:3128 remote-viewer spice://host:port
 
 I'm going to test what you suggested and report
 The test was made from fedora 19 in firefox browser and with spice-xpi
 installed, against oVirt 3.3.2 beta (based on f19 too and ovirt-beta
 repo).
 In VM I had set auto for spice, so I think it should use virt-viewer
 as it did, correct?

If 'auto' is set than it first tries to use the XPI plugin. If it does not find 
it than the native impl (using .vv file)

 And I also have pre-marked the Spice-Proxy checkbox (inherited by
 global config set)
 Does Spice Proxy work with both the plugin and the native
 remote-viewer or only with the latter?

Should with both. For XPI we set the .Proxy property (with capital P) and 
for the native we put 
proxy=... to the .vv file (with small p) which is AFAIK correct.

If you are using the native impl could you please verify that the proxy=... 
is indeed present in the .vv file?

 
 Gianluca

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


[Users] oVirt 3.3.2 RC

2013-12-16 Thread Sandro Bonazzola
The oVirt team is pleased to announce that the 3.3.2 Release Candidate is now
available in ovirt-updates-testing [1].

We planned to release it on Wed Dec 18th 2013 but it will probably be postponed
to next week for allowing more testing on the RC.
The release date will be decided in next oVrit sync meeting on Wed Dec 18th.
Feel free to join us testing it[2] and verifying the bugzilla entries actually
under verification [3].

Release notes for this update are available on the wiki [4].

A new oVirt Node build will be available soon as well.

[1] http://resources.ovirt.org/releases/updates-testing
[2] http://www.ovirt.org/Testing/Ovirt_3.3.2_testing
[3] http://red.ht/19NoJKf
[4] http://www.ovirt.org/OVirt_3.3.2_release_notes

-- 
Sandro Bonazzola
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: [Users] simple networking? [SOLVED] mostly

2013-12-16 Thread Itamar Heim

On 12/16/2013 02:06 PM, Sven Kieske wrote:

Is this entirely true?

AFAIK you need ovirt.org repos at the host and ssh must be functional
(network of course too).
at least the ovirt.org repos did not come with EL 6.4 and there were
no ovirt packages in the EL 6.4 Repos

Did this change in EL 6.5? I did not yet investigate EL 6.5, it
would be huge if you can really setup vdsm on a minimal server install
without additional repos.


ssh and repos are still needed. nothing fancier should be needed.
ssh we cannot solve... repo's maybe worth thinking about as an option



Am 16.12.2013 08:27, schrieb Itamar Heim:

you shouldn't have to do *anything* from the host. the gui/engine should
take care of everything. can you reproduce this from the engine on
another host and document the steps for further investigation?




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


Re: [Users] feature request - support getting console.vv with a single click

2013-12-16 Thread i iordanov
Hi Itamar,

On Mon, Dec 16, 2013 at 3:18 AM, Itamar Heim ih...@redhat.com wrote:

 I'd say yes, and suggest you open a bug to track this.


I've done what you suggested.

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

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


Re: [Users] simple networking? [SOLVED] mostly

2013-12-16 Thread Juan Pablo Lorier
Itamar,

I have the same problem and already have mentioned that in previous
posts. In my case, I have vlan 128 tagged assigned for ovirtmgmt so I
set the host ip manually on top of a vlan interface and the, after ovirt
does install the node, it fails to finish as it can't manage properly to
create the bridge and pass the ip to the brand new bridge. The ovirtmgmt
interface I create in engine is a bond (and originally I configure just
a single interface with the ip to grant engine access), just in case
this changes the scenario.
Regards,

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


Re: [Users] simple networking? [SOLVED] mostly

2013-12-16 Thread Itamar Heim

On 12/16/2013 12:54 PM, Juan Pablo Lorier wrote:

Itamar,

I have the same problem and already have mentioned that in previous
posts. In my case, I have vlan 128 tagged assigned for ovirtmgmt so I
set the host ip manually on top of a vlan interface and the, after ovirt
does install the node, it fails to finish as it can't manage properly to
create the bridge and pass the ip to the brand new bridge. The ovirtmgmt
interface I create in engine is a bond (and originally I configure just
a single interface with the ip to grant engine access), just in case
this changes the scenario.
Regards,

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



dan/toni - thoughts?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] simple networking? [SOLVED] mostly

2013-12-16 Thread Antoni Segura Puimedon
Hi Juan Pablo,

Could you please share:

/var/log/vdsm/supervdsm.log

So that I can see why the installation fails? I'd also like to know
how you set up the pre-existent vlan on the host.

- Original Message -
 From: Itamar Heim ih...@redhat.com
 To: Juan Pablo Lorier jplor...@gmail.com, users@ovirt.org, Dan 
 Kenigsberg dan...@redhat.com, Antoni Segura
 Puimedon asegu...@redhat.com
 Sent: Monday, December 16, 2013 7:13:04 PM
 Subject: Re: [Users] simple networking? [SOLVED] mostly
 
 On 12/16/2013 12:54 PM, Juan Pablo Lorier wrote:
  Itamar,
 
  I have the same problem and already have mentioned that in previous
  posts. In my case, I have vlan 128 tagged assigned for ovirtmgmt so I
  set the host ip manually on top of a vlan interface and the, after ovirt
  does install the node, it fails to finish as it can't manage properly to
  create the bridge and pass the ip to the brand new bridge. The ovirtmgmt
  interface I create in engine is a bond (and originally I configure just
  a single interface with the ip to grant engine access), just in case
  this changes the scenario.
  Regards,
 
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 
 
 dan/toni - thoughts?
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] simple networking? [SOLVED] mostly

2013-12-16 Thread Moti Asayag


- Original Message -
 From: Juan Pablo Lorier jplor...@gmail.com
 To: users@ovirt.org
 Sent: Monday, December 16, 2013 7:54:34 PM
 Subject: Re: [Users] simple networking? [SOLVED] mostly
 
 Itamar,
 
 I have the same problem and already have mentioned that in previous
 posts. In my case, I have vlan 128 tagged assigned for ovirtmgmt so I
 set the host ip manually on top of a vlan interface and the, after ovirt
 does install the node, it fails to finish as it can't manage properly to
 create the bridge and pass the ip to the brand new bridge. The ovirtmgmt
 interface I create in engine is a bond (and originally I configure just
 a single interface with the ip to grant engine access), just in case
 this changes the scenario.
 Regards,
 

Just to make sure i get it right:

You're attempting to install a host which is configured:
eth0 --- eth0.128 (which has a static ip configured)

When you install the host, you provide as address either the ip of eth0.128
as you configured manually or a fqdn which is resolved to the same ip.

'ovirtmgmt' logical network definition is a vm network tagged with 128.

Can you provide the from the output of 'getCapabilities' from the vdsm.log
immediately after vdsm starts during the installation the value of 
'lastClientIface' ?
Or even better - the entire output of 'getCapabilities' (which will indicate 
that
vdsm reports properly the required information about the nic it should 
configure).

Could you confirm the above and provide the missing pieces ?

 ___
 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: [Users] simple networking? [SOLVED] mostly

2013-12-16 Thread Moti Asayag
By looking at the output of 'getCapabilities' i noticed vdsm
didn't report any value for 'lastClientIface': 'lastClientIface': ''

It seems like the first 'getCapabilities' which the engine relies
on to report the nic for configuring the management network on top
of is missing.

Toni, any idea in which case it might not be reported ?


Thread-20::DEBUG::2013-12-05 14:01:43,531::BindingXMLRPC::981::vds::(wrapper) 
return getCapabilities with {'status': {'message': 'Done', 'code': 0}, 'info': 
{'HBAInventory': {'iSCSI': [{'InitiatorName': 
'iqn.1994-05.com.redhat:1a6a2adc920'}], 'FC': []}, 'packages2': {'kernel': 
{'release': '358.23.2.el6.x86_64', 'buildtime': 1381955832.0, 'version': 
'2.6.32'}, 'glusterfs-rdma': {'release': '8.el6', 'buildtime': 1375787859L, 
'version': '3.4.0'}, 'glusterfs-fuse': {'release': '8.el6', 'buildtime': 
1375787859L, 'version': '3.4.0'}, 'spice-server': {'release': '6.el6', 
'buildtime': 1385213397L, 'version': '0.12.4'}, 'vdsm': {'release': '11.el6', 
'buildtime': 1384277438L, 'version': '4.13.0'}, 'qemu-kvm': {'release': 
'2.355.0.1.el6_4.9', 'buildtime': 1380718456L, 'version': '0.12.1.2'}, 
'qemu-img': {'release': '2.355.0.1.el6_4.9', 'buildtime': 1380718456L, 
'version': '0.12.1.2'}, 'libvirt': {'release': '29.el6', 'buildtime': 
1385212305L, 'version': '0.10.2'}, 'glusterfs': {'release
 ': '8.el6', 'buildtime': 1375787859L, 'version': '3.4.0'}, 'mom': {'release': 
'3.el6', 'buildtime': 1375215703L, 'version': '0.3.2'}, 'glusterfs-server': 
{'release': '8.el6', 'buildtime': 1375787859L, 'version': '3.4.0'}}, 
'cpuModel': 'Intel(R) Xeon(R) CPU   X5450  @ 3.00GHz', 'hooks': {}, 
'cpuSockets': '2', 'vmTypes': ['kvm'], 'supportedProtocols': ['2.2', '2.3'], 
'networks': {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr': '192.168.128.82', 
'cfg': {'DEFROUTE': 'yes', 'IPADDR': '192.168.128.82', 'GATEWAY': 
'192.168.128.49', 'DELAY': '0', 'NM_CONTROLLED': 'no', 'NETMASK': 
'255.255.255.0', 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'ovirtmgmt', 
'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'ipv6addrs': 
['fe80::21e:c9ff:fe2b:7a5c/64'], 'gateway': '192.168.128.49', 'netmask': 
'255.255.255.0', 'stp': 'off', 'bridged': True, 'qosInbound': '', 
'qosOutbound': '', 'mtu': '1500', 'ipv6gateway': '::', 'ports': ['bond0.128']}, 
'iscsi131': {'iface': 'iscsi131', 'addr': '192.168.131.82', 'cfg
 ': {'DEFROUTE': 'no', 'IPADDR': '192.168.131.82', 'DELAY': '0', 
'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0', 'BOOTPROTO': 'none', 'STP': 
'no', 'DEVICE': 'iscsi131', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'ipv6addrs': 
['fe80::215:17ff:fe9b:eb04/64'], 'gateway': '0.0.0.0', 'netmask': 
'255.255.255.0', 'stp': 'off', 'bridged': True, 'qosInbound': '', 
'qosOutbound': '', 'mtu': '1500', 'ipv6gateway': '::', 'ports': ['bond1.131']}, 
'iscsi130': {'iface': 'iscsi130', 'addr': '192.168.130.82', 'cfg': {'DEFROUTE': 
'no', 'IPADDR': '192.168.130.82', 'DELAY': '0', 'NM_CONTROLLED': 'no', 
'NETMASK': '255.255.255.0', 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 
'iscsi130', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'ipv6addrs': 
['fe80::215:17ff:fe9b:eb04/64'], 'gateway': '0.0.0.0', 'netmask': 
'255.255.255.0', 'stp': 'off', 'bridged': True, 'qosInbound': '', 
'qosOutbound': '', 'mtu': '1500', 'ipv6gateway': '::', 'ports': 
['bond1.130']}}, 'bridges': {'ovirtmgmt': {'addr': '192.168.128.82', 'cfg': {
 'DEFROUTE': 'yes', 'IPADDR': '192.168.128.82', 'GATEWAY': '192.168.128.49', 
'DELAY': '0', 'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0', 'BOOTPROTO': 
'none', 'STP': 'no', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 
'ipv6addrs': ['fe80::21e:c9ff:fe2b:7a5c/64'], 'mtu': '1500', 'netmask': 
'255.255.255.0', 'stp': 'off', 'ipv6gateway': '::', 'gateway': 
'192.168.128.49', 'ports': ['bond0.128']}, 'iscsi131': {'addr': 
'192.168.131.82', 'cfg': {'DEFROUTE': 'no', 'IPADDR': '192.168.131.82', 
'DELAY': '0', 'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0', 'BOOTPROTO': 
'none', 'STP': 'no', 'DEVICE': 'iscsi131', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 
'ipv6addrs': ['fe80::215:17ff:fe9b:eb04/64'], 'mtu': '1500', 'netmask': 
'255.255.255.0', 'stp': 'off', 'ipv6gateway': '::', 'gateway': '0.0.0.0', 
'ports': ['bond1.131']}, 'iscsi130': {'addr': '192.168.130.82', 'cfg': 
{'DEFROUTE': 'no', 'IPADDR': '192.168.130.82', 'DELAY': '0', 'NM_CONTROLLED': 
'no', 'NETMASK': '255.255.255.0'
 , 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'iscsi130', 'TYPE': 'Bridge', 
'ONBOOT': 'yes'}, 'ipv6addrs': ['fe80::215:17ff:fe9b:eb04/64'],
 'mtu': '1500', 'netmask': '255.255.255.0', 'stp': 'off', 'ipv6gateway': '::', 
'gateway': '0.0.0.0', 'ports': ['bond1.130']}}, 'uuid': 
'44454C4C-5300-1038-8034-CAC04F4C4631', 'lastClientIface': '', 'nics': {'p3p1': 
{'netmask': '', 'addr': '', 'hwaddr': '00:15:17:9b:eb:04', 'cfg': {'SLAVE': 
'yes', 'NM_CONTROLLED': 'no', 'MTU': '1500', 'HWADDR': '00:15:17:9b:eb:04', 
'MASTER': 'bond1', 'DEVICE': 'p3p1', 'STP': 'no', 'ONBOOT': 'yes'}, 
'ipv6addrs': [], 'permhwaddr': '00:15:17:9B:EB:04', 'speed': 

[Users] R: Re: How to - gluster

2013-12-16 Thread tristan...@libero.it
yes my idea is to start with 1 node  ( storage+compute ) and then expand with 
more server to add storage and compute.

what do you think ?

Messaggio originale
Da: vbel...@redhat.com
Data: 16/12/2013 8.38
A: tristan...@libero.ittristan...@libero.it, users@ovirt.org
Ogg: Re: [Users] How to - gluster

On 12/15/2013 10:30 PM, tristan...@libero.it wrote:
 i have 1 phisical node with SSD disks, can i install ovirt with glusterFS
 storage as backend  . In a second time add new ovirt node ( same hardware )
 and
 attach to the first 1 to create a compute and storage HA ?



gluster volumes can be expanded from a single brick to multiple bricks 
for providing HA.

Do you plan to use a converged compute and storage cluster?

Regards,
Vijay




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


[Users] gluster - bypass fuse

2013-12-16 Thread tristan...@libero.it
hello,

anyone know the expected fix of this bug ?

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

that permit use bluster w/o fuse overhead ?

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


Re: [Users] Attach nfs domain to gluster dc

2013-12-16 Thread Sergey Gotliv
Juan,

I apologize for discovering this thread with delay. Let me try to explain.

Attach option indeed missing a possibility to configure NFS options such as 
nfsver, retrans and timeo 
which by the way available when creating a new storage domain (see the Advanced 
Parameters section).
I have to check this flow again and see which storage connection we use in 
order to connect this storage to the new data center. If this is a bug we'll 
fix it. 

Now about the default NFS version, we are using version 3 because usually 
customers have a problem to configure NFS server version 4 properly so we allow 
using version 4 as an advanced option.

Now about your problem:

Option 1:
Can you just create another Export Storage Domain from scratch using advanced 
parameters I mentioned above in order to configure the NFS version and then 
just copy the content between these domains manually. 

Option 2:
You can try to create new storage connection with the REST API as explained 
here: http://www.ovirt.org/Features/Manage_Storage_Connections and then try to 
re-attach this storage domain again.
Or we can just update storage_server_connections table manually in your 
database.

I never tried option 2 by myself but it should work. 

Please, feel free to contact me on my direct mail tomorrow sgot...@redhat.com 
and I'll walk you through one of these options and we can check you NFS 
configuration.

Sergey

- Original Message -
 From: Juan Pablo Lorier jplor...@gmail.com
 To: Sander Grendelman san...@grendelman.com
 Cc: users users@ovirt.org
 Sent: Friday, December 13, 2013 1:21:08 PM
 Subject: Re: [Users] Attach nfs domain to gluster dc
 
 Hi Sander,
 
 I'll do the changes to the firewall as you mention. I'm running the
 domain in a host as my engine is in a vm with low disk resources. I
 don't know if there's a way to set up the domain automatically with
 ovirt when it's deployed in a host.
 Regards,
 
 On 13/12/13 06:00, Sander Grendelman wrote:
  On Thu, Dec 12, 2013 at 5:01 PM, Juan Pablo Lorier jplor...@gmail.com
  wrote:
  ...
  # nfs
  -A INPUT -p tcp -m tcp --dport 111   -j ACCEPT
  -A INPUT -p tcp -m tcp --dport 38467 -j ACCEPT
  -A INPUT -p tcp -m tcp --dport 2049  -j ACCEPT
  -A INPUT -p udp -m udp --dport 2049  -j ACCEPT
  -A INPUT -p udp -m udp --dport 41729  -j ACCEPT
  -A INPUT -p tcp -m tcp --dport 48491  -j ACCEPT
  -A INPUT -p udp -m udp --dport 43828  -j ACCEPT
  -A INPUT -p tcp -m tcp --dport 48491  -j ACCEPT
  -A INPUT -p udp -m udp --dport 47492  -j ACCEPT
  -A INPUT -p tcp -m tcp --dport 58837  -j ACCEPT
  The above rules might break after a reboot.
 
  Best practice is to set the normally dynamic nfs ports to fixed
  values in /etc/sysconfig/nfs and then open those ports in the firewall.
 
  Now I'm changing the settings by overriding the defaults in the domain
  and auto negotiating the protocol. This firewall correction may be a
  good thing to add in the deploy.
  Are you doing this on a node or on your engine server?
 
  The engine-setup configured both /etc/sysconfig/nfs and iptables for me
  on my engine server (for the iso domain).
 
 ___
 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: [Users] simple networking? [SOLVED] mostly

2013-12-16 Thread Antoni Segura Puimedon
- Original Message -
 From: Moti Asayag masa...@redhat.com
 To: Antoni Segura Puimedon asegu...@redhat.com
 Cc: users@ovirt.org, Juan Pablo Lorier jplor...@gmail.com
 Sent: Monday, December 16, 2013 8:43:24 PM
 Subject: Re: [Users] simple networking? [SOLVED] mostly
 
 By looking at the output of 'getCapabilities' i noticed vdsm
 didn't report any value for 'lastClientIface': 'lastClientIface': ''
 
 It seems like the first 'getCapabilities' which the engine relies
 on to report the nic for configuring the management network on top
 of is missing.
 
 Toni, any idea in which case it might not be reported ?

Sure, this is fixed now (or at least the behavior was changed). The thing
is that this Caps reports the management_ip as 0.0.0.0, which leads me to
believe that this is probably an all in one setup. The code for getting
lastClientIface used to check for which device had assigned the management_ip,
which doesn't exist in this case.

If we were to use the current code, that tries to route a packet, it would
behave differently. However, it would still leave us out of luck as the device
that would be reported to the engine would be, if this is indeed
an allinone, the loopback device.
 
 
 Thread-20::DEBUG::2013-12-05 14:01:43,531::BindingXMLRPC::981::vds::(wrapper)
 return getCapabilities with {'status': {'message': 'Done', 'code': 0},
 'info': {'HBAInventory': {'iSCSI': [{'InitiatorName':
 'iqn.1994-05.com.redhat:1a6a2adc920'}], 'FC': []}, 'packages2': {'kernel':
 {'release': '358.23.2.el6.x86_64', 'buildtime': 1381955832.0, 'version':
 '2.6.32'}, 'glusterfs-rdma': {'release': '8.el6', 'buildtime': 1375787859L,
 'version': '3.4.0'}, 'glusterfs-fuse': {'release': '8.el6', 'buildtime':
 1375787859L, 'version': '3.4.0'}, 'spice-server': {'release': '6.el6',
 'buildtime': 1385213397L, 'version': '0.12.4'}, 'vdsm': {'release':
 '11.el6', 'buildtime': 1384277438L, 'version': '4.13.0'}, 'qemu-kvm':
 {'release': '2.355.0.1.el6_4.9', 'buildtime': 1380718456L, 'version':
 '0.12.1.2'}, 'qemu-img': {'release': '2.355.0.1.el6_4.9', 'buildtime':
 1380718456L, 'version': '0.12.1.2'}, 'libvirt': {'release': '29.el6',
 'buildtime': 1385212305L, 'version': '0.10.2'}, 'glusterfs': {'release':
 '8.el6', 'buildtime': 1375787859L, 'version': '3.4.0'}, 'mom': {'release':
 '3.el6', 'buildtime': 1375215703L, 'version': '0.3.2'}, 'glusterfs-server':
 {'release': '8.el6', 'buildtime': 1375787859L, 'version': '3.4.0'}},
 'cpuModel': 'Intel(R) Xeon(R) CPU   X5450  @ 3.00GHz', 'hooks': {},
 'cpuSockets': '2', 'vmTypes': ['kvm'], 'supportedProtocols': ['2.2', '2.3'],
 'networks': {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr': '192.168.128.82',
 'cfg': {'DEFROUTE': 'yes', 'IPADDR': '192.168.128.82', 'GATEWAY':
 '192.168.128.49', 'DELAY': '0', 'NM_CONTROLLED': 'no', 'NETMASK':
 '255.255.255.0', 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'ovirtmgmt',
 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'ipv6addrs':
 ['fe80::21e:c9ff:fe2b:7a5c/64'], 'gateway': '192.168.128.49', 'netmask':
 '255.255.255.0', 'stp': 'off', 'bridged': True, 'qosInbound': '',
 'qosOutbound': '', 'mtu': '1500', 'ipv6gateway': '::', 'ports':
 ['bond0.128']}, 'iscsi131': {'iface': 'iscsi131', 'addr': '192.168.131.82',
 'cfg': {'DEFROUTE': 'no', 'IPADDR': '192.168.131.82', 'DELAY': '0',
 'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0', 'BOOTPROTO': 'none',
 'STP': 'no', 'DEVICE': 'iscsi131', 'TYPE': 'Bridge', 'ONBOOT': 'yes'},
 'ipv6addrs': ['fe80::215:17ff:fe9b:eb04/64'], 'gateway': '0.0.0.0',
 'netmask': '255.255.255.0', 'stp': 'off', 'bridged': True, 'qosInbound': '',
 'qosOutbound': '', 'mtu': '1500', 'ipv6gateway': '::', 'ports':
 ['bond1.131']}, 'iscsi130': {'iface': 'iscsi130', 'addr': '192.168.130.82',
 'cfg': {'DEFROUTE': 'no', 'IPADDR': '192.168.130.82', 'DELAY': '0',
 'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0', 'BOOTPROTO': 'none',
 'STP': 'no', 'DEVICE': 'iscsi130', 'TYPE': 'Bridge', 'ONBOOT': 'yes'},
 'ipv6addrs': ['fe80::215:17ff:fe9b:eb04/64'], 'gateway': '0.0.0.0',
 'netmask': '255.255.255.0', 'stp': 'off', 'bridged': True, 'qosInbound': '',
 'qosOutbound': '', 'mtu': '1500', 'ipv6gateway': '::', 'ports':
 ['bond1.130']}}, 'bridges': {'ovirtmgmt': {'addr': '192.168.128.82', 'cfg':
 {'DEFROUTE': 'yes', 'IPADDR': '192.168.128.82', 'GATEWAY': '192.168.128.49',
 'DELAY': '0', 'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0',
 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge',
 'ONBOOT': 'yes'}, 'ipv6addrs': ['fe80::21e:c9ff:fe2b:7a5c/64'], 'mtu':
 '1500', 'netmask': '255.255.255.0', 'stp': 'off', 'ipv6gateway': '::',
 'gateway': '192.168.128.49', 'ports': ['bond0.128']}, 'iscsi131': {'addr':
 '192.168.131.82', 'cfg': {'DEFROUTE': 'no', 'IPADDR': '192.168.131.82',
 'DELAY': '0', 'NM_CONTROLLED': 'no', 'NETMASK': '255.255.255.0',
 'BOOTPROTO': 'none', 'STP': 'no', 'DEVICE': 'iscsi131', 'TYPE': 'Bridge',
 'ONBOOT': 'yes'}, 'ipv6addrs': ['fe80::215:17ff:fe9b:eb04/64'], 'mtu':
 '1500', 'netmask': '255.255.255.0', 'stp': 'off', 

Re: [Users] [Spice-devel] Spice Proxy seems to try connect to host and not defined proxy

2013-12-16 Thread Gianluca Cecchi
On Mon, Dec 16, 2013 at 4:36 PM, Tomas Jelinek  wrote:

  But for sure I tested with an updated Fedora 19 client and if I'm not
  wrong also with a Fedora 20 beta
  And none of them worked...


OK... my expression for sure was not the reality ;-)

The problem was that I didn't report correctly the clients used (f19
and f20 were actually used for another test).
I had used CentOS 5.10 and CentOS 6.4 in my first tests, so as
Marc-Andre' clarified, they are not able to connect.
I have just tried now with a Fedora 20 with firefox and it was able to
use proxy both with native client and plugin.
Tried also with Fedora 19 and Chrome and was able to use proxy too
In its generated .vv fie I correctly see these lines:
host=10.4.4.58 (one of the two hypervisors)
proxy=http://10.4.4.63:3128 (my setup proxy)

Sorry for my confusion, but at least I learnt that there are indeed
client dependencies...

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


Re: [Users] Centos 6.5 host configuration script -- a tale begun

2013-12-16 Thread Ted Miller

On 12/13/2013 2:59 AM, Sven Kieske wrote:

Hi,

first, thanks for this script!
I'll have to setup some CentOS 6.5 machines too, maybe it will help.
Here are some questions/improvements from me:

There's no need to use localinstall anymore, install is fine with
yum :-)

Then you install virt-manager, for what purpose, may I ask?
I also never needed to manually create the ovirt-management bridge
has this behaviour changed in recent vdsm/CentOS Release?


Am 13.12.2013 05:48, schrieb Ted Miller:


# script to prepare Centos 6.5 for ovirt host install process

echo =  Ted's personal preferences--early 


yum -y install nano deltarpm yum-plugin-priorities yum-presto mlocate

echo === end of Ted's personal preferences--early 


yum -y upgrade

echo install some repos (if not already 
done)..
cd /etc/yum.repos.d
if [ ! -f glusterfs-epel.repo ] ; then
   echo ..installing gluster repo...
   yum -y install wget
   wget 
http://download.gluster.org/pub/gluster/glusterfs/LATEST/EPEL.repo/glusterfs-epel.repo
   echo ..done installing gluster repo..
fi

if [ ! -f el6-ovirt.repo ] ; then
   echo ..installing ovirt repo...
   yum -y localinstall http://ovirt.org/releases/ovirt-release-el.noarch.rpm
   echo ..done installing ovirt repo..
fi

if [ ! -f epel.repo ] ; then
   echo ..installing epel repo...
   yum -y localinstall 
http://mirror.us.leaseweb.net/epel/6/i386/epel-release-6-8.noarch.rpm
   echo ..done installing epel repo..
fi


echo install libvirt
 yum -y install libvirt qemu-kvm tuned
echo install virt-manager # with unlisted dependencies
yum -y install virt-manager xorg-x11-xauth dejavu-lgc-sans-mono-fonts

# create the ovirtmgmt bridge
if [ ! -f /etc/sysconfig/network-scripts/ifcfg-ovirtmgmt ]; then
echo creating ovirtmgmt 
bridge..
service libvirtd start
service libvirtd status
virsh net-destroy default
virsh net-undefine default
virsh iface-bridge eth0 ovirtmgmt
service network restart
service libvirtd stop
service libvirtd status
fi

echo .copy tuned profile...
# copy virtual-host -- rhs-virtualization so ovirt is happy
cp -r /etc/tune-profiles/virtual-host /etc/tune-profiles/rhs-virtualization

yum -y install vdsm

echo =  Ted's personal preferences--late 
=

#add lines to send messages to TTY12
cat /etc/rsyslog.conf | grep tty12
if [ ! $? -eq 0 ] ; then
echo ...Adding for tty12
echo/etc/rsyslog.conf
echo # Log everything to tty12   /etc/rsyslog.conf
echo *.* /dev/tty12  /etc/rsyslog.conf
service rsyslog restart
fi

echo ...install gkrellm..
yum -y install gkrellm

#add poll=0 to kill noveau messages
cat /boot/grub/grub.conf | grep poll=0
if [ ! $? -eq 0 ] ; then
echo Adding poll=0..
sed -i '/^[ \t]kernel*/ s/$/ drm-kms-helper.poll=0/g' /boot/grub/grub.conf
fi

I followed your instructions (and similar suggestions by others).  I was 
installing the host only, so commented out everything in my file except 
install EPEL and ovirt repos.  I'm not interested in hearing about what 
should happen, or what happened on 6.4. These are the (unfixed) problems 
with 6.5, and they are real.


INSTALL FAILED with message:

Failed to install Host office4a. Yum [u'glusterfs-server-3.4.0-8.el6.x86_64 
requires glusterfs-libs = 3.4.0-8.el6', u'glusterfs-server-3.4.0-8.el6.x86_64 
requires glusterfs = 3.4.0-8.el6', u'glusterfs-server-3.4.0-8.el6.x86_64 
requires glusterfs-fuse = 3.4.0-8.el6', u'glusterfs-cli-3.4.0-8.el6.x86_64 
requires glusterfs-libs = 3.4.0-8.el6'].


# yum list gluster
base: mirror.oss.ou.edu
epel: mirrors.servercentral.net
extras: mirror.dattobackup.com
updates: centos.sonn.com
Available Packages
glusterfs.x86_64  3.4.0.36rhs-1.el6 base
glusterfs-api.x86_64  3.4.0.36rhs-1.el6 base
glusterfs-api-devel.x86_643.4.0.36rhs-1.el6 base
glusterfs-cli.x86_64  3.4.0-8.el6   glusterfs-epel
glusterfs-debuginfo.x86_643.4.0-8.el6   glusterfs-epel
glusterfs-devel.x86_643.4.0.36rhs-1.el6 base
glusterfs-fuse.x86_64 3.4.0.36rhs-1.el6 base
glusterfs-geo-replication.x86_64  3.4.0-8.el6   glusterfs-epel
glusterfs-libs.x86_64 3.4.0.36rhs-1.el6 base
glusterfs-rdma.x86_64 3.4.0.36rhs-1.el6 base
glusterfs-resource-agents.noarch  3.4.0-8.el6   glusterfs-noarch-epel
glusterfs-server.x86_64   3.4.0-8.el6   glusterfs-epel
glusterfs-ufo.noarch  

Re: [Users] Solaris 11.1 ISO panic on boot

2013-12-16 Thread Blaster

On Dec 16, 2013, at 4:47 AM, René Koch r.k...@ovido.at wrote:
 
 I suggest to use the following settings for your Solaris guest:
 * Operating System: Other
 * nic1: rtl8139
 * Disk1: IDE
 
 Booting from the DVD ISO works fine for Sol 10 and 11 with these settings.

I just tried that, with booting both the Solaris 11.1 txt installer and the 
11.1 Live media ISOs.  Can you try one of those in on your system and see if 
they boot?

I wonder if something changed with 11.1?

I think someone mentioned trying to boot with Virt Manager..Is it OK to mix 
virtmanager and ovirt guests on the same system? 



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


Re: [Users] Solaris 11.1 ISO panic on boot

2013-12-16 Thread Itamar Heim

On 12/16/2013 05:47 AM, René Koch wrote:

Hi,

-Original message-

From:Sander Grendelman san...@grendelman.com
Sent: Monday 16th December 2013 11:00
To: Joop jvdw...@xs4all.nl
Cc: users@ovirt.org
Subject: Re: [Users] Solaris 11.1 ISO panic on boot

There's also a thread about Solaris 11 here:
http://lists.ovirt.org/pipermail/users/2013-September/016168.html

On Mon, Dec 16, 2013 at 10:35 AM, Joop jvdw...@xs4all.nl wrote:

Blaster wrote:


I have a Solaris 11.1 system running on a nice piece of hardware that I’d
like to make better use of.  I would like to virtualize it under ovirt.

I created an ovirt guest using the RHEL 64 bit template.  I attached the
Solaris 11.1 ISO and booted.  As soon as the Solaris banner is displayed,
poof, kernel panic.


I suggest to use the following settings for your Solaris guest:
* Operating System: Other
* nic1: rtl8139
* Disk1: IDE

Booting from the DVD ISO works fine for Sol 10 and 11 with these settings.



Of course every whizzes by so fast I have no chance of getting a screen
shot.

Has anyone been successful in boot Solaris 11.1 under ovirt?  Should I
have picked a different template?


In my oVirt setup (3.3 now, but worked on 3.2, too) there are Solaris 10 and 11 
vms running.
See the specs above.

I had some issues with network traffic, which can be solved with a host hook 
(99_fix_solaris):
https://github.com/ovido/ovirt-stuff/tree/master/hooks

Please let me know if this fixes your issues...


Regards,
René


René - maybe a patch to add solaris to osinfo config file with these 
limitations (hmm, it would still need the hook, which is a shame[1])
Joop - just a btw - not sure why you start from a rhel64 template, 
rather than start from blank + add disk, then boot from iso.
(since there is no benefit to either doing COW of solaris over the 
rhel64 template, nor to cloning it)


[1] michal/roy - thoughts about allowing to specify at osinfo level 
extra flags or override the cpu model altogether (iirc, windows guest 
would need this as well for new windows specific flags going forward).












I did a search through my message folder and found the thread. It was about
solaris10 and networking didn't work. So maybe this is different or not.
Could you test if the same iso can be booted using virt-manager or kvm/qemu
directly?

Joop


___
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



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