Re: [Users] Help on an almost migrated ovirt-engine

2013-01-22 Thread Juan Hernandez

On 01/22/2013 02:48 AM, Adrian Gibanel wrote:

I need to migrate an ovirt-engine from an All-In-One (AIO) setup to a dedicated 
machine.

So with an old mailing message I've tried to do it but not finished yet, that's 
why I ask for help.

I've written a wiki page for the experience so that it becomes a howto which 
can be found here:

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

At the last step the one that finally starts ovirt-engine I've decided to ask 
help here just in case I was missing something important.

So here are my doubts.

* Original message that inspired the howto is here: 
http://www.mail-archive.com/users@ovirt.org/msg00670.html
* What packages should I delete safely from an AIO setup so that it's just an 
hypervisor once I've migrate the ovirt-engine part?


All the ovirt-engine-* packages can be safely deleted, they are not used 
by hypervisors.


There are a lot of other packages that can be removed that are 
dependencies of ovirt-engine, like httpd, jboss-as and 
java-1.7.0-openjdk, and many of the dependencies that they bring, so a 
good way to start that cleanup is this:


  yum remove 'ovirt-engine-*' 'httpd' 'java-1.7.0-openjdk' 'jboss-as'

That will remove more than 300 packages, as it will transitively include 
all the Java packages. If you want to do further cleanups you can take a 
look at the package-cleanup tool, but be careful or you may end up 
with an useless system.



* Is the right way the one I've used to recreate the database?
   ** Origin
   pg_dump -U postgres engine | gzip  engine_db.gz
   ** Destination
   pg_dump -U postgres -s -f tempdb.dump engine
   dropdb -U postgres engine
   createdb -U postgres engine
   zcat engine_db.gz | psql -U postgres engine


The default installation of ovirt-engine creates the engine database 
owned by the engine user, but you are creating it owned by postgres 
instead. I think this won't break anything, but if you want to create it 
exactly the same you can use the -O option of createdb:


  createdb -U postgres -O engine engine



* Let's read: http://www.mail-archive.com/users@ovirt.org/msg00682.html : WRT 
certificates, note that hostname should nt change, or SSL will be invalidated.
Did he mean the SSL when you connect via http or https to the manager which 
currently doesn't bother me?
Or maybe the SSL to connect to other hosts and communicate to vdsm (sorry 
if I'm saying something nonsense. I don't understand oVirt architecture 
completely) which bothers me?
* Certificates is: /etc/pki/ovirt-engine ? Something more?


There is some information on how to change certificates here:

http://lists.ovirt.org/pipermail/users/2012-October/004167.html

It is not trivial, so better if you don't change the host name.


* Conf is: /etc/ovirt-engine ? Something more?


Yes, /etc/sysconfig/ovirt-engine, but you should be able to use the one 
generated during your new installation. The only difference will be the 
database password.


--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 
3ºD, 28016 Madrid, Spain

Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Flush old logs

2013-01-22 Thread Nicolas Ecarnot

Hi Eli,

Le 22/01/2013 00:13, Eli Mesika a écrit :

From: Nicolas Ecarnot nico...@ecarnot.net To: users@ovirt.org
Here's a simple question : In the Alerts message queue at the
bottom of the screen, I see an error message dating from two weeks
(about the failure to verify to restart status of a host). I'm
pretty sure this shouldn't be there anymore, as the power
management of this host has already been tested and approved many
times since.


Hi Nicolas The Alert should be deleted from the Alert View once you
had succeeded to configure  test it successfully If you only
configure it without testing or test failed, only the Alert saying
that PM is not configured for the Host will be deleted. The message
you had noted  failure to verify to restart status of a host is not
the exact one, can you give please the exact message?


Failed to verify Host x Restart status, Please Restart Host x 
manually.


The tests I did on power management, either via the test button, or via 
some actions, including power up, reboot, are all reacting well.


I'm close to think there is actually NO problem, except this old log msg.


I haven't find any trivial way to flush this message queue, and I
was wondering whether it was stored in a database?


Yes, it is stored in the database.


Is there a way to clear these error messages? (Am I right with the
db location?)


The table holding all those messages is called audit_log, deleting
from this table manually is not recommended. The table has also a
auto-clean mechanism controlled by the AuditLogAgingThreashold
configuration value that is set by default to 30 days. this value may
be modified using the engine-config tool (requires restart of the
engine to take place)


Ok, so either I wait 15 more days for this msg to disapear, either I 
find the adequate config command line to shorten it, and restart.


Ok, this is enough for me. Thank you for your explanation.

Regards,

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


[Users] custom nfs mount options

2013-01-22 Thread Alex Leonhardt
Hi,

Is it possible set custom nfs mount options, specifically : noatime, wsize
and rsize ? I couldnt see anything when adding a NFS domain - only
timeout  retry.

Thanks!
Alex


-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Help on an almost migrated ovirt-engine

2013-01-22 Thread Adrian Gibanel
- Mensaje original - 

 De: Juan Hernandez jhern...@redhat.com
 Para: Adrian Gibanel adrian.giba...@btactic.com
 CC: users users@ovirt.org
 Enviados: Martes, 22 de Enero 2013 9:40:29
 Asunto: Re: [Users] Help on an almost migrated ovirt-engine

 On 01/22/2013 02:48 AM, Adrian Gibanel wrote:
  I need to migrate an ovirt-engine from an All-In-One (AIO) setup to
  a dedicated machine.
 
  So with an old mailing message I've tried to do it but not finished
  yet, that's why I ask for help.
 
  I've written a wiki page for the experience so that it becomes a
  howto which can be found here:
 
  http://www.ovirt.org/User:Adrian15/oVirt_engine_migration
 
  At the last step the one that finally starts ovirt-engine I've
  decided to ask help here just in case I was missing something
  important.
 
  So here are my doubts.
 
  * Original message that inspired the howto is here:
  http://www.mail-archive.com/users@ovirt.org/msg00670.html
  * What packages should I delete safely from an AIO setup so that
  it's just an hypervisor once I've migrate the ovirt-engine part?

 yum remove 'ovirt-engine-*' 'httpd' 'java-1.7.0-openjdk' 'jboss-as'

I've updated the howto. Thank you!

  * Is the right way the one I've used to recreate the database?
  ** Origin
  pg_dump -U postgres engine | gzip  engine_db.gz
  ** Destination
  pg_dump -U postgres -s -f tempdb.dump engine
  dropdb -U postgres engine
  createdb -U postgres engine
  zcat engine_db.gz | psql -U postgres engine

 I think this won't break anything, but if you want to create
 it
 exactly the same you can use the -O option of createdb:

 createdb -U postgres -O engine engine

I've finally come with:

* Origin:
pg_dump -U postgres engine | gzip  engine_db.gz
* Destination:
dropdb -U postgres engine
createdb -U postgres -O engine engine
zcat engine_db.gz | psql -U postgres engine

The last command was run finally with postgres user because using engine user I 
had these warnings:

WARNING:  no privileges could be revoked for public
REVOKE
WARNING:  no privileges could be revoked for public
REVOKE
WARNING:  no privileges were granted for public
GRANT
WARNING:  no privileges were granted for public
GRANT

  * Let's read:
  http://www.mail-archive.com/users@ovirt.org/msg00682.html : WRT
  certificates, note that hostname should nt change, or SSL will be
  invalidated.
  Did he mean the SSL when you connect via http or https to the
  manager which currently doesn't bother me?
  Or maybe the SSL to connect to other hosts and communicate to vdsm
  (sorry if I'm saying something nonsense. I don't understand oVirt
  architecture completely) which bothers me?
  * Certificates is: /etc/pki/ovirt-engine ? Something more?

 There is some information on how to change certificates here:

 http://lists.ovirt.org/pipermail/users/2012-October/004167.html

 It is not trivial, so better if you don't change the host name.

Can you please ellaborate why I should make sure that all these certificates 
know about the new host name?
If this was a plain ssh key it would just work by copying and pasting its 
private key file. That's why my doubts.
I don't mind if https at the browser complains about having one certificate for 
one domain and being another one.

Maybe communication with vdsm on hypervisors will not work at all?

  * Conf is: /etc/ovirt-engine ? Something more?

 Yes, /etc/sysconfig/ovirt-engine, but you should be able to use the
 one
 generated during your new installation. The only difference will be
 the
 database password.
Ok. I'll check that later. I understand that if no difference is found apart 
from the database password then no need to modify it in the destination.

Thank you!

-- 

-- 
Adrián Gibanel 
I.T. Manager 

+34 675 683 301 
www.btactic.com 



Ens podeu seguir a/Nos podeis seguir en: 

i 


Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és 
cosa de tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El 
medio ambiente es cosa de todos. 

AVIS: 
El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou 
el destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o 
copiar-lo sense tenir l'autorització corresponent. Si heu rebut aquest missatge 
per error, us agrairem que ho feu saber immediatament al remitent i que 
procediu a destruir el missatge . 

AVISO: 
El contenido de este mensaje y de sus anexos es confidencial. Si no es el 
destinatario, les hacemos saber que está prohibido utilizarlo, divulgarlo y/o 
copiarlo sin tener la autorización correspondiente. Si han recibido este 
mensaje por error, les agradeceríamos que lo hagan saber inmediatamente al 
remitente y que procedan a destruir el mensaje . 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Help on an almost migrated ovirt-engine

2013-01-22 Thread Gianluca Cecchi
On Tue, Jan 22, 2013 at 10:47 AM, Adrian Gibanel wrote:
 I've finally come with:

 * Origin:
 pg_dump -U postgres engine | gzip  engine_db.gz
 * Destination:
 dropdb -U postgres engine
 createdb -U postgres -O engine engine
 zcat engine_db.gz | psql -U postgres engine

In another thread regarding all-in-one db problems I had (around
29/12/12), Doron came to tell

Backup to a file called mybackup may be created by:
- cd to /usr/share/ovirt-engine/dbscripts
- ./backup.sh -u postgres -f mybackup

..

Just in case you ever wish to use the backupfile, us this procedure:
- cd to /usr/share/ovirt-engine/dbscripts
- ./restore.sh -u postgres -f mybackup -r

and I successfully tested it on the same host.
I think it could be done the same with the second part on the new host...

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


Re: [Users] host deploy and after reboot not responsive

2013-01-22 Thread Gianluca Cecchi
On Sat, Jan 19, 2013 at 8:26 PM, Dan Kenigsberg  wrote:
 It might be it - but there must be more clues in the logs. I'd like to
 see both vdsm.log and /var/log/message of boottime. journalctl may have
 stories to tell, too.

In the mean time here
messages
https://docs.google.com/file/d/0BwoPbcrMv8mvNHpPREZGMnhYSzg/edit

vdsm.log
https://docs.google.com/file/d/0BwoPbcrMv8mvQ0k0aEJ5cWtXeTA/edit

The are related at boot on 16/01 at 01:04 am

In the afternoon I should be able to make the nt changes you requested.

journalctl was rotated. any command to let journalctl take another log
file if present?

it says now:
-- Logs begin at Wed, 2013-01-16 14:39:23 CET, end at Tue, 2013-01-22
12:52:05 CET. --

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


Re: [Users] Help on an almost migrated ovirt-engine

2013-01-22 Thread Adrian Gibanel
I've updated the howto with your instructions. I prefer the most standard oVirt 
instructions. If there are backup and restore scripts it's because of there's a 
good reason. 

In my oVirt 3.1 installation backup.sh didn't seem to have an -f option so I've 
done it just with the default filename. 
I've also made a reference to oVirt 3.2 -f option. 

Thank you! 
- Mensaje original -

 De: Gianluca Cecchi gianluca.cec...@gmail.com
 Para: Adrian Gibanel adrian.giba...@btactic.com
 CC: users users@ovirt.org
 Enviados: Martes, 22 de Enero 2013 11:03:49
 Asunto: Re: [Users] Help on an almost migrated ovirt-engine

 On Tue, Jan 22, 2013 at 10:47 AM, Adrian Gibanel wrote:
  I've finally come with:

 In another thread regarding all-in-one db problems I had (around
 29/12/12), Doron came to tell

 Backup to a file called mybackup may be created by:
 - cd to /usr/share/ovirt-engine/dbscripts
 - ./backup.sh -u postgres -f mybackup

 ..

 Just in case you ever wish to use the backupfile, us this procedure:
 - cd to /usr/share/ovirt-engine/dbscripts
 - ./restore.sh -u postgres -f mybackup -r

 and I successfully tested it on the same host.
 I think it could be done the same with the second part on the new
 host...

 Gianluca

-- 

Adrián Gibanel 
I.T. Manager 

+34 675 683 301 
www.btactic.com 

Ens podeu seguir a/Nos podeis seguir en: 

i 

Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és 
cosa de tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El 
medio ambiente es cosa de todos. 

AVIS: 
El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou 
el destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o 
copiar-lo sense tenir l'autorització corresponent. Si heu rebut aquest missatge 
per error, us agrairem que ho feu saber immediatament al remitent i que 
procediu a destruir el missatge . 

AVISO: 
El contenido de este mensaje y de sus anexos es confidencial. Si no es el 
destinatario, les hacemos saber que está prohibido utilizarlo, divulgarlo y/o 
copiarlo sin tener la autorización correspondiente. Si han recibido este 
mensaje por error, les agradeceríamos que lo hagan saber inmediatamente al 
remitente y que procedan a destruir el mensaje . 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] FC on ovirt-node with brocade : port never up

2013-01-22 Thread Kevin Maziere Aubry
Hi all

I have a strange behaviour between my ovirt node and my FC switch.

All material are brocade.

Ovirt node release : oVirt Node Hypervisor release 2.5.5 (0.1.fc17)

The thing is that the node doesn't detect the FC port, it detect the FC
card only.
On 10 clone hosts, 2 have detected the link, all others fails.
And for these 2 hosts I've rebooted them many time before it works.
Because there is only the BFA driver include, I can't debug anything, or
update
Does anyone have a feedback on that ?

Kevin
-- 

Kevin Mazière
Responsable Infrastructure
Alter Way – Hosting
 1 rue Royal - 227 Bureaux de la Colline
92213 Saint-Cloud Cedex
Tél : +33 (0)1 41 16 38 41
Mob : +33 (0)7 62 55 57 05
 http://www.alterway.fr
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] setupNetworks failure - Host non-operational

2013-01-22 Thread Deepak C Shetty

Hi All,
I have a multi-VM setup, where I have ovirt engine on one VM and 
VDSM host on another.
Discovering the host from the engine puts the host in Unassigned state, 
with the error saying 'ovirtmgmt' network not found.


When i select setupNetworks and drag-drop the ovirtmgmt to setup over 
eth0, i see the below error in VDSM  host goes to non-operataional state.


I tried the steps mentioned by Alon in 
http://lists.ovirt.org/pipermail/users/2012-December/011257.html

but still see the same error

= dump from vdsm.log 

MainProcess|Thread-23::ERROR::2013-01-22 
18:25:53,496::configNetwork::1438::setupNetworks::(setupNetworks) 
Requested operation is not valid: cannot set autostart for transient network

Traceback (most recent call last):
  File /usr/share/vdsm/configNetwork.py, line 1420, in setupNetworks
implicitBonding=True, **d)
  File /usr/share/vdsm/configNetwork.py, line 1030, in addNetwork
configWriter.createLibvirtNetwork(network, bridged, iface)
  File /usr/share/vdsm/configNetwork.py, line 208, in 
createLibvirtNetwork

self._createNetwork(netXml)
  File /usr/share/vdsm/configNetwork.py, line 192, in _createNetwork
net.setAutostart(1)
  File /usr/lib64/python2.7/site-packages/libvirt.py, line 2148, in 
setAutostart
if ret == -1: raise libvirtError ('virNetworkSetAutostart() 
failed', net=self)
libvirtError: Requested operation is not valid: cannot set autostart for 
transient network
MainProcess|Thread-23::ERROR::2013-01-22 
18:25:53,502::supervdsmServer::77::SuperVdsm.ServerCallback::(wrapper) 
Error in setupNetworks

Traceback (most recent call last):
  File /usr/share/vdsm/supervdsmServer.py, line 75, in wrapper
return func(*args, **kwargs)
  File /usr/share/vdsm/supervdsmServer.py, line 170, in setupNetworks
return configNetwork.setupNetworks(networks, bondings, **options)
  File /usr/share/vdsm/configNetwork.py, line 1420, in setupNetworks
implicitBonding=True, **d)
  File /usr/share/vdsm/configNetwork.py, line 1030, in addNetwork
configWriter.createLibvirtNetwork(network, bridged, iface)
  File /usr/share/vdsm/configNetwork.py, line 208, in 
createLibvirtNetwork

self._createNetwork(netXml)
  File /usr/share/vdsm/configNetwork.py, line 192, in _createNetwork
net.setAutostart(1)
  File /usr/lib64/python2.7/site-packages/libvirt.py, line 2148, in 
setAutostart
if ret == -1: raise libvirtError ('virNetworkSetAutostart() 
failed', net=self)
libvirtError: Requested operation is not valid: cannot set autostart for 
transient network



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


Re: [Users] oVirt node install hanging on admin login prompt

2013-01-22 Thread Jorick Astrego

On 01/21/2013 11:23 PM, Jeff Bailey wrote:


On 1/21/2013 10:52 AM, Mike Burns wrote:

On Tue, 2013-01-15 at 17:20 -0500, Jeff Bailey wrote:

On 1/15/2013 3:31 AM, Nicolas Ecarnot wrote:

Le 14/01/2013 22:24, Jeff Bailey a écrit :

On 1/14/2013 9:08 AM, Nicolas Ecarnot wrote:

Hi,

I'm trying to install oVirt node 2.5.5-0.1.fc17 and it is node going
well. I'm trying to install it on a Dell blade M610 via a iDrac, and
I'm quit accustomed to this kind of thing.

- As I already had the issue of the label on the grub boot line, I
knew how to specify /dev/sr0 or sr1 on the linux line. Well.
- The install is ok with discovering my hard drive, and the
installation seems to be fine. After rebooting, the bott process is
leading me to the login prompt where the documentation tells me 
to log

as 'admin' with the correct password :

The keyboard is not responding, I can not even type the user name.
Try adding usbcore.autosuspend=-1 to the kernel command line. I've 
had

problems with iDRAC 7 virtual consoles with both Fedora 17 and 18 and
this fixes it.  I don't know about iDRAC 6 but trying it couldn't 
hurt
:)  Getting the machine to always boot with that option could be a 
bit

tricky with Node.  I'm not sure if you'll just be able to edit the
grub.conf and persist it or not.

Thank you very much, Jeff, this did the trick !

You're welcome!  I know that suddenly losing console access to your
blades can be a bit distressing :)


And better than that : adding it on the first use in the kernel line
leads it to be permanently added in the grub conf even after a reboot.

That's very nice to know.  I was afraid it would be tricky with Node 
but

I guess it isn't.


Nice !


Thanks for the update on this!  Out of curiosity, was the need for
usbcore.autosuspend=-1 the result of some sort of bug? or is there a bug
filed for tracking the issue?  If it's something that is going to be
needed long term, I'll consider adding it to the default kernel
arguments for ovirt-node.


After a *very* brief search I found 
https://bugzilla.redhat.com/show_bug.cgi?id=850785 which isn't 
terribly helpful.  It does accurately describe the situation but it 
doesn't seem to be getting much attention (all comments are from a 
single day). 


 I've had this problem in the past with the Supermicro IPMI, I never 
filed a bugreport though:

Date: Fri, 19 Oct 2012 14:26:37 +0200
From: Jorick Astregojor...@netbulae.com
Cc:users@ovirt.org
Subject: Re: [Users] Limit swap space on ovirt node install
Message-ID:508146fd.3080...@netbulae.com
Content-Type: text/plain; charset=UTF-8; format=flowed

Hi,

Finally I found the problem but I still don't understand it.

The problem appears to be that I install using the Supermicro IPMI with
local cdrom.

Installation goes well but after that I am unable to login remotely and
get the error systemd-readahead-collect[500]: Failed to open pack file:
Read-only file system. The system appears to hang.

When I hook up a screen and keyboard I can login normally and everything
works fine, this is very strange and annoying as I now need to install
every node in the datacenter.
I also tried logging in after startup but when I check the IPMI, I only
get a black screen.

Now I started using cobbler for using PXE boot with latest nightly
release, but I still have to install and configure the node. How can I
push the installation automatically so I can install unattended?

Any ideas?


Kind regards,

Jorick Astrego



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


Re: [Users] setupNetworks failure - Host non-operational

2013-01-22 Thread Alex Leonhardt
I'm not sure whether it's the same, but in the past (with v3.1) when
configuring the hosts network, it changed it automatically from static -
dhcp, everytime i change network settings i have to ensure to re-tick the
static address assignment and tick the box to save the settings (scrolling
down) ... hope it helps ..

alex



On 22 January 2013 12:56, Deepak C Shetty deepa...@linux.vnet.ibm.comwrote:

 Hi All,
 I have a multi-VM setup, where I have ovirt engine on one VM and VDSM
 host on another.
 Discovering the host from the engine puts the host in Unassigned state,
 with the error saying 'ovirtmgmt' network not found.

 When i select setupNetworks and drag-drop the ovirtmgmt to setup over
 eth0, i see the below error in VDSM  host goes to non-operataional state.

 I tried the steps mentioned by Alon in http://lists.ovirt.org/**
 pipermail/users/2012-December/**011257.htmlhttp://lists.ovirt.org/pipermail/users/2012-December/011257.html
 but still see the same error

 = dump from vdsm.log 

 MainProcess|Thread-23::ERROR::**2013-01-22 18:25:53,496::configNetwork::**
 1438::setupNetworks::(**setupNetworks) Requested operation is not valid:
 cannot set autostart for transient network
 Traceback (most recent call last):
   File /usr/share/vdsm/**configNetwork.py, line 1420, in setupNetworks
 implicitBonding=True, **d)
   File /usr/share/vdsm/**configNetwork.py, line 1030, in addNetwork
 configWriter.**createLibvirtNetwork(network, bridged, iface)
   File /usr/share/vdsm/**configNetwork.py, line 208, in
 createLibvirtNetwork
 self._createNetwork(netXml)
   File /usr/share/vdsm/**configNetwork.py, line 192, in _createNetwork
 net.setAutostart(1)
   File /usr/lib64/python2.7/site-**packages/libvirt.py, line 2148, in
 setAutostart
 if ret == -1: raise libvirtError ('virNetworkSetAutostart() failed',
 net=self)
 libvirtError: Requested operation is not valid: cannot set autostart for
 transient network
 MainProcess|Thread-23::ERROR::**2013-01-22 18:25:53,502::supervdsmServer:*
 *:77::SuperVdsm.ServerCallback:**:(wrapper) Error in setupNetworks
 Traceback (most recent call last):
   File /usr/share/vdsm/**supervdsmServer.py, line 75, in wrapper
 return func(*args, **kwargs)
   File /usr/share/vdsm/**supervdsmServer.py, line 170, in setupNetworks
 return configNetwork.setupNetworks(**networks, bondings, **options)
   File /usr/share/vdsm/**configNetwork.py, line 1420, in setupNetworks
 implicitBonding=True, **d)
   File /usr/share/vdsm/**configNetwork.py, line 1030, in addNetwork
 configWriter.**createLibvirtNetwork(network, bridged, iface)
   File /usr/share/vdsm/**configNetwork.py, line 208, in
 createLibvirtNetwork
 self._createNetwork(netXml)
   File /usr/share/vdsm/**configNetwork.py, line 192, in _createNetwork
 net.setAutostart(1)
   File /usr/lib64/python2.7/site-**packages/libvirt.py, line 2148, in
 setAutostart
 if ret == -1: raise libvirtError ('virNetworkSetAutostart() failed',
 net=self)
 libvirtError: Requested operation is not valid: cannot set autostart for
 transient network


 __**_
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/**mailman/listinfo/usershttp://lists.ovirt.org/mailman/listinfo/users




-- 

| RHCE | Senior Systems Engineer | www.vcore.co | www.vsearchcloud.com |
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] error while building oVirt-engine

2013-01-22 Thread Arindam Choudhury
Hi,

I am following http://www.ovirt.org/Building_oVirt_engine tutorial to build
oVirt-engine from source. when i do:

$ mvn clean install -e

[INFO]

[INFO]

[INFO] Building Extensions for GWT 3.2.0
[INFO]

[WARNING] The POM for org.ovirt.engine.ui:genericapi:jar:3.2.0 is missing,
no dependency information available
[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] oVirt Modules - ui  SUCCESS [0.013s]
[INFO] Extensions for GWT  FAILURE [0.014s]
[INFO] UI Utils Compatibility (for UICommon) . SKIPPED
[INFO]

[ERROR] Failed to execute goal on project gwt-extension: Could not resolve
dependencies for project org.ovirt.engine.ui:gwt-extension:jar:3.2.0:
Failure to find org.ovirt.engine.ui:genericapi:jar:3.2.0 in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced - [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal on project gwt-extension: Could not resolve dependencies for project
org.ovirt.engine.ui:gwt-extension:jar:3.2.0: Failure to find
org.ovirt.engine.ui:genericapi:jar:3.2.0 in
http://repo1.maven.org/maven2was cached in the local repository,
resolution will not be reattempted
until the update interval of central has elapsed or updates are forced
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:158)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.project.DependencyResolutionException: Could
not resolve dependencies for project
org.ovirt.engine.ui:gwt-extension:jar:3.2.0: Failure to find
org.ovirt.engine.ui:genericapi:jar:3.2.0 in
http://repo1.maven.org/maven2was cached in the local repository,
resolution will not be reattempted
until the update interval of central has elapsed or updates are forced
at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:189)
at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
... 22 more
Caused by: org.sonatype.aether.resolution.DependencyResolutionException:
Failure to find org.ovirt.engine.ui:genericapi:jar:3.2.0 in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central has
elapsed or updates are forced
at
org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)
at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:183)
... 23 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException:

Re: [Users] host deploy and after reboot not responsive

2013-01-22 Thread Gianluca Cecchi
On Tue, Jan 22, 2013 at 12:52 PM, Gianluca Cecchi  wrote:
 In the afternoon I should be able to make the ntp changes you requested.

Ok, so it seems indeed ntp takes it part in vdsmd not starting

Changed /usr/lib/systemd/system/vdsmd.service

from
Requires=multipathd.service libvirtd.service ntpd.service

to
Requires=multipathd.service libvirtd.service

and
# shutdown -r now
on node

vdsmd start correctly at boot

[root@f18ovn03 ~]# uptime
 14:20:16 up 5 min,  1 user,  load average: 0.27, 0.35, 0.19

# systemctl status vdsmd.service
vdsmd.service - Virtual Desktop Server Manager
 Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
 Active: active (running) since Tue, 2013-01-22 14:15:52 CET; 1min 13s ago
Process: 1201 ExecStart=/lib/systemd/systemd-vdsmd start (code=exited,
status=0/SUCCESS)
Main PID: 2308 (respawn)
 CGroup: name=systemd:/system/vdsmd.service
 ├ 2308 /bin/bash -e /usr/share/vdsm/respawn --minlifetime 10 --daemon
--masterpid /var/run/v...
 ├ 2312 /usr/bin/python /usr/share/vdsm/vdsm
 ├ 2331 /usr/bin/sudo -n /usr/bin/python
/usr/share/vdsm/supervdsmServer.py 8596d6dc-fc63-4a2...
 ├ 2332 /usr/bin/python /usr/share/vdsm/supervdsmServer.py
8596d6dc-fc63-4a20-8589-8782298ea1...
 ├ 2538 rpc.statd --no-notify
 ├ 2545 /usr/bin/python /usr/share/vdsm/storage/remoteFileHandler.pyc 32 30
 ├ 2769 /usr/bin/python /usr/share/vdsm/storage/remoteFileHandler.pyc 39 37
 ├ 2771 /usr/bin/python /usr/share/vdsm/storage/remoteFileHandler.pyc 41 39
 └ 2775 /usr/bin/python /usr/share/vdsm/storage/remoteFileHandler.pyc 41 39

Jan 22 14:15:53 f18ovn03 vdsm[2312]: vdsm fileUtils WARNING Dir
/rhev/data-center/mnt already exists
Jan 22 14:15:56 f18ovn03 vdsm[2312]: vdsm vds WARNING Unable to load
the json rpc server modu...led.
Jan 22 14:15:59 f18ovn03 vdsm[2312]: vdsm fileUtils WARNING Dir
/rhev/data-center/hsm-tasks a...ists
Jan 22 14:16:16 f18ovn03 rpc.statd[2538]: Version 1.2.7 starting
Jan 22 14:16:16 f18ovn03 rpc.statd[2538]: Flags: TI-RPC
Jan 22 14:16:18 f18ovn03 vdsm[2312]: vdsm TaskManager.Task ERROR
Task=`801dd9ae-896a-4790-94c...rror
Jan 22 14:16:18 f18ovn03 vdsm[2312]: vdsm Storage.Dispatcher.Protect
ERROR {'status': {'messa...09}}
Jan 22 14:16:24 f18ovn03 vdsm[2312]: vdsm Storage.PersistentDict
WARNING data has no embedded...t is
Jan 22 14:16:24 f18ovn03 vdsm[2312]: vdsm Storage.LVM WARNING lvm vgs
failed: 5 [] ['  Volume...nd']
Jan 22 14:16:24 f18ovn03 vdsm[2312]: vdsm Storage.LVM WARNING lvm vgs
failed: 5 [] ['  Volume...nd']


and from engine point of view all is ok too; host is UP and on
webadmin console I have:
2013-Jan-22, 14:19 Storage Pool Manager runs on Host f18ovn03
(Address: 10.4.4.59).

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


Re: [Users] setupNetworks failure - Host non-operational

2013-01-22 Thread Deepak C Shetty

On 01/22/2013 06:37 PM, Alex Leonhardt wrote:
I'm not sure whether it's the same, but in the past (with v3.1) when 
configuring the hosts network, it changed it automatically from static 
- dhcp, everytime i change network settings i have to ensure to 
re-tick the static address assignment and tick the box to save the 
settings (scrolling down) ... hope it helps ..
If you mean click on the save network setting checkbox while 
configuring host network from engine, I am doing that.
I think what is happenign here is libvirt is failing to set autostart on 
the ovirtmgmt network, IIUC


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


Re: [Users] [vdsm] setupNetworks failure - Host non-operational

2013-01-22 Thread Antoni Segura Puimedon
Which version of vdsm is it running? Once I know I'll try to see why
does this happen.

- Original Message -
 From: Deepak C Shetty deepa...@linux.vnet.ibm.com
 To: Alex Leonhardt alex.t...@gmail.com
 Cc: users@ovirt.org, VDSM Project Development 
 vdsm-de...@lists.fedorahosted.org
 Sent: Tuesday, January 22, 2013 2:31:38 PM
 Subject: Re: [vdsm] [Users] setupNetworks failure - Host non-operational
 
 On 01/22/2013 06:37 PM, Alex Leonhardt wrote:
  I'm not sure whether it's the same, but in the past (with v3.1)
  when
  configuring the hosts network, it changed it automatically from
  static
  - dhcp, everytime i change network settings i have to ensure to
  re-tick the static address assignment and tick the box to save the
  settings (scrolling down) ... hope it helps ..
 If you mean click on the save network setting checkbox while
 configuring host network from engine, I am doing that.
 I think what is happenign here is libvirt is failing to set autostart
 on
 the ovirtmgmt network, IIUC
 
 ___
 vdsm-devel mailing list
 vdsm-de...@lists.fedorahosted.org
 https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] error while building oVirt-engine

2013-01-22 Thread Juan Hernandez

On 01/22/2013 02:08 PM, Arindam Choudhury wrote:

Hi,

I am following http://www.ovirt.org/Building_oVirt_engine tutorial to
build oVirt-engine from source. when i do:

$ mvn clean install -e


Are you running this from the top level directory of the source? If this 
is the first time you are building and you are running from a 
subdirectory (frontend/webadmin/modules) then some artifacts that are 
outside of that subdirectory will not be available and the build will fail.




[INFO]
[INFO]

[INFO] Building Extensions for GWT 3.2.0
[INFO]

[WARNING] The POM for org.ovirt.engine.ui:genericapi:jar:3.2.0 is
missing, no dependency information available
[INFO]

[INFO] Reactor Summary:
[INFO]
[INFO] oVirt Modules - ui  SUCCESS [0.013s]
[INFO] Extensions for GWT  FAILURE [0.014s]
[INFO] UI Utils Compatibility (for UICommon) . SKIPPED
[INFO]

[ERROR] Failed to execute goal on project gwt-extension: Could not
resolve dependencies for project
org.ovirt.engine.ui:gwt-extension:jar:3.2.0: Failure to find
org.ovirt.engine.ui:genericapi:jar:3.2.0 in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central
has elapsed or updates are forced - [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal on project gwt-extension: Could not resolve dependencies
for project org.ovirt.engine.ui:gwt-extension:jar:3.2.0: Failure to find
org.ovirt.engine.ui:genericapi:jar:3.2.0 in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central
has elapsed or updates are forced
 at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
 at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
 at
org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
 at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
 at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
 at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
 at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
 at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
 at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
 at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
 at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
 at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:158)
 at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
 at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
 at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 at java.lang.reflect.Method.invoke(Method.java:601)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
 at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
Caused by: org.apache.maven.project.DependencyResolutionException: Could
not resolve dependencies for project
org.ovirt.engine.ui:gwt-extension:jar:3.2.0: Failure to find
org.ovirt.engine.ui:genericapi:jar:3.2.0 in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of central
has elapsed or updates are forced
 at
org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:189)
 at
org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
 ... 22 more
Caused by: org.sonatype.aether.resolution.DependencyResolutionException:
Failure to find org.ovirt.engine.ui:genericapi:jar:3.2.0 in
http://repo1.maven.org/maven2 was cached in the local repository,
resolution will not be reattempted until the update interval of 

Re: [Users] host deploy and after reboot not responsive

2013-01-22 Thread Dan Kenigsberg
On Tue, Jan 22, 2013 at 12:52:43PM +0100, Gianluca Cecchi wrote:
 On Sat, Jan 19, 2013 at 8:26 PM, Dan Kenigsberg  wrote:
  It might be it - but there must be more clues in the logs. I'd like to
  see both vdsm.log and /var/log/message of boottime. journalctl may have
  stories to tell, too.
 
 In the mean time here
 messages
 https://docs.google.com/file/d/0BwoPbcrMv8mvNHpPREZGMnhYSzg/edit

Sorry, this gives no trace of a vdsmd failure. It would be great to know
if removal of the ntpd requirement helps vdsm on boot.


Jan 16 01:09:40 f18ovn03 ntpd[2489]: 0.0.0.0 c011 01 freq_not_set
Jan 16 01:09:40 f18ovn03 systemd-vdsmd[2483]: Note: Forwarding request to 
'systemctl disable libvirt-guests.service'.
Jan 16 01:09:40 f18ovn03 systemd[1]: Reloading.
Jan 16 01:09:40 f18ovn03 systemd[1]: tuned.service has a D-Bus service name 
specified, but is not of type dbus. Ignoring.
Jan 16 01:09:40 f18ovn03 systemd-vdsmd[2483]: vdsm: libvirt already configured 
for vdsm [  OK  ]
Jan 16 01:09:41 f18ovn03 systemd-vdsmd[2483]: Starting wdmd...
Jan 16 01:09:41 f18ovn03 systemd-vdsmd[2483]: Redirecting to /bin/systemctl 
start  wdmd.service
Jan 16 01:09:41 f18ovn03 systemd[1]: Starting Watchdog Multiplexing Daemon...
Jan 16 01:09:41 f18ovn03 wdmd[2602]: wdmd started S0 H1 G179
Jan 16 01:09:41 f18ovn03 systemd-wdmd[2594]: Starting wdmd: [  OK  ]
Jan 16 01:09:41 f18ovn03 wdmd[2602]: /dev/watchdog armed with fire_timeout 60
Jan 16 01:09:41 f18ovn03 systemd[1]: Started Watchdog Multiplexing Daemon.
Jan 16 01:09:41 f18ovn03 systemd-vdsmd[2483]: Starting sanlock...
Jan 16 01:09:41 f18ovn03 systemd-vdsmd[2483]: Redirecting to /bin/systemctl 
start  sanlock.service
Jan 16 01:09:41 f18ovn03 systemd[1]: Starting Shared Storage Lease Manager...
Jan 16 01:09:41 f18ovn03 systemd-sanlock[2618]: Starting sanlock: [  OK  ]
Jan 16 01:09:41 f18ovn03 systemd[1]: Started Shared Storage Lease Manager.
Jan 16 01:09:41 f18ovn03 systemd-vdsmd[2483]: Starting iscsid:
Jan 16 01:09:41 f18ovn03 systemd-vdsmd[2483]: Redirecting to /bin/systemctl 
start  libvirtd.service
Jan 16 01:09:41 f18ovn03 systemd[1]: Started Virtualization daemon.
Jan 16 01:09:44 f18ovn03 kernel: [  361.499864] bonding: Ethernet Channel 
Bonding Driver: v3.7.1 (April 27, 2011)
Jan 16 01:09:44 f18ovn03 kernel: [  361.528772] 8021q: 802.1Q VLAN Support v1.8
Jan 16 01:09:44 f18ovn03 kernel: [  361.530500] bonding: bond4 is being 
created...
Jan 16 01:09:44 f18ovn03 systemd-vdsmd[2483]: Starting up vdsm daemon:
Jan 16 01:09:44 f18ovn03 systemd-vdsmd[2483]: [  OK  ]#015vdsm start[  OK  ]
Jan 16 01:09:44 f18ovn03 systemd[1]: Started Virtual Desktop Server Manager.
Jan 16 01:09:45 f18ovn03 vdsm fileUtils WARNING Dir /rhev/data-center/mnt 
already exists
Jan 16 01:09:48 f18ovn03 vdsm Storage.LVM WARNING lvm pvs failed: 5 ['  
NQRb0Q-3C0k-3RRo-1LZZ-NNy2-42A1-c7zO8e|/dev/mapper/3600507630efe05801601|106971529216|c6bb44ee-b824-44a0-a62c-f537a23d2e2b|x3XSZx-avUC-0NNI-w5K4-nCOp-uxp5-TD9GvH|135266304|797|0|2|107374182400']
 ['  Skipping clustered volume group VG_VIRT04', '  Skipping volume group 
VG_VIRT04', '  Skipping clustered volume group VG_VIRT02', '  Skipping volume 
group VG_VIRT02', '  Skipping clustered volume group VG_VIRT03', '  Skipping 
volume group VG_VIRT03', '  Skipping clustered volume group VG_VIRT03', '  
Skipping volume group VG_VIRT03', '  Skipping clustered volume group 
VG_VIRT01', '  Skipping volume group VG_VIRT01', '  Skipping clustered volume 
group VG_VIRT01', '  Skipping volume group VG_VIRT01']
Jan 16 01:09:48 f18ovn03 vdsm Storage.LVM WARNING lvm vgs failed: 5 ['  
x3XSZx-avUC-0NNI-w5K4-nCOp-uxp5-TD9GvH|c6bb44ee-b824-44a0-a62c-f537a23d2e2b|wz--n-|106971529216|106971529216|134217728|797|797|RHAT_storage_domain_UNREADY|134217728|67107328']
 ['  Skipping clustered volume group VG_VIRT04', '  Skipping clustered volume 
group VG_VIRT02', '  Skipping clustered volume group VG_VIRT03', '  Skipping 
clustered volume group VG_VIRT01']
Jan 16 01:09:48 f18ovn03 vdsm vds WARNING Unable to load the json rpc server 
module. Please make sure it is installed.


 
 vdsm.log
 https://docs.google.com/file/d/0BwoPbcrMv8mvQ0k0aEJ5cWtXeTA/edit
 
 The are related at boot on 16/01 at 01:04 am
 
 In the afternoon I should be able to make the nt changes you requested.
 
 journalctl was rotated. any command to let journalctl take another log
 file if present?
 
 it says now:
 -- Logs begin at Wed, 2013-01-16 14:39:23 CET, end at Tue, 2013-01-22
 12:52:05 CET. --
 
 Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [vdsm] setupNetworks failure - Host non-operational

2013-01-22 Thread Deepak C Shetty

On 01/22/2013 07:13 PM, Antoni Segura Puimedon wrote:

Which version of vdsm is it running? Once I know I'll try to see why
does this happen.

I am working on a git version of VDSM. let me know if u need more info.

rpm -qa| grep vdsm
vdsm-debug-plugin-4.10.3-0.75.git87b668d.fc17.noarch
vdsm-debuginfo-4.10.3-0.75.git87b668d.fc17.x86_64
vdsm-jsonrpc-4.10.3-0.75.git87b668d.fc17.noarch
vdsm-4.10.3-0.75.git87b668d.fc17.x86_64
vdsm-xmlrpc-4.10.3-0.75.git87b668d.fc17.noarch
vdsm-gluster-4.10.3-0.75.git87b668d.fc17.noarch
vdsm-tests-4.10.3-0.75.git87b668d.fc17.noarch
vdsm-cli-4.10.3-0.75.git87b668d.fc17.noarch
vdsm-python-4.10.3-0.75.git87b668d.fc17.x86_64


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


[Users] KVM version not showing in Ovirt Manager

2013-01-22 Thread Tom Brown
Hi

I have just added another HV to a cluster and its up and running fine. I can 
run VM's on it and migrate fro other HV's onto it. I do note however that in 
the manager there is no KVM version listed as installed however on other HV's 
in the cluster there is a version present.

I see that the KVM version is slightly different on this new host but as i said 
apart from this visual issue everything appear to be running fine. These HV's 
are CentOS 6.3 using dreyou 3.1

Node where KVM version not showing in the manager

node003 ~]# rpm -qa | grep kvm
qemu-kvm-rhev-0.12.1.2-2.295.el6.10.x86_64
qemu-kvm-rhev-tools-0.12.1.2-2.295.el6.10.x86_64

Node where KVM version is showing in the manager

node002 ~]# rpm -qa | grep kvm
qemu-kvm-tools-0.12.1.2-2.295.el6_3.8.x86_64
qemu-kvm-0.12.1.2-2.295.el6_3.8.x86_64

thanks


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


Re: [Users] KVM version not showing in Ovirt Manager

2013-01-22 Thread Haim Ateya
please issue the following commands on both hv's:

vdsClinet -s 0 getVdsCaps  vdsClient -s 0 getVdsStats

I would like to make sure vdsm is indeed report them to the engine.

Haim

- Original Message -
 From: Tom Brown t...@ng23.net
 To: users@ovirt.org
 Sent: Tuesday, January 22, 2013 8:00:54 AM
 Subject: [Users] KVM version not showing in Ovirt Manager
 
 Hi
 
 I have just added another HV to a cluster and its up and running
 fine. I can run VM's on it and migrate fro other HV's onto it. I do
 note however that in the manager there is no KVM version listed as
 installed however on other HV's in the cluster there is a version
 present.
 
 I see that the KVM version is slightly different on this new host but
 as i said apart from this visual issue everything appear to be
 running fine. These HV's are CentOS 6.3 using dreyou 3.1
 
 Node where KVM version not showing in the manager
 
 node003 ~]# rpm -qa | grep kvm
 qemu-kvm-rhev-0.12.1.2-2.295.el6.10.x86_64
 qemu-kvm-rhev-tools-0.12.1.2-2.295.el6.10.x86_64
 
 Node where KVM version is showing in the manager
 
 node002 ~]# rpm -qa | grep kvm
 qemu-kvm-tools-0.12.1.2-2.295.el6_3.8.x86_64
 qemu-kvm-0.12.1.2-2.295.el6_3.8.x86_64
 
 thanks
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Create ISO domain from scratch? Not attached, create!

2013-01-22 Thread Haim Ateya
Hi,

generally speaking, you should be able to create an EXPORT\ISO domain and 
attach it to the current data-center, if you can't
it just means that there is no working data domain and pool is not initialised. 
please make sure pool (data-center) status is up and running, one of the hosts 
is functioning as SPM.

Haim
- Original Message -
 From: No Reply no-re...@dc.rr.com
 To: users@ovirt.org
 Sent: Monday, January 21, 2013 8:50:43 PM
 Subject: [Users] Create ISO domain from scratch?  Not attached, create!
 
 Ok, this one has me scratching my head... Have existing oVirt 3.1
 environment, based on Fedora 17, storage resource is NFS, also based
 on
 Fedora 17.  Can create NFS storage domain, no problem.  But when the
 environment was setup initially, no (local) ISO domain as created.
  Now,
 under oVirt engine 3.1, the option to create a storage type under
 domain
 function, only allows for creation of data type domain, only type in
 the
 drop down list is DATA/NFS?  What gives?  It used to be 3.0 and
 older, you
 could select the storage type as Data or ISO!  Anyone have this issue
 as
 well?  Any help appreciated.
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] KVM version not showing in Ovirt Manager

2013-01-22 Thread Tom Brown



 please issue the following commands on both hv's:
 
 vdsClinet -s 0 getVdsCaps  vdsClient -s 0 getVdsStats
 
 I would like to make sure vdsm is indeed report them to the engine.
 

i appear to not have that command in my PATH on either node - 

Which package provides it?

node002 ~]# yum whatprovides */vdsClinet
Loaded plugins: fastestmirror, priorities, rhnplugin, security
This system is receiving updates from RHN Classic or RHN Satellite.
Loading mirror speeds from cached hostfile
 * epel: mirrors.coreix.net
centos-6-x86_64-01012013/filelists  

   |  11 MB 00:00 
epel/filelists_db   

   | 6.9 MB 00:01 
spacewalk-client/filelists  

   | 5.7 kB 00:00 
vdsm/filelists  

   | 9.8 kB 00:00 
No Matches found
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] KVM version not showing in Ovirt Manager

2013-01-22 Thread Tom Brown



 I think that it's a typo and the right command is: vdsClient .
 The second command doesn't have the typo :).
 

Working node

node002 ~]# vdsClient -s 0 getVdsCaps  vdsClient -s 0 getVdsStats  
/tmp/node002.log
HBAInventory = {'iSCSI': [{'InitiatorName': 
'iqn.1994-05.com.redhat:31b77320b5e6'}], 'FC': []}
ISCSIInitiatorName = iqn.1994-05.com.redhat:31b77320b5e6
bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': 
'', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}, 'bond0': {'addr': '', 'cfg': 
{}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}}
bridges = {'ovirtmgmt': {'addr': '10.192.42.196', 'cfg': {'DELAY': '0', 
'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt', 'TYPE': 
'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.255.0', 'stp': 
'off', 'ports': ['vnet0', 'vnet1', 'eth0', 'vnet2']}}
clusterLevels = ['3.0', '3.1', '3.2']
cpuCores = 4
cpuFlags = 
fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,dca,sse4_1,sse4_2,popcnt,lahf_lm,ida,dts,tpr_shadow,vnmi,flexpriority,ept,vpid,model_Nehalem,model_Conroe,model_Penryn
cpuModel = Intel(R) Xeon(R) CPU   W3520  @ 2.67GHz
cpuSockets = 1
cpuSpeed = 2666.908
emulatedMachines = ['rhel6.3.0', 'pc', 'rhel6.2.0', 'rhel6.1.0', 
'rhel6.0.0', 'rhel5.5.0', 'rhel5.4.4', 'rhel5.4.0']
guestOverhead = 65
hooks = {}
kvmEnabled = true
lastClient = 10.192.42.207
lastClientIface = ovirtmgmt
management_ip = 
memSize = 7853
netConfigDirty = False
networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr': 
'10.192.42.196', 'cfg': {'DELAY': '0', 'NM_CONTROLLED': 'no', 'BOOTPROTO': 
'dhcp', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu': 
'1500', 'netmask': '255.255.255.0', 'stp': 'off', 'bridged': True, 'gateway': 
'10.192.42.1', 'ports': ['vnet0', 'vnet1', 'eth0', 'vnet2']}}
nics = {'eth0': {'addr': '', 'cfg': {'DEVICE': 'eth0', 'BRIDGE': 
'ovirtmgmt', 'BOOTPROTO': 'dhcp', 'TYPE': 'Ethernet', 'ONBOOT': 'yes'}, 'mtu': 
'1500', 'netmask': '', 'hwaddr': 'd4:85:64:09:34:08', 'speed': 1000}}
operatingSystem = {'release': '3.el6.centos.9', 'version': '6', 'name': 
'RHEL'}
packages2 = {'kernel': {'release': '279.14.1.el6.x86_64', 'buildtime': 
1352245389.0, 'version': '2.6.32'}, 'spice-server': {'release': '10.el6', 
'buildtime': 1340375889, 'version': '0.10.1'}, 'vdsm': {'release': 
'0.77.20.el6', 'buildtime': 1351246440, 'version': '4.10.1'}, 'qemu-kvm': 
{'release': '2.295.el6_3.8', 'buildtime': 1354636067, 'version': '0.12.1.2'}, 
'libvirt': {'release': '21.el6_3.6', 'buildtime': 1353577785, 'version': 
'0.9.10'}, 'qemu-img': {'release': '2.295.el6_3.8', 'buildtime': 1354636067, 
'version': '0.12.1.2'}}
reservedMem = 321
software_revision = 0.77
software_version = 4.10
supportedENGINEs = ['3.0', '3.1']
supportedProtocols = ['2.2', '2.3']
uuid = 55414E03-C241-11DF-BBDA-64093408D485_d4:85:64:09:34:08
version_name = Snow Man
vlans = {}
vmTypes = ['kvm']

Non Working node

node003 ~]# vdsClient -s 0 getVdsCaps  vdsClient -s 0 getVdsStats
HBAInventory = {'iSCSI': [{'InitiatorName': 
'iqn.1994-05.com.redhat:9a7b944e2160'}], 'FC': []}
ISCSIInitiatorName = iqn.1994-05.com.redhat:9a7b944e2160
bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': 
'', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}, 'bond0': {'addr': '', 'cfg': 
{}, 'mtu': '1500', 'netmask': '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}, 
'bond1': {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [], 
'hwaddr': '00:00:00:00:00:00'}}
bridges = {'ovirtmgmt': {'addr': '10.192.42.144', 'cfg': {'DELAY': '0', 
'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt', 'TYPE': 
'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask': '255.255.255.0', 'stp': 
'off', 'ports': ['vnet1', 'eth0', 'vnet0']}}
clusterLevels = ['3.0', '3.1', '3.2']
cpuCores = 4
cpuFlags = 
fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,dca,sse4_1,sse4_2,popcnt,lahf_lm,ida,dts,tpr_shadow,vnmi,flexpriority,ept,vpid,model_Nehalem,model_Conroe,model_Penryn
cpuModel = Intel(R) Xeon(R) CPU   W3520  @ 2.67GHz
cpuSockets = 1
cpuSpeed = 2666.752
emulatedMachines = ['rhel6.3.0', 'pc', 'rhel6.2.0', 'rhel6.1.0', 
'rhel6.0.0', 'rhel5.5.0', 

Re: [Users] KVM version not showing in Ovirt Manager

2013-01-22 Thread Andrey Gordeev
Hi.

I will make patch and put new build in my repo tomorrow.


On Tue, Jan 22, 2013 at 9:55 PM, Tom Brown t...@ng23.net wrote:




  I think that it's a typo and the right command is: vdsClient .
  The second command doesn't have the typo :).
 

 Working node

 node002 ~]# vdsClient -s 0 getVdsCaps  vdsClient -s 0 getVdsStats 
 /tmp/node002.log
 HBAInventory = {'iSCSI': [{'InitiatorName':
 'iqn.1994-05.com.redhat:31b77320b5e6'}], 'FC': []}
 ISCSIInitiatorName = iqn.1994-05.com.redhat:31b77320b5e6
 bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500',
 'netmask': '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}, 'bond0':
 {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [],
 'hwaddr': '00:00:00:00:00:00'}}
 bridges = {'ovirtmgmt': {'addr': '10.192.42.196', 'cfg': {'DELAY':
 '0', 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt',
 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask':
 '255.255.255.0', 'stp': 'off', 'ports': ['vnet0', 'vnet1', 'eth0',
 'vnet2']}}
 clusterLevels = ['3.0', '3.1', '3.2']
 cpuCores = 4
 cpuFlags =
 fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,dca,sse4_1,sse4_2,popcnt,lahf_lm,ida,dts,tpr_shadow,vnmi,flexpriority,ept,vpid,model_Nehalem,model_Conroe,model_Penryn
 cpuModel = Intel(R) Xeon(R) CPU   W3520  @ 2.67GHz
 cpuSockets = 1
 cpuSpeed = 2666.908
 emulatedMachines = ['rhel6.3.0', 'pc', 'rhel6.2.0', 'rhel6.1.0',
 'rhel6.0.0', 'rhel5.5.0', 'rhel5.4.4', 'rhel5.4.0']
 guestOverhead = 65
 hooks = {}
 kvmEnabled = true
 lastClient = 10.192.42.207
 lastClientIface = ovirtmgmt
 management_ip =
 memSize = 7853
 netConfigDirty = False
 networks = {'ovirtmgmt': {'iface': 'ovirtmgmt', 'addr':
 '10.192.42.196', 'cfg': {'DELAY': '0', 'NM_CONTROLLED': 'no', 'BOOTPROTO':
 'dhcp', 'DEVICE': 'ovirtmgmt', 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu':
 '1500', 'netmask': '255.255.255.0', 'stp': 'off', 'bridged': True,
 'gateway': '10.192.42.1', 'ports': ['vnet0', 'vnet1', 'eth0', 'vnet2']}}
 nics = {'eth0': {'addr': '', 'cfg': {'DEVICE': 'eth0', 'BRIDGE':
 'ovirtmgmt', 'BOOTPROTO': 'dhcp', 'TYPE': 'Ethernet', 'ONBOOT': 'yes'},
 'mtu': '1500', 'netmask': '', 'hwaddr': 'd4:85:64:09:34:08', 'speed': 1000}}
 operatingSystem = {'release': '3.el6.centos.9', 'version': '6',
 'name': 'RHEL'}
 packages2 = {'kernel': {'release': '279.14.1.el6.x86_64',
 'buildtime': 1352245389.0, 'version': '2.6.32'}, 'spice-server':
 {'release': '10.el6', 'buildtime': 1340375889, 'version': '0.10.1'},
 'vdsm': {'release': '0.77.20.el6', 'buildtime': 1351246440, 'version':
 '4.10.1'}, 'qemu-kvm': {'release': '2.295.el6_3.8', 'buildtime':
 1354636067, 'version': '0.12.1.2'}, 'libvirt': {'release': '21.el6_3.6',
 'buildtime': 1353577785, 'version': '0.9.10'}, 'qemu-img': {'release':
 '2.295.el6_3.8', 'buildtime': 1354636067, 'version': '0.12.1.2'}}
 reservedMem = 321
 software_revision = 0.77
 software_version = 4.10
 supportedENGINEs = ['3.0', '3.1']
 supportedProtocols = ['2.2', '2.3']
 uuid = 55414E03-C241-11DF-BBDA-64093408D485_d4:85:64:09:34:08
 version_name = Snow Man
 vlans = {}
 vmTypes = ['kvm']

 Non Working node

 node003 ~]# vdsClient -s 0 getVdsCaps  vdsClient -s 0 getVdsStats
 HBAInventory = {'iSCSI': [{'InitiatorName':
 'iqn.1994-05.com.redhat:9a7b944e2160'}], 'FC': []}
 ISCSIInitiatorName = iqn.1994-05.com.redhat:9a7b944e2160
 bondings = {'bond4': {'addr': '', 'cfg': {}, 'mtu': '1500',
 'netmask': '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}, 'bond0':
 {'addr': '', 'cfg': {}, 'mtu': '1500', 'netmask': '', 'slaves': [],
 'hwaddr': '00:00:00:00:00:00'}, 'bond1': {'addr': '', 'cfg': {}, 'mtu':
 '1500', 'netmask': '', 'slaves': [], 'hwaddr': '00:00:00:00:00:00'}}
 bridges = {'ovirtmgmt': {'addr': '10.192.42.144', 'cfg': {'DELAY':
 '0', 'NM_CONTROLLED': 'no', 'BOOTPROTO': 'dhcp', 'DEVICE': 'ovirtmgmt',
 'TYPE': 'Bridge', 'ONBOOT': 'yes'}, 'mtu': '1500', 'netmask':
 '255.255.255.0', 'stp': 'off', 'ports': ['vnet1', 'eth0', 'vnet0']}}
 clusterLevels = ['3.0', '3.1', '3.2']
 cpuCores = 4
 cpuFlags =
 fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,syscall,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,rep_good,xtopology,nonstop_tsc,aperfmperf,pni,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,dca,sse4_1,sse4_2,popcnt,lahf_lm,ida,dts,tpr_shadow,vnmi,flexpriority,ept,vpid,model_Nehalem,model_Conroe,model_Penryn
 cpuModel = Intel(R) Xeon(R) CPU   

Re: [Users] Power mgmt and engine relationship

2013-01-22 Thread Haim Ateya


- Original Message -
 From: Gianluca Cecchi gianluca.cec...@gmail.com
 To: users users@ovirt.org
 Sent: Tuesday, January 22, 2013 9:35:31 AM
 Subject: [Users] Power mgmt and engine relationship
 
 
 
 
 Hello,
 Is there any requirement in connectivity between engine and hosts for
 fencing?
 Or is only from any host to any host?
host to host. 
and iirc, its a cluster wide.
 Is it a concept cluster wide, correct? Not a DC one?
 Thanks
 Gianluca
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] custom nfs mount options

2013-01-22 Thread Haim Ateya
you can set it manually on each hypervisor by using vdsm.conf.

add the following into /etc/vdsm/vdsm.conf

[irs]
nfs_mount_options = soft,nosharecache

restart vdsmd service on the end.

- Original Message -
 From: Alex Leonhardt alex.t...@gmail.com
 To: oVirt Mailing List users@ovirt.org
 Sent: Tuesday, January 22, 2013 1:46:56 AM
 Subject: [Users] custom nfs mount options
 
 
 
 
 
 Hi,
 
 Is it possible set custom nfs mount options, specifically : noatime,
 wsize and rsize ? I couldnt see anything when adding a NFS domain
 - only timeout  retry.
 
 
 Thanks!
 Alex
 
 
 
 
 
 --
 
 
 
 | RHCE | Senior Systems Engineer | www.vcore.co |
 | www.vsearchcloud.com |
 
 ___
 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] 3.1 to 3.2 migration

2013-01-22 Thread Alexandru Vladulescu


Hi everybody,

This might seem to be a stupid question but I might just give it a shot 
and ask you if has anybody tried so far to migrate a 3.1 stable to a 3.2 
alpha release ? On my side I have no luck.


Might have found a bug as well, but that is what you need to confirm to 
me. I had the jboss setup running on port http 8080 and for https 8443. 
After the upgrade, everything I try besides the port 80 and 443 doesn't 
work. If I try to reconfigure the previous used ports, I find java 
listening on port 8080 for http, but when I try to log in and switch to 
https on admin portal there is nothing listening out there and I get 
Page cannot be displayed.


If we cannot consider migration, would it be sufficient to insert the 
dump from the 3.1 into 3.2 current alpha release ?



Alex.

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


Re: [Users] host deploy and after reboot not responsive

2013-01-22 Thread Dan Kenigsberg
On Tue, Jan 22, 2013 at 02:22:40PM +0100, Gianluca Cecchi wrote:
 On Tue, Jan 22, 2013 at 12:52 PM, Gianluca Cecchi  wrote:
  In the afternoon I should be able to make the ntp changes you requested.
 
 Ok, so it seems indeed ntp takes it part in vdsmd not starting
 
 Changed /usr/lib/systemd/system/vdsmd.service
 
 from
 Requires=multipathd.service libvirtd.service ntpd.service
 
 to
 Requires=multipathd.service libvirtd.service
 
 and
 # shutdown -r now
 on node
 
 vdsmd start correctly at boot

That's great, as it reduces the question to: why doesn't ntpd start on
your machine after boot. Do you have any guess? and ntpd logs to share?
Any peculiar ntp.conf setting?
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] setupNetworks failure - Host non-operational

2013-01-22 Thread Dan Kenigsberg
On Tue, Jan 22, 2013 at 06:26:35PM +0530, Deepak C Shetty wrote:
 Hi All,
 I have a multi-VM setup, where I have ovirt engine on one VM and
 VDSM host on another.
 Discovering the host from the engine puts the host in Unassigned
 state, with the error saying 'ovirtmgmt' network not found.
 
 When i select setupNetworks and drag-drop the ovirtmgmt to setup
 over eth0, i see the below error in VDSM  host goes to
 non-operataional state.
 
 I tried the steps mentioned by Alon in
 http://lists.ovirt.org/pipermail/users/2012-December/011257.html
 but still see the same error
 
 = dump from vdsm.log 
 
 MainProcess|Thread-23::ERROR::2013-01-22
 18:25:53,496::configNetwork::1438::setupNetworks::(setupNetworks)
 Requested operation is not valid: cannot set autostart for transient
 network
 Traceback (most recent call last):
   File /usr/share/vdsm/configNetwork.py, line 1420, in setupNetworks
 implicitBonding=True, **d)
   File /usr/share/vdsm/configNetwork.py, line 1030, in addNetwork
 configWriter.createLibvirtNetwork(network, bridged, iface)
   File /usr/share/vdsm/configNetwork.py, line 208, in
 createLibvirtNetwork
 self._createNetwork(netXml)
   File /usr/share/vdsm/configNetwork.py, line 192, in _createNetwork
 net.setAutostart(1)
   File /usr/lib64/python2.7/site-packages/libvirt.py, line 2148,
 in setAutostart
 if ret == -1: raise libvirtError ('virNetworkSetAutostart()
 failed', net=self)
 libvirtError: Requested operation is not valid: cannot set autostart
 for transient network
 MainProcess|Thread-23::ERROR::2013-01-22 
 18:25:53,502::supervdsmServer::77::SuperVdsm.ServerCallback::(wrapper)
 Error in setupNetworks
 Traceback (most recent call last):
   File /usr/share/vdsm/supervdsmServer.py, line 75, in wrapper
 return func(*args, **kwargs)
   File /usr/share/vdsm/supervdsmServer.py, line 170, in setupNetworks
 return configNetwork.setupNetworks(networks, bondings, **options)
   File /usr/share/vdsm/configNetwork.py, line 1420, in setupNetworks
 implicitBonding=True, **d)
   File /usr/share/vdsm/configNetwork.py, line 1030, in addNetwork
 configWriter.createLibvirtNetwork(network, bridged, iface)
   File /usr/share/vdsm/configNetwork.py, line 208, in
 createLibvirtNetwork
 self._createNetwork(netXml)
   File /usr/share/vdsm/configNetwork.py, line 192, in _createNetwork
 net.setAutostart(1)
   File /usr/lib64/python2.7/site-packages/libvirt.py, line 2148,
 in setAutostart
 if ret == -1: raise libvirtError ('virNetworkSetAutostart()
 failed', net=self)
 libvirtError: Requested operation is not valid: cannot set autostart
 for transient network

This is a known bug with libvirt-1.0.1
https://bugzilla.redhat.com/890492 newly defined network is not marked 
as persistent
http://www.redhat.com/archives/libvir-list/2012-December/msg01336.html
Either downgrade to 0.10.z or try the posted patches.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] error while building oVirt-engine

2013-01-22 Thread Arindam Choudhury
thanks a lot.


On Tue, Jan 22, 2013 at 7:18 PM, Alon Bar-Lev alo...@redhat.com wrote:



 - Original Message -
  From: Alon Bar-Lev alo...@redhat.com
  To: Arindam Choudhury arindamchoudhu...@gmail.com
  Cc: users@ovirt.org
  Sent: Tuesday, January 22, 2013 7:33:27 PM
  Subject: Re: [Users] error while building oVirt-engine
 
  Known issue, I had the same, being fixed.
  Thanks!

 http://gerrit.ovirt.org/#/c/11262

 
  - Original Message -
   From: Arindam Choudhury arindamchoudhu...@gmail.com
   To: users@ovirt.org
   Sent: Tuesday, January 22, 2013 3:08:32 PM
   Subject: [Users] error while building oVirt-engine
  
  
  
  
   Hi,
  
   I am following http://www.ovirt.org/Building_oVirt_engine tutorial
   to
   build oVirt-engine from source. when i do:
  
   $ mvn clean install -e
  
  
   [INFO]
   [INFO]
  
 
   [INFO] Building Extensions for GWT 3.2.0
   [INFO]
  
 
   [WARNING] The POM for org.ovirt.engine.ui:genericapi:jar:3.2.0 is
   missing, no dependency information available
   [INFO]
  
 
   [INFO] Reactor Summary:
   [INFO]
   [INFO] oVirt Modules - ui  SUCCESS
   [0.013s]
   [INFO] Extensions for GWT  FAILURE
   [0.014s]
   [INFO] UI Utils Compatibility (for UICommon) . SKIPPED
   [INFO]
  
 
   [ERROR] Failed to execute goal on project gwt-extension: Could not
   resolve dependencies for project
   org.ovirt.engine.ui:gwt-extension:jar:3.2.0: Failure to find
   org.ovirt.engine.ui:genericapi:jar:3.2.0 in
   http://repo1.maven.org/maven2 was cached in the local repository,
   resolution will not be reattempted until the update interval of
   central has elapsed or updates are forced - [Help 1]
   org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
   execute goal on project gwt-extension: Could not resolve
   dependencies for project
   org.ovirt.engine.ui:gwt-extension:jar:3.2.0: Failure to find
   org.ovirt.engine.ui:genericapi:jar:3.2.0 in
   http://repo1.maven.org/maven2 was cached in the local repository,
   resolution will not be reattempted until the update interval of
   central has elapsed or updates are forced
   at
  
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
   at
  
 org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
   at
  
 org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
   at
  
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
   at
  
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
   at
  
 org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
   at
  
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
   at
  
 org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
   at
  
 org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
   at
  
 org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
   at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
   at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:158)
   at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
   at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
   at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at
  
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
   at
  
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:601)
   at
  
 org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
   at
  
 org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
   at
  
 org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
   at
  
 org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
   Caused by: org.apache.maven.project.DependencyResolutionException:
   Could not resolve dependencies for project
   org.ovirt.engine.ui:gwt-extension:jar:3.2.0: Failure to find
   org.ovirt.engine.ui:genericapi:jar:3.2.0 in
   http://repo1.maven.org/maven2 was cached in the local repository,
   resolution will not be reattempted until the update interval of
   central has elapsed or updates are forced
   at
  
 

Re: [Users] Power mgmt and engine relationship

2013-01-22 Thread Itamar Heim

On 22/01/2013 11:37, Haim Ateya wrote:



- Original Message -

From: Gianluca Cecchi gianluca.cec...@gmail.com
To: users users@ovirt.org
Sent: Tuesday, January 22, 2013 9:35:31 AM
Subject: [Users] Power mgmt and engine relationship




Hello,
Is there any requirement in connectivity between engine and hosts for
fencing?
Or is only from any host to any host?

host to host.


but we are planning to allow from engine in the future as well.


and iirc, its a cluster wide.


3.2 allows to choose if any host in DC or cluster


Is it a concept cluster wide, correct? Not a DC one?
Thanks
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


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



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


Re: [Users] error at Creating the database

2013-01-22 Thread Eli Mesika


- Original Message -
 From: Arindam Choudhury arindamchoudhu...@gmail.com
 To: users@ovirt.org
 Sent: Tuesday, January 22, 2013 1:43:55 PM
 Subject: [Users] error at Creating the database
 
 
 
 
 
 
 
 
 
 Hi,
 
 I am a newbie. I am trying to build oVirt-engine from source
 following this tutorial http://www.ovirt.org/Building_oVirt_engine
 
 When I am trying to create the database, I am getting the following
 error:
 
 $ ./create_db_devel.sh -u postgres
 Running original create_db script...
 Creating the database: engine
 dropdb: could not connect to database template1: FATAL: Ident
 authentication failed for user postgres
 createdb: could not connect to database template1: FATAL: Ident
 authentication failed for user postgres
 Failed to create database engine
 Failed to create database engine
 
 I am on rawhide and I have already altered
 
 # tail -3 /var/lib/pgsql/data/pg_hba.conf
 local all all trust
 host all all 127.0.0.1/32 trust
 host all all ::1/128 trust
 
 
 What am I doing wrong?

Hi Arindam
This settings take place after you restart the postresql service
Please try again after
 service postgresql restart



 
 Thanks,
 Arindam
 
 ___
 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] UI Plugin issue when switching main tabs

2013-01-22 Thread René Koch

Thanks a lot for your input - it was really helpfu!

I added a check for argument.length and now it's working as expected.
The working code is:

VirtualMachineSelectionChange: function() {
  if (arguments.length == 1) {
var vmName = arguments[0].name;
alert(vmName);
// Reload VM Sub Tab
api.setTabContentUrl('vms-monitoring', conf.url + '?subtab=vmsname=' + 
encodeURIComponent(vmName));
  }
}


Btw, do you know if I can get the name of a host instead the hostname/ip?
arguments[0].name; gives me the IP address (value of webadmin column 
hostname/ip) but not the name (column name) - (I always use ips instead of 
dns names for hypervisors)...
 

Thanks,
René


 
-Original message-
 From:Oved Ourfalli ov...@redhat.com
 Sent: Tuesday 22nd January 2013 19:34
 To: René Koch r.k...@ovido.at
 Cc: users@ovirt.org
 Subject: Re: [Users] UI Plugin issue when switching main tabs
 
 Found your bug (I think):
 You don't check in your code whether there is a selection (if 
 (arguments.length == 1) for example, if you want to act only when one is 
 selected).
 
 You'll probably want to do similar logic to the Foreman plugin, setting the 
 sub-tab content URL only in case one VM is selected, and setting the URL 
 properly.
 
 The fact that your alert won't show is that you call arguments[0].name, and 
 it fails when nothing is selected... and I guess that's the case when you 
 switch tabs.
 Didn't check it out, but please check it out... and let me know what you 
 found :-)
 
 Oved
 
 - Original Message -
  From: René Koch r.k...@ovido.at
  To: Oved Ourfalli ov...@redhat.com
  Cc: users@ovirt.org
  Sent: Monday, January 21, 2013 6:05:47 PM
  Subject: Re: [Users] UI Plugin issue when switching main tabs
  
  When switching back to vm main tab changing the selection doesn't
  work.
  
  No matter which VM I select the VirtualMachineSelectionChange
  function isn't called again (as my debug alert window doesn't
  appear), but the last vm I selected before switching to another main
  tab is cached in variable vmName...
  It works again after restarting engine-service.
  
  I just tested your foreman plugin and it seems that this one is
  working as expected.
  
 
  
  Regards,
  René
   
   
  -Original message-
   From:Oved Ourfalli ov...@redhat.com
   Sent: Monday 21st January 2013 14:56
   To: René Koch r.k...@ovido.at
   Cc: users@ovirt.org; Vojtech Szocs vsz...@redhat.com
   Subject: Re: [Users] UI Plugin issue when switching main tabs
   
   I'll let Vojtech (cc-ed) to give a more accurate answer, but,
   trying to narrow down the issue: when you switch to a different
   main tab and then back to the VM main tab, and change the
   selection in there, does it work?
   (Trying to understand if the problem is only when doing the switch,
   and it works afterwards, or not).
   
   Thank you,
   Oved
   - Original Message -
From: René Koch r.k...@ovido.at
To: users@ovirt.org
Sent: Sunday, January 20, 2013 11:07:13 PM
Subject: [Users] UI Plugin issue when switching main tabs

Hi,

I'm working on an UI plugin to integrate Nagios/Icinga into oVirt
Engine and made some progress, but have an issue when switching
the
main tabs.

I use VirtualMachineSelectionChange to create URL with name of vm
(and HostSelectionChange for hosts).
Name is used in my backend code (Perl) for fetching monitoring
status.

Here's the code of VirtualMachineSelectionChange:

VirtualMachineSelectionChange: function() {
var vmName = arguments[0].name;
alert(vmName);
// Reload VM Sub Tab
api.setTabContentUrl('vms-monitoring', conf.url +
'?subtab=vmsname=' + encodeURIComponent(vmName));
}

Everything works fine as long as I stay in Virtual Machine main
tab.
When switching to e.g. Disks and back to Virtual Machines again
the
JavaScript code of start.html isn't processed anymore (or cached
(?)
as the my generated URL with last vm name will still be sent back
to
my Perl backend) - added alert() to test this.

oVirt Engine version:
ovirt-engine-3.2.0-1.20130118.gitd102d6f.fc18.noarch

Full code of start.hml: http://pastebin.com/iEY6dA6F


Thanks a lot for your help,
René


___
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] latest vdsm cannot read ib device speeds causing storage attach fail

2013-01-22 Thread Dead Horse
Any ideas on this one? (from VDSM log):
Thread-25::DEBUG::2013-01-22
15:35:29,065::BindingXMLRPC::914::vds::(wrapper) client [3.57.111.30]::call
getCapabilities with () {}
Thread-25::ERROR::2013-01-22 15:35:29,113::netinfo::159::root::(speed)
cannot read ib0 speed
Traceback (most recent call last):
  File /usr/lib64/python2.6/site-packages/vdsm/netinfo.py, line 155, in
speed
s = int(file('/sys/class/net/%s/speed' % dev).read())
IOError: [Errno 22] Invalid argument

Causes VDSM to fail to attach storage

Engine side sees:
ERROR [org.ovirt.engine.core.bll.storage.NFSStorageHelper]
(QuartzScheduler_Worker-96) [553ef26e] The connection with details
192.168.0.1:/ovirt/ds failed because of error code 100 and error message
is: general exception
2013-01-22 15:35:30,160 INFO
[org.ovirt.engine.core.bll.SetNonOperationalVdsCommand]
(QuartzScheduler_Worker-96) [1ab78378] Running command:
SetNonOperationalVdsCommand internal: true. Entities affected :  ID:
8970b3fe-1faf-11e2-bc1f-00151712f280 Type: VDS
2013-01-22 15:35:30,200 INFO
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
(QuartzScheduler_Worker-96) [1ab78378] START,
SetVdsStatusVDSCommand(HostName = kezan, HostId =
8970b3fe-1faf-11e2-bc1f-00151712f280, status=NonOperational,
nonOperationalReason=STORAGE_DOMAIN_UNREACHABLE), log id: 4af5c4cd
2013-01-22 15:35:30,211 INFO
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand]
(QuartzScheduler_Worker-96) [1ab78378] FINISH, SetVdsStatusVDSCommand, log
id: 4af5c4cd
2013-01-22 15:35:30,242 ERROR
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(QuartzScheduler_Worker-96) [1ab78378] Try to add duplicate audit log
values with the same name. Type: VDS_SET_NONOPERATIONAL_DOMAIN. Value:
storagepoolname

Engine = latest master
VDSM = latest master
node = el6
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Adding additional network(s)

2013-01-22 Thread Tom Brown
Hi

I am setting up another DC, that is managed by my sole management
node, and this DC will have a requirement that the VM's will need an
additional storage NIC. This NIC is for NFS/CIFS traffic and is
independent of the oVirt VM's disks.

I have cabled the additional physical NIC in the HV's as this network
is non routed storage, and I where to go from here. Whats the next
step needed to add the NIC to the DC and then i presume adding the NIC
to the VM's is straight forward.

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


Re: [Users] UI Plugin issue when switching main tabs

2013-01-22 Thread Oved Ourfalli

- Original Message -
 From: René Koch r.k...@ovido.at
 To: Oved Ourfalli ov...@redhat.com
 Cc: users@ovirt.org
 Sent: Tuesday, January 22, 2013 1:51:58 PM
 Subject: Re: [Users] UI Plugin issue when switching main tabs
 
 
 Thanks a lot for your input - it was really helpfu!
 
 I added a check for argument.length and now it's working as expected.
 The working code is:
 
 VirtualMachineSelectionChange: function() {
   if (arguments.length == 1) {
   var vmName = arguments[0].name;
 alert(vmName);
   // Reload VM Sub Tab
   api.setTabContentUrl('vms-monitoring', conf.url +
   '?subtab=vmsname=' + encodeURIComponent(vmName));
   }
 }
 
 
 Btw, do you know if I can get the name of a host instead the
 hostname/ip?
 arguments[0].name; gives me the IP address (value of webadmin column
 hostname/ip) but not the name (column name) - (I always use ips
 instead of dns names for hypervisors)...
  
I don't think you can currently do that.
The plan is to expose all the attributes of the entity that are exposed via 
REST, also in the plugin api, but currently that's not the case.
Not sure why it doesn't return the name itself (don't know if it is a bug, or 
it is as designed), but anyway, other properties will be exposed in the 
future.

 
 Thanks,
 René
 
 
  
 -Original message-
  From:Oved Ourfalli ov...@redhat.com
  Sent: Tuesday 22nd January 2013 19:34
  To: René Koch r.k...@ovido.at
  Cc: users@ovirt.org
  Subject: Re: [Users] UI Plugin issue when switching main tabs
  
  Found your bug (I think):
  You don't check in your code whether there is a selection (if
  (arguments.length == 1) for example, if you want to act only when
  one is selected).
  
  You'll probably want to do similar logic to the Foreman plugin,
  setting the sub-tab content URL only in case one VM is selected,
  and setting the URL properly.
  
  The fact that your alert won't show is that you call
  arguments[0].name, and it fails when nothing is selected... and I
  guess that's the case when you switch tabs.
  Didn't check it out, but please check it out... and let me know
  what you found :-)
  
  Oved
  
  - Original Message -
   From: René Koch r.k...@ovido.at
   To: Oved Ourfalli ov...@redhat.com
   Cc: users@ovirt.org
   Sent: Monday, January 21, 2013 6:05:47 PM
   Subject: Re: [Users] UI Plugin issue when switching main tabs
   
   When switching back to vm main tab changing the selection doesn't
   work.
   
   No matter which VM I select the VirtualMachineSelectionChange
   function isn't called again (as my debug alert window doesn't
   appear), but the last vm I selected before switching to another
   main
   tab is cached in variable vmName...
   It works again after restarting engine-service.
   
   I just tested your foreman plugin and it seems that this one is
   working as expected.
   
  
   
   Regards,
   René


   -Original message-
From:Oved Ourfalli ov...@redhat.com
Sent: Monday 21st January 2013 14:56
To: René Koch r.k...@ovido.at
Cc: users@ovirt.org; Vojtech Szocs vsz...@redhat.com
Subject: Re: [Users] UI Plugin issue when switching main tabs

I'll let Vojtech (cc-ed) to give a more accurate answer, but,
trying to narrow down the issue: when you switch to a different
main tab and then back to the VM main tab, and change the
selection in there, does it work?
(Trying to understand if the problem is only when doing the
switch,
and it works afterwards, or not).

Thank you,
Oved
- Original Message -
 From: René Koch r.k...@ovido.at
 To: users@ovirt.org
 Sent: Sunday, January 20, 2013 11:07:13 PM
 Subject: [Users] UI Plugin issue when switching main tabs
 
 Hi,
 
 I'm working on an UI plugin to integrate Nagios/Icinga into
 oVirt
 Engine and made some progress, but have an issue when
 switching
 the
 main tabs.
 
 I use VirtualMachineSelectionChange to create URL with name
 of vm
 (and HostSelectionChange for hosts).
 Name is used in my backend code (Perl) for fetching
 monitoring
 status.
 
 Here's the code of VirtualMachineSelectionChange:
 
 VirtualMachineSelectionChange: function() {
 var vmName = arguments[0].name;
 alert(vmName);
 // Reload VM Sub Tab
 api.setTabContentUrl('vms-monitoring', conf.url +
 '?subtab=vmsname=' + encodeURIComponent(vmName));
 }
 
 Everything works fine as long as I stay in Virtual Machine
 main
 tab.
 When switching to e.g. Disks and back to Virtual Machines
 again
 the
 JavaScript code of start.html isn't processed anymore (or
 cached
 (?)
 as the my generated URL with last vm name will still be sent
 back
 to
 my Perl backend) - added alert() to test this.
 
 oVirt Engine version:
 

[Users] Encrypted Admin password error

2013-01-22 Thread Dead Horse
This error appears very frequently in the engine.log.
2013-01-22 15:33:10,837 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
thread 1-5) Failed to decrypt Data must start with zero
2013-01-22 15:33:10,838 ERROR
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service
thread 1-5) Failed to decrypt value for property TruststorePass will be
used encrypted value
2013-01-22 15:33:10,865 ERROR
[org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC service
thread 1-5) Failed to decrypt Data must start with zero
2013-01-22 15:33:10,866 ERROR
[org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC service
thread 1-5) Failed to decrypt value for property AdminPassword will be used
encrypted value


Starting appearing after manual edit to the AdminPassword value in the
database.
Tried using engine-config -s AdminPassword='somepassword' to change it
which always resulted in: cannot set value 'somepassword' to key
AdminPassword.
Hence the manual edit

Any ideas on how to make the engine happy in that regard again?

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


Re: [Users] Encrypted Admin password error

2013-01-22 Thread Alon Bar-Lev


- Original Message -
 From: Dead Horse deadhorseconsult...@gmail.com
 To: users@ovirt.org users@ovirt.org
 Sent: Wednesday, January 23, 2013 12:08:11 AM
 Subject: [Users] Encrypted Admin password error
 
 
 
 
 
 
 
 This error appears very frequently in the engine.log.
 2013-01-22 15:33:10,837 ERROR
 [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
 service thread 1-5) Failed to decrypt Data must start with zero
 2013-01-22 15:33:10,838 ERROR
 [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC
 service thread 1-5) Failed to decrypt value for property
 TruststorePass will be used encrypted value
 2013-01-22 15:33:10,865 ERROR
 [org.ovirt.engine.core.engineencryptutils.EncryptionUtils] (MSC
 service thread 1-5) Failed to decrypt Data must start with zero
 2013-01-22 15:33:10,866 ERROR
 [org.ovirt.engine.core.dal.dbbroker.generic.DBConfigUtils] (MSC
 service thread 1-5) Failed to decrypt value for property
 AdminPassword will be used encrypted value
 
 
 Starting appearing after manual edit to the AdminPassword value in
 the database.
 Tried using engine-config -s AdminPassword='somepassword' to change
 it which always resulted in: cannot set value 'somepassword' to key
 AdminPassword.
 Hence the manual edit
 
 
 Any ideas on how to make the engine happy in that regard again?

Try:
# engine-config -s AdminPassword=interactive

 
 
 - DHC
 
 ___
 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] host deploy and after reboot not responsive

2013-01-22 Thread Gianluca Cecchi
On Tue, Jan 22, 2013 at 9:02 PM, Dan Kenigsberg wrote:
 That's great, as it reduces the question to: why doesn't ntpd start on
 your machine after boot. Do you have any guess? and ntpd logs to share?
 Any peculiar ntp.conf setting?

Hum... I think in Fedora 18 itself and/or due to oVirt setup there is
some conflict regarding network synchronization services

In fact together with standard ntp there is chrony that I didn't know
until today...

My suspect is this one:

- At install time Fedora 18 by default installs now chrony and doesn't
install instead ntpd

In fact my anaconda log in /root
[root@f18ovn03 ~]# ll /root/anaconda-tb-38wvGO
-rw-r--r--. 1 root root 1493714 Dec 18 14:27 /root/anaconda-tb-38wvGO
contains:

14:19:00,759 DEBUG packaging: select package chrony

and no entry for ntp

At this moment chronyd was still enabled as per default at install time:
[root@f18ovn03 ~]# systemctl status chronyd.service
chronyd.service - NTP client/server
 Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled)
 Active: inactive (dead) since Tue, 2013-01-22 14:15:42 CET; 9h ago
Main PID: 1348 (code=exited, status=0/SUCCESS)
 CGroup: name=systemd:/system/chronyd.service

Jan 22 14:15:40 f18ovn03.ceda.polimi.it chronyd[1348]: chronyd version
1.27-git1ca844 starting
Jan 22 14:15:40 f18ovn03.ceda.polimi.it chronyd[1348]: Linux kernel
major=3 minor=6 patch=11
Jan 22 14:15:40 f18ovn03.ceda.polimi.it chronyd[1348]: hz=100
shift_hz=7 freq_scale=1. nominal_tick=1...ll=2
Jan 22 14:15:41 f18ovn03.ceda.polimi.it systemd[1]: Started NTP client/server.
Jan 22 14:15:42 f18ovn03.ceda.polimi.it systemd[1]: Stopping NTP
client/server...
Jan 22 14:15:42 f18ovn03.ceda.polimi.it systemd[1]: Stopped NTP client/server.

- When I ran install of ovirt-engine it pulled in ntp as one of its
dependencies, enabling it
In yum.log in fact I find:

Jan 15 06:05:53 Installed: libvirt-0.10.2.2-3.fc18.x86_64
Jan 15 06:05:53 Installed: mom-0.3.0-1.fc18.noarch
Jan 15 06:05:54 Installed: fence-agents-3.1.10-1.fc18.x86_64
Jan 15 06:05:54 Installed: usbredir-0.6-1.fc18.x86_64
Jan 15 06:05:54 Installed: ipxe-roms-qemu-20120328-2.gitaac9718.fc18.noarch
Jan 15 06:05:55 Installed: 2:qemu-system-x86-1.2.2-1.fc18.x86_64
Jan 15 06:05:55 Installed: 2:qemu-kvm-1.2.2-1.fc18.x86_64
Jan 15 06:05:56 Installed: autogen-libopts-5.12-2.fc17.x86_64
--- Jan 15 06:05:56 Installed: ntp-4.2.6p5-8.fc18.x86_64  --
Jan 15 06:06:02 Installed: vdsm-4.10.3-0.78.gitb005b54.fc18.x86_64
Jan 15 06:06:04 Installed: tuned-2.1.2-1.fc18.noarch
Jan 15 06:06:04 Installed: vdsm-cli-4.10.3-0.78.gitb005b54.fc18.noarch
Jan 15 06:06:04 Installed: 2:qemu-kvm-tools-1.2.2-1.fc18.x86_64

Probably chronyd runs before ntpd and creates conflict.

So I have tested disabling chrony
# systemctl disable chronyd

and re-enabling ntp as a dependency for vdsmd to see if something changes:
Changed /usr/lib/systemd/system/vdsmd.service matching:
Requires=multipathd.service libvirtd.service ntpd.service

Bingo!

After reboot
[root@f18ovn03 ~]# systemctl status ntpd.service
ntpd.service - Network Time Service
 Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled)
 Active: active (running) since Wed, 2013-01-23 00:31:00 CET; 1min 47s ago
Main PID: 1424 (ntpd)
 CGroup: name=systemd:/system/ntpd.service
 └ 1424 /usr/sbin/ntpd -u ntp:ntp -g

Jan 23 00:31:07 f18ovn03 ntpd[1424]: Listen normally on 8 em3
fe80::21c:c4ff:feab:3add UDP 123
Jan 23 00:31:07 f18ovn03. ntpd[1424]: Listen normally on 9 em2
fe80::21e:bff:fe21:b8c6 UDP 123
Jan 23 00:31:07 f18ovn03 ntpd[1424]: Listen normally on 10 em1
fe80::21e:bff:fe21:b8c4 UDP 123
Jan 23 00:31:07 f18ovn03 ntpd[1424]: peers refreshed
...

[root@f18ovn03 ~]# systemctl status vdsmd.service
vdsmd.service - Virtual Desktop Server Manager
 Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
 Active: active (running) since Wed, 2013-01-23 00:31:10 CET; 2min 25s ago
Process: 1434 ExecStart=/lib/systemd/systemd-vdsmd start (code=exited,
status=0/SUCCESS)
Main PID: 2778 (respawn)
 CGroup: name=systemd:/system/vdsmd.service
 ├ 2778 /bin/bash -e /usr/share/vdsm/respawn --minlifetime 10 --daemon
--masterpid /var/run/vdsm/r...
 ├ 2781 /usr/bin/python /usr/share/vdsm/vdsm
 ├ 2801 /usr/bin/sudo -n /usr/bin/python
/usr/share/vdsm/supervdsmServer.py 95a1f3e1-8c0d-4efe-a65...
 ├ 2802 /usr/bin/python /usr/share/vdsm/supervdsmServer.py
95a1f3e1-8c0d-4efe-a65a-c5af1c7f4d61 27...
 ├ 3035 rpc.statd --no-notify
 ├ 3041 /usr/bin/python /usr/share/vdsm/storage/remoteFileHandler.pyc 31 30
 ├ 3214 /usr/bin/python /usr/share/vdsm/storage/remoteFileHandler.pyc 44 43
 ├ 3216 /usr/bin/python /usr/share/vdsm/storage/remoteFileHandler.pyc 49 46
 └ 3229 /usr/bin/python /usr/share/vdsm/storage/remoteFileHandler.pyc 37 34

Jan 23 00:31:38 f18ovn03 rpc.statd[3035]: Version 1.2.7 starting
Jan 23 00:31:38 f18ovn03 rpc.statd[3035]: Flags: TI-RPC
...

I also modified ntp.conf commenting out
#server 0.fedora.pool.ntp.org iburst
#server 1.fedora.pool.ntp.org iburst

Re: [Users] host deploy and after reboot not responsive

2013-01-22 Thread Alon Bar-Lev
This is nice to know

otopi is ready:

commit d756b789d60934f935718ff25f8208f563b0f123
Author: Alon Bar-Lev alo...@redhat.com
Date:   Wed Jan 23 02:27:51 2013 +0200

system: clock: support chrony as ntpd

Change-Id: I2917bdd8248eb0b123f6b2cca875820f2cac664c
Signed-off-by: Alon Bar-Lev alo...@redhat.com

http://gerrit.ovirt.org/#/c/11288/

- Original Message -
 From: Gianluca Cecchi gianluca.cec...@gmail.com
 To: Dan Kenigsberg dan...@redhat.com
 Cc: Adam Litke a...@us.ibm.com, Alon Bar-Lev alo...@redhat.com, 
 users users@ovirt.org
 Sent: Wednesday, January 23, 2013 1:50:59 AM
 Subject: Re: [Users] host deploy and after reboot not responsive
 
 On Tue, Jan 22, 2013 at 9:02 PM, Dan Kenigsberg wrote:
  That's great, as it reduces the question to: why doesn't ntpd start
  on
  your machine after boot. Do you have any guess? and ntpd logs to
  share?
  Any peculiar ntp.conf setting?
 
 Hum... I think in Fedora 18 itself and/or due to oVirt setup there is
 some conflict regarding network synchronization services
 
 In fact together with standard ntp there is chrony that I didn't know
 until today...
 
 My suspect is this one:
 
 - At install time Fedora 18 by default installs now chrony and
 doesn't
 install instead ntpd
 
 In fact my anaconda log in /root
 [root@f18ovn03 ~]# ll /root/anaconda-tb-38wvGO
 -rw-r--r--. 1 root root 1493714 Dec 18 14:27 /root/anaconda-tb-38wvGO
 contains:
 
 14:19:00,759 DEBUG packaging: select package chrony
 
 and no entry for ntp
 
 At this moment chronyd was still enabled as per default at install
 time:
 [root@f18ovn03 ~]# systemctl status chronyd.service
 chronyd.service - NTP client/server
  Loaded: loaded (/usr/lib/systemd/system/chronyd.service; enabled)
  Active: inactive (dead) since Tue, 2013-01-22 14:15:42 CET; 9h ago
 Main PID: 1348 (code=exited, status=0/SUCCESS)
  CGroup: name=systemd:/system/chronyd.service
 
 Jan 22 14:15:40 f18ovn03.ceda.polimi.it chronyd[1348]: chronyd
 version
 1.27-git1ca844 starting
 Jan 22 14:15:40 f18ovn03.ceda.polimi.it chronyd[1348]: Linux kernel
 major=3 minor=6 patch=11
 Jan 22 14:15:40 f18ovn03.ceda.polimi.it chronyd[1348]: hz=100
 shift_hz=7 freq_scale=1. nominal_tick=1...ll=2
 Jan 22 14:15:41 f18ovn03.ceda.polimi.it systemd[1]: Started NTP
 client/server.
 Jan 22 14:15:42 f18ovn03.ceda.polimi.it systemd[1]: Stopping NTP
 client/server...
 Jan 22 14:15:42 f18ovn03.ceda.polimi.it systemd[1]: Stopped NTP
 client/server.
 
 - When I ran install of ovirt-engine it pulled in ntp as one of its
 dependencies, enabling it
 In yum.log in fact I find:
 
 Jan 15 06:05:53 Installed: libvirt-0.10.2.2-3.fc18.x86_64
 Jan 15 06:05:53 Installed: mom-0.3.0-1.fc18.noarch
 Jan 15 06:05:54 Installed: fence-agents-3.1.10-1.fc18.x86_64
 Jan 15 06:05:54 Installed: usbredir-0.6-1.fc18.x86_64
 Jan 15 06:05:54 Installed:
 ipxe-roms-qemu-20120328-2.gitaac9718.fc18.noarch
 Jan 15 06:05:55 Installed: 2:qemu-system-x86-1.2.2-1.fc18.x86_64
 Jan 15 06:05:55 Installed: 2:qemu-kvm-1.2.2-1.fc18.x86_64
 Jan 15 06:05:56 Installed: autogen-libopts-5.12-2.fc17.x86_64
 --- Jan 15 06:05:56 Installed: ntp-4.2.6p5-8.fc18.x86_64  --
 Jan 15 06:06:02 Installed: vdsm-4.10.3-0.78.gitb005b54.fc18.x86_64
 Jan 15 06:06:04 Installed: tuned-2.1.2-1.fc18.noarch
 Jan 15 06:06:04 Installed:
 vdsm-cli-4.10.3-0.78.gitb005b54.fc18.noarch
 Jan 15 06:06:04 Installed: 2:qemu-kvm-tools-1.2.2-1.fc18.x86_64
 
 Probably chronyd runs before ntpd and creates conflict.
 
 So I have tested disabling chrony
 # systemctl disable chronyd
 
 and re-enabling ntp as a dependency for vdsmd to see if something
 changes:
 Changed /usr/lib/systemd/system/vdsmd.service matching:
 Requires=multipathd.service libvirtd.service ntpd.service
 
 Bingo!
 
 After reboot
 [root@f18ovn03 ~]# systemctl status ntpd.service
 ntpd.service - Network Time Service
  Loaded: loaded (/usr/lib/systemd/system/ntpd.service; enabled)
  Active: active (running) since Wed, 2013-01-23 00:31:00 CET; 1min
  47s ago
 Main PID: 1424 (ntpd)
  CGroup: name=systemd:/system/ntpd.service
  └ 1424 /usr/sbin/ntpd -u ntp:ntp -g
 
 Jan 23 00:31:07 f18ovn03 ntpd[1424]: Listen normally on 8 em3
 fe80::21c:c4ff:feab:3add UDP 123
 Jan 23 00:31:07 f18ovn03. ntpd[1424]: Listen normally on 9 em2
 fe80::21e:bff:fe21:b8c6 UDP 123
 Jan 23 00:31:07 f18ovn03 ntpd[1424]: Listen normally on 10 em1
 fe80::21e:bff:fe21:b8c4 UDP 123
 Jan 23 00:31:07 f18ovn03 ntpd[1424]: peers refreshed
 ...
 
 [root@f18ovn03 ~]# systemctl status vdsmd.service
 vdsmd.service - Virtual Desktop Server Manager
  Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled)
  Active: active (running) since Wed, 2013-01-23 00:31:10 CET; 2min
  25s ago
 Process: 1434 ExecStart=/lib/systemd/systemd-vdsmd start
 (code=exited,
 status=0/SUCCESS)
 Main PID: 2778 (respawn)
  CGroup: name=systemd:/system/vdsmd.service
  ├ 2778 /bin/bash -e /usr/share/vdsm/respawn --minlifetime 10
  --daemon
 --masterpid /var/run/vdsm/r...
  ├ 2781 

Re: [Users] Create ISO domain from scratch? Not attached, create!

2013-01-22 Thread No Reply
I have a functional data domain, NFS based.  So this is not an issue of where 
the storage domain is offline, nor is the cluster nor the datacenter.  I can 
create a VM, and start it if so desired.  And as Alex asked... there is no 
existing ISO domain, that is what I am trying to create!  I don't want to 
attach an existing ISO domain, I want to create an ISO domain, and the GUI will 
not allow that option... not even listed as an option.  As I said before in 
RHEV 3.0 and/or oVirt 3.0... this could be done, but in 3.1 something is 
blocking any attempt to select the type as ISO or even as an EXPORT domain the 
type drop down list shows DATA only type, nothing else.

The backing store to the data domain is just Fedora 17 based NFS, with several 
exports, all identical.  There is nothing unique or custom in this setup, that 
is why this is such a mystery.  I take it, by SPM you mean the Storage Pool 
Master?  The first data domain, NFS DATA based, is the functional master for 
the datacenter.  I am using the existing DEFAULT datacenter and DEFAULT cluster 
objects, I did not as yet create any additional objects of said types.  Not 
going to increase the complexity of the environment until I get this issue 
understood and resolved.


-Original Message-
From: Haim Ateya [mailto:hat...@redhat.com] 
Sent: Tuesday, January 22, 2013 09:42
To: No Reply
Cc: users@ovirt.org
Subject: Re: [Users] Create ISO domain from scratch? Not attached, create!

Hi,

generally speaking, you should be able to create an EXPORT\ISO domain and 
attach it to the current data-center, if you can't it just means that there is 
no working data domain and pool is not initialised. 
please make sure pool (data-center) status is up and running, one of the hosts 
is functioning as SPM.

Haim
- Original Message -
 From: No Reply no-re...@dc.rr.com
 To: users@ovirt.org
 Sent: Monday, January 21, 2013 8:50:43 PM
 Subject: [Users] Create ISO domain from scratch?  Not attached, create!
 
 Ok, this one has me scratching my head... Have existing oVirt 3.1 
 environment, based on Fedora 17, storage resource is NFS, also based 
 on Fedora 17.  Can create NFS storage domain, no problem.  But when 
 the environment was setup initially, no (local) ISO domain as created.
  Now,
 under oVirt engine 3.1, the option to create a storage type under 
 domain function, only allows for creation of data type domain, only 
 type in the drop down list is DATA/NFS?  What gives?  It used to be 
 3.0 and older, you could select the storage type as Data or ISO!  
 Anyone have this issue as well?  Any help appreciated.
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 

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


[Users] oVirt engine migration howto and some doubts

2013-01-22 Thread Adrian Gibanel
A happy update on my ovirt-engine migration quest. 

I've finally convinced myself that I had to change oVirt-engine hostname with 
all these certificate instructions that jhernand mentioned. 

My doubts are about the passwords mentioned in: 
http://wiki.ovirt.org/How_to_change_engine_host_name 
Are you supposed to change them? Or some of them are somehow default oVirt 
passwords? 

So I've finally do it. oVirt-engine seems to find again all its hosts. I 
haven't tried to interact with virtual machines (too late right now here) but 
everything seems ok. 

The oVirt engine migration howto is found here: 

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

The only thing that bothers me is finding: 

WARN [org.ovirt.engine.core.bll.GetConfigurationValueQuery] 
(ajp--0.0.0.0-8009-6) calling GetConfigurationValueQuery (SearchResultsLimit) 
with null version, using default general for version 

at engine.log. It might have been always there in the OldAIO but just noticed 
right now? Should I bother? 

Some thoughts: 

* An extra step that nobody predicted was opening ports so that vdsm, libvirt 
tls, guest consoles, migration and snmp were available. It would seem AIO 
firewall setup doesn't open them by default and I understand it why... because 
it's locally, although not opening migration ports makes me think if we cannot 
achieve migration on default AIO installation. Maybe it's a bug on the 
all-in-one script that prepares the engine-setup execution? 

* As I've commented I'm glad that oVirt 3.2 database dump script let's you 
select a file and doesn't save a fixed filename one.

Feedback is welcome so that the wiki page can be improved. Maybe someone can 
rewrite it to adapt it to official oVirt language and official oVirt wiki style.


- Mensaje original - 

 De: Adrian Gibanel adrian.giba...@btactic.com
 Para: users users@ovirt.org
 CC: Itamar Heim ih...@redhat.com, dfedi...@redhat.com
 Enviados: Martes, 22 de Enero 2013 2:48:47
 Asunto: Help on an almost migrated ovirt-engine

 I need to migrate an ovirt-engine from an All-In-One (AIO) setup to a
 dedicated machine.

 So with an old mailing message I've tried to do it but not finished
 yet, that's why I ask for help.

 I've written a wiki page for the experience so that it becomes a
 howto which can be found here:

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

-- 

-- 
Adrián Gibanel 
I.T. Manager 

+34 675 683 301 
www.btactic.com 



Ens podeu seguir a/Nos podeis seguir en: 

i 


Abans d´imprimir aquest missatge, pensa en el medi ambient. El medi ambient és 
cosa de tothom. / Antes de imprimir el mensaje piensa en el medio ambiente. El 
medio ambiente es cosa de todos. 

AVIS: 
El contingut d'aquest missatge i els seus annexos és confidencial. Si no en sou 
el destinatari, us fem saber que està prohibit utilitzar-lo, divulgar-lo i/o 
copiar-lo sense tenir l'autorització corresponent. Si heu rebut aquest missatge 
per error, us agrairem que ho feu saber immediatament al remitent i que 
procediu a destruir el missatge . 

AVISO: 
El contenido de este mensaje y de sus anexos es confidencial. Si no es el 
destinatario, les hacemos saber que está prohibido utilizarlo, divulgarlo y/o 
copiarlo sin tener la autorización correspondiente. Si han recibido este 
mensaje por error, les agradeceríamos que lo hagan saber inmediatamente al 
remitente y que procedan a destruir el mensaje . 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] [vdsm] setupNetworks failure - Host non-operational

2013-01-22 Thread Mark Wu

On 01/22/2013 08:56 PM, Deepak C Shetty wrote:

Hi All,
I have a multi-VM setup, where I have ovirt engine on one VM and 
VDSM host on another.
Discovering the host from the engine puts the host in Unassigned 
state, with the error saying 'ovirtmgmt' network not found.


When i select setupNetworks and drag-drop the ovirtmgmt to setup over 
eth0, i see the below error in VDSM  host goes to non-operataional 
state.


I tried the steps mentioned by Alon in 
http://lists.ovirt.org/pipermail/users/2012-December/011257.html

but still see the same error

= dump from vdsm.log 

MainProcess|Thread-23::ERROR::2013-01-22 
18:25:53,496::configNetwork::1438::setupNetworks::(setupNetworks) 
Requested operation is not valid: cannot set autostart for transient 
network

Traceback (most recent call last):
  File /usr/share/vdsm/configNetwork.py, line 1420, in setupNetworks
implicitBonding=True, **d)
  File /usr/share/vdsm/configNetwork.py, line 1030, in addNetwork
configWriter.createLibvirtNetwork(network, bridged, iface)
  File /usr/share/vdsm/configNetwork.py, line 208, in 
createLibvirtNetwork

self._createNetwork(netXml)
  File /usr/share/vdsm/configNetwork.py, line 192, in _createNetwork
net.setAutostart(1)
  File /usr/lib64/python2.7/site-packages/libvirt.py, line 2148, in 
setAutostart
if ret == -1: raise libvirtError ('virNetworkSetAutostart() 
failed', net=self)
libvirtError: Requested operation is not valid: cannot set autostart 
for transient network
MainProcess|Thread-23::ERROR::2013-01-22 
18:25:53,502::supervdsmServer::77::SuperVdsm.ServerCallback::(wrapper) 
Error in setupNetworks

Traceback (most recent call last):
  File /usr/share/vdsm/supervdsmServer.py, line 75, in wrapper
return func(*args, **kwargs)
  File /usr/share/vdsm/supervdsmServer.py, line 170, in setupNetworks
return configNetwork.setupNetworks(networks, bondings, **options)
  File /usr/share/vdsm/configNetwork.py, line 1420, in setupNetworks
implicitBonding=True, **d)
  File /usr/share/vdsm/configNetwork.py, line 1030, in addNetwork
configWriter.createLibvirtNetwork(network, bridged, iface)
  File /usr/share/vdsm/configNetwork.py, line 208, in 
createLibvirtNetwork

self._createNetwork(netXml)
  File /usr/share/vdsm/configNetwork.py, line 192, in _createNetwork
net.setAutostart(1)
  File /usr/lib64/python2.7/site-packages/libvirt.py, line 2148, in 
setAutostart
if ret == -1: raise libvirtError ('virNetworkSetAutostart() 
failed', net=self)
libvirtError: Requested operation is not valid: cannot set autostart 
for transient network
If you just run vdsm to test the functions not related to network, you 
could just disable the libvirt default network before you start up the 
vdsm service.

I



___
vdsm-devel mailing list
vdsm-de...@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/vdsm-devel


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


Re: [Users] adding multiple interfaces with different networks

2013-01-22 Thread Mike Kolesnik
- Original Message -

 Hi

 I have exactly the same issue.
 This mean that a 1Gb (at least) interface must be dedicated to the
 ovirtmgmt interface, which is not a good idea.

Can you please try marking the ovirtmgmt network as non-vm network, syncing 
it with the hosts, and then try to add VLAN networks on the same bond (or 
interface)? 

You should probably do this with latest versions of oVirt/VDSM. 

 Kevin

 2012/12/26 Jonathan Horne  jho...@skopos.us 

  2012-12-26 16:48:56,416 ERROR
  [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
  (ajp--0.0.0.0-8009-8) [2d2d6184] Failed in SetupNetworksVDS method
 
  2012-12-26 16:48:56,417 ERROR
  [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
  (ajp--0.0.0.0-8009-8) [2d2d6184] Error code ERR_BAD_BONDING and
  error message VDSGenericException: VDSErrorException: Failed to
  SetupNetworksVDS, error = bonding 'bond2' is already member of
  network 'ovirtmgmt'
 
  2012-12-26 16:48:56,418 ERROR
  [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
  (ajp--0.0.0.0-8009-8) [2d2d6184]
  org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
  VDSGenericException: VDSErrorException: Failed to SetupNetworksVDS,
  error = bonding 'bond2' is already member of network 'ovirtmgmt'
 
  2012-12-26 16:48:56,418 ERROR
  [org.ovirt.engine.core.vdsbroker.VDSCommandBase]
  (ajp--0.0.0.0-8009-8) [2d2d6184] Command SetupNetworksVDS execution
  failed. Exception: RuntimeException:
  org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException:
  VDSGenericException: VDSErrorException: Failed to SetupNetworksVDS,
  error = bonding 'bond2' is already member of network 'ovirtmgmt'
 

  so im guessing… i can't have my vlan3204 or vlan3202 share an
  interface with ovirtmgmt?
 

  [root@d0lppc021 ~]# rpm -qa|grep ovirt
 
  ovirt-engine-webadmin-portal-3.1.0-3.19.el6.noarch
 
  ovirt-engine-cli-3.1.0.7-1.el6.noarch
 
  ovirt-image-uploader-3.1.0-16.el6.noarch
 
  ovirt-engine-backend-3.1.0-3.19.el6.noarch
 
  ovirt-engine-tools-common-3.1.0-3.19.el6.noarch
 
  ovirt-iso-uploader-3.1.0-16.el6.noarch
 
  ovirt-engine-genericapi-3.1.0-3.19.el6.noarch
 
  ovirt-engine-config-3.1.0-3.19.el6.noarch
 
  ovirt-log-collector-3.1.0-16.el6.noarch
 
  ovirt-engine-restapi-3.1.0-3.19.el6.noarch
 
  ovirt-engine-userportal-3.1.0-3.19.el6.noarch
 
  ovirt-engine-notification-service-3.1.0-3.19.el6.noarch
 
  ovirt-engine-dbscripts-3.1.0-3.19.el6.noarch
 
  ovirt-engine-3.1.0-3.19.el6.noarch
 
  ovirt-engine-jbossas711-1-0.x86_64
 
  ovirt-engine-setup-3.1.0-3.19.el6.noarch
 
  ovirt-engine-sdk-3.1.0.5-1.el6.noarch
 

  This is a PRIVATE message. If you are not the intended recipient,
  please delete without copying and kindly advise us by e-mail of the
  mistake in delivery. NOTE: Regardless of content, this e-mail shall
  not operate to bind SKOPOS to any order or other contract unless
  pursuant to explicit written agreement or government initiative
  expressly permitting the use of e-mail for such purpose.
 
  ___
 
  Users mailing list
 
  Users@ovirt.org
 
  http://lists.ovirt.org/mailman/listinfo/users
 

 --

 Kevin Mazière
 Responsable Infrastructure
 Alter Way – Hosting
 1 rue Royal - 227 Bureaux de la Colline
 92213 Saint-Cloud Cedex
 Tél : +33 (0)1 41 16 38 41
 Mob : +33 (0)7 62 55 57 05
 http://www.alterway.fr
 ___
 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] Adding additional network(s)

2013-01-22 Thread Mike Kolesnik
- Original Message -
 Hi

Hi Tom

 
 I am setting up another DC, that is managed by my sole management
 node, and this DC will have a requirement that the VM's will need an
 additional storage NIC. This NIC is for NFS/CIFS traffic and is
 independent of the oVirt VM's disks.
 
 I have cabled the additional physical NIC in the HV's as this network
 is non routed storage, and I where to go from here. Whats the next
 step needed to add the NIC to the DC and then i presume adding the
 NIC
 to the VM's is straight forward.

You should add another network fior this to the DC  attach it to the 
cluster(s) where the VMs needing it are defined.
At this point you should be able to create virtual NICs in the VMs that use 
this network.
Then you should set it up on the hosts that have this NIC.

If not all hosts in the cluster have this connection then you should attach the 
network as not required.

Regard,
Mike

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