[Users] Fedora 18 nightly repository fails repository closure check

2013-08-09 Thread Sandro Bonazzola
# repoclosure -l fedora -l updates -l updates-testing -r ovirt-nightly
Reading in repository metadata - please wait
Checking Dependencies
Repos looked at: 4
   fedora
   ovirt-nightly
   updates
   updates-testing
Num Packages in Repos: 61682
package: otopi-java-1.1.0-0.2.master.20130731.git3d363a1.fc18.noarch
from ovirt-nightly
  unresolved deps:
 otopi = 0:1.1.0-0.2.master.20130731.git3d363a1.fc18
package:
ovirt-engine-3.3.0-0.2.master.20130805151704.git8162a13.fc18.noarch from
ovirt-nightly
  unresolved deps:
 ovirt-engine-restapi =
0:3.3.0-0.2.master.20130805151704.git8162a13.fc18
package:
ovirt-engine-backend-3.3.0-0.2.master.20130804202900.gitf90d53f.fc18.noarch
from ovirt-nightly
  unresolved deps:
 ovirt-engine = 0:3.3.0-0.2.master.20130804202900.gitf90d53f.fc18
package:
ovirt-engine-webadmin-portal-3.3.0-0.2.master.20130804202900.gitf90d53f.fc18.noarch
from ovirt-nightly
  unresolved deps:
 ovirt-engine = 0:3.3.0-0.2.master.20130804202900.gitf90d53f.fc18
package: vdsm-4.12.0-33.git87e61a0.fc18.x86_64 from ovirt-nightly
  unresolved deps:
 libvirt-daemon = 0:1.0.2-1
package: vdsm-4.12.0-42.gitef69a2e.fc18.x86_64 from ovirt-nightly
  unresolved deps:
 libvirt-daemon = 0:1.0.2-1
package: vdsm-4.12.0-43.gitfc0798e.fc18.x86_64 from ovirt-nightly
  unresolved deps:
 libvirt-daemon = 0:1.0.2-1
package: vdsm-jsonrpc-4.12.0-26.git5717090.fc18.noarch from ovirt-nightly
  unresolved deps:
 vdsm-python = 0:4.12.0-26.git5717090.fc18
package: vdsm-reg-4.12.0-18.git78903dd.fc18.noarch from ovirt-nightly
  unresolved deps:
 vdsm = 0:4.12.0-18.git78903dd.fc18
package: vdsm-reg-4.12.0-26.git5717090.fc18.noarch from ovirt-nightly
  unresolved deps:
 vdsm = 0:4.12.0-26.git5717090.fc18
package: vdsm-tests-4.12.0-18.git78903dd.fc18.noarch from ovirt-nightly
  unresolved deps:
 vdsm = 0:4.12.0-18.git78903dd.fc18
package: vdsm-tests-4.12.0-26.git5717090.fc18.noarch from ovirt-nightly
  unresolved deps:
 vdsm = 0:4.12.0-26.git5717090.fc18
package: vdsm-xmlrpc-4.12.0-18.git78903dd.fc18.noarch from ovirt-nightly
  unresolved deps:
 vdsm-python = 0:4.12.0-18.git78903dd.fc18
package: vdsm-xmlrpc-4.12.0-26.git5717090.fc18.noarch from ovirt-nightly
  unresolved deps:
 vdsm-python = 0:4.12.0-26.git5717090.fc18

-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Fedora 19 nightly repository fails repository closure check

2013-08-09 Thread Sandro Bonazzola
# repoclosure -l fedora -l updates -l updates-testing -r ovirt-nightly
Reading in repository metadata - please wait
Checking Dependencies
Repos looked at: 4
   fedora
   ovirt-nightly
   updates
   updates-testing
Num Packages in Repos: 49369
package:
ovirt-engine-reports-3.3.0-0.2.master.20130803235659.fc19.noarch from
ovirt-nightly
  unresolved deps:
 jasperreports-server = 0:4.7.0
-- 
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] All VMs disappeared

2013-08-09 Thread Jakub Bittner

Hello,

Iam running ovirt 3.3.0.beta1 on centos 6,4 and all our VMs disappeared 
from VMs tab. Nodes running on centos too. Repeating problem in log is:



2013-08-09 09:44:24,203 WARN 
[org.ovirt.engine.core.vdsbroker.VdsManager] 
(DefaultQuartzScheduler_Worker-45) Failed to refresh VDS , vds = 
7cb6aedf-47bc-40b0-877f-2a537fca5c64 : node2.x.com, error = 
java.lang.NullPointerException, continuing.: java.lang.NullPointerException
at 
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.proceedGuaranteedMemoryCheck(VdsUpdateRunTimeInfo.java:1313) 
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVmStats(VdsUpdateRunTimeInfo.java:968) 
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVdsRunTimeInfo(VdsUpdateRunTimeInfo.java:542) 
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.Refresh(VdsUpdateRunTimeInfo.java:383) 
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.VdsManager.OnTimer(VdsManager.java:237) 
[vdsbroker.jar:]
at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown 
Source) [:1.7.0_25]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
[rt.jar:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606) 
[rt.jar:1.7.0_25]
at 
org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60) 
[scheduler.jar:]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213) 
[quartz.jar:]
at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 
[quartz.jar:]


2013-08-09 09:44:27,039 WARN 
[org.ovirt.engine.core.vdsbroker.VdsManager] 
(DefaultQuartzScheduler_Worker-47) Failed to refresh VDS , vds = 
653e34a6-6b7e-4757-9042-dc02e7a0cddf : node3.x.com, error = 
java.lang.NullPointerException, continuing.: java.lang.NullPointerException
at 
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.proceedGuaranteedMemoryCheck(VdsUpdateRunTimeInfo.java:1313) 
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVmStats(VdsUpdateRunTimeInfo.java:968) 
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVdsRunTimeInfo(VdsUpdateRunTimeInfo.java:542) 
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.Refresh(VdsUpdateRunTimeInfo.java:383) 
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.VdsManager.OnTimer(VdsManager.java:237) 
[vdsbroker.jar:]
at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown 
Source) [:1.7.0_25]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
[rt.jar:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606) 
[rt.jar:1.7.0_25]
at 
org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60) 
[scheduler.jar:]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213) 
[quartz.jar:]
at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 
[quartz.jar:]

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


Re: [Users] Automating the manual labour between us admins and our potential customers (orderportal)

2013-08-09 Thread Koch (ovido)
Hi Karli,

Thanks a lot for sharing the code of your orderportal! I think this
portal is really useful for providing a easier method to create/order
new virtual machines as the (extended) user portal already does.

I'll try it out and maybe will have some questions.
First question right now: is and if yes how is your software licensed?


Regards,
René



On Thu, 2013-08-08 at 11:42 +, Karli Sjöberg wrote:
 Hi everyone!
 
 Here´s a little something I´ve been tinkering on for some time now;
 the oVirt orderportal!
 
 I had the idea that if you somehow could get users to order resources
 and give them the ability to, for themselves, take care of their VM´s
 lifecycle without ever having to involve us then that´s what I´d call
 a win-win situation; they get VM´s and we don´t have to lift a finger
 while cashing in on the profits;) While you could just give everyone a
 quota and let them install VM's on their own, those installation would
 most likely lack some of the extra quality that we as experts can
 provide, like to make sure they are domain connected, are
 automatically updated and so on.
 
 The basic idea is to have, first of all, a domain (in our case it´s MS
 Active Directory) where all of your customers are stored so that they
 are able to just use their regular accounts when ordering and
 administering their resources, and a mail-server that can send the
 confirmations out directly to them. Then it´s our job as admins to fix
 up some templates so that it´s possible to spin up new VM's fast and
 effortlessly enough. Another one of the things that enables this
 solution is to have dynamic DNS activated on the network where these
 VM's are located so that they can just be called something, e.g. based
 on their MAC address, like we do. That way, you are able to anticipate
 what their domain name is going to be. You then register an alias for
 that domain name with the alias name of whatever the customer wanted
 it to be called. Create a domain user that you use to connect all of
 these VM´s to the domain when the template machines start up, so that
 your customers can log in to their VM's with their regular domain
 accounts. And create a role in oVirt that you assign to this manager
 that is only permitted to do what it´s supposed to be doing, and
 nothing else; create VM, take snapshot, assign permissions, etc.
 
 What´s needed to get up and running with all of this?
 - A LOT!:S Thing is, I´ve done this so that it basically just works
 for us™, and not much done about making the code dynamic or flexible
 so you´re going to have to dig in and mod all of the config files so
 that it fits your situation accordingly. But I thought that since the
 basic grunt work is done, I might as well share it so that if anyone
 else gets the same idea, they won´t have to invent the entire wheel
 all over again, they´ll just have to make my wheel fit into their
 car:)
 
 Anyone who decides they´d like a shot at this, I´ll be more than happy
 helping with any questions you might have.
 
 Big thanks to you developers, who gave me directions about how to use
 the PythonSDK! I´d also like to give my warmest thanks to the guys at
 paperboardinc, especially Ning, who helped fixing up the
 authentication popup. Having an orderportal without an authentication
 would have been waaay to naive for anyone to stomach:)
 
 Screenshots are attached.
 
 -- 
 
 Med Vänliga Hälsningar
 ---
 Karli Sjöberg
 Swedish University of Agricultural Sciences
 Box 7079 (Visiting Address Kronåsvägen 8)
 S-750 07 Uppsala, Sweden
 Phone:  +46-(0)18-67 15 66
 karli.sjob...@slu.se 
 ___
 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] All VMs disappeared

2013-08-09 Thread Jakub Bittner

Dne 9.8.2013 09:48, Jakub Bittner napsal(a):

Hello,

Iam running ovirt 3.3.0.beta1 on centos 6,4 and all our VMs 
disappeared from VMs tab. Nodes running on centos too. Repeating 
problem in log is:



2013-08-09 09:44:24,203 WARN 
[org.ovirt.engine.core.vdsbroker.VdsManager] 
(DefaultQuartzScheduler_Worker-45) Failed to refresh VDS , vds = 
7cb6aedf-47bc-40b0-877f-2a537fca5c64 : node2.x.com, error = 
java.lang.NullPointerException, continuing.: 
java.lang.NullPointerException
at 
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.proceedGuaranteedMemoryCheck(VdsUpdateRunTimeInfo.java:1313) 
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVmStats(VdsUpdateRunTimeInfo.java:968) 
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVdsRunTimeInfo(VdsUpdateRunTimeInfo.java:542) 
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.Refresh(VdsUpdateRunTimeInfo.java:383) 
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.VdsManager.OnTimer(VdsManager.java:237) [vdsbroker.jar:] 

at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown 
Source) [:1.7.0_25]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
[rt.jar:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606) 
[rt.jar:1.7.0_25]
at 
org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60) 
[scheduler.jar:]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213) 
[quartz.jar:]
at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 
[quartz.jar:]


2013-08-09 09:44:27,039 WARN 
[org.ovirt.engine.core.vdsbroker.VdsManager] 
(DefaultQuartzScheduler_Worker-47) Failed to refresh VDS , vds = 
653e34a6-6b7e-4757-9042-dc02e7a0cddf : node3.x.com, error = 
java.lang.NullPointerException, continuing.: 
java.lang.NullPointerException
at 
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.proceedGuaranteedMemoryCheck(VdsUpdateRunTimeInfo.java:1313) 
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVmStats(VdsUpdateRunTimeInfo.java:968) 
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVdsRunTimeInfo(VdsUpdateRunTimeInfo.java:542) 
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.Refresh(VdsUpdateRunTimeInfo.java:383) 
[vdsbroker.jar:]
at 
org.ovirt.engine.core.vdsbroker.VdsManager.OnTimer(VdsManager.java:237) [vdsbroker.jar:] 

at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown 
Source) [:1.7.0_25]
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
[rt.jar:1.7.0_25]
at java.lang.reflect.Method.invoke(Method.java:606) 
[rt.jar:1.7.0_25]
at 
org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60) 
[scheduler.jar:]
at org.quartz.core.JobRunShell.run(JobRunShell.java:213) 
[quartz.jar:]
at 
org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) 
[quartz.jar:]

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
I restarted management node and both nodes and this problem disappeared. 
But I still can not see any VMs.

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


Re: [Users] All VMs disappeared

2013-08-09 Thread Laszlo Hornyak
Hi Jakub,

Could you check through DB or REST-API if the VM's are in your DB?
select * from vm_static;
or
curl -u admin@internal:blablabla [engine-url]api/vms

It seems Noam fixed this issue already in 
c2295c31fa645e1ba1b94cd557bd1fecb40c8829.

Thank you,
Laszlo

- Original Message -
 From: Jakub Bittner j.bitt...@nbu.cz
 To: users@ovirt.org
 Sent: Friday, August 9, 2013 1:06:53 PM
 Subject: Re: [Users] All VMs disappeared
 
 Dne 9.8.2013 09:48, Jakub Bittner napsal(a):
  Hello,
 
  Iam running ovirt 3.3.0.beta1 on centos 6,4 and all our VMs
  disappeared from VMs tab. Nodes running on centos too. Repeating
  problem in log is:
 
 
  2013-08-09 09:44:24,203 WARN
  [org.ovirt.engine.core.vdsbroker.VdsManager]
  (DefaultQuartzScheduler_Worker-45) Failed to refresh VDS , vds =
  7cb6aedf-47bc-40b0-877f-2a537fca5c64 : node2.x.com, error =
  java.lang.NullPointerException, continuing.:
  java.lang.NullPointerException
  at
  org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.proceedGuaranteedMemoryCheck(VdsUpdateRunTimeInfo.java:1313)
  [vdsbroker.jar:]
  at
  org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVmStats(VdsUpdateRunTimeInfo.java:968)
  [vdsbroker.jar:]
  at
  org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVdsRunTimeInfo(VdsUpdateRunTimeInfo.java:542)
  [vdsbroker.jar:]
  at
  org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.Refresh(VdsUpdateRunTimeInfo.java:383)
  [vdsbroker.jar:]
  at
  org.ovirt.engine.core.vdsbroker.VdsManager.OnTimer(VdsManager.java:237)
  [vdsbroker.jar:]
 
  at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown
  Source) [:1.7.0_25]
  at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [rt.jar:1.7.0_25]
  at java.lang.reflect.Method.invoke(Method.java:606)
  [rt.jar:1.7.0_25]
  at
  org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60)
  [scheduler.jar:]
  at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
  [quartz.jar:]
  at
  org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
  [quartz.jar:]
 
  2013-08-09 09:44:27,039 WARN
  [org.ovirt.engine.core.vdsbroker.VdsManager]
  (DefaultQuartzScheduler_Worker-47) Failed to refresh VDS , vds =
  653e34a6-6b7e-4757-9042-dc02e7a0cddf : node3.x.com, error =
  java.lang.NullPointerException, continuing.:
  java.lang.NullPointerException
  at
  org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.proceedGuaranteedMemoryCheck(VdsUpdateRunTimeInfo.java:1313)
  [vdsbroker.jar:]
  at
  org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVmStats(VdsUpdateRunTimeInfo.java:968)
  [vdsbroker.jar:]
  at
  org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.refreshVdsRunTimeInfo(VdsUpdateRunTimeInfo.java:542)
  [vdsbroker.jar:]
  at
  org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo.Refresh(VdsUpdateRunTimeInfo.java:383)
  [vdsbroker.jar:]
  at
  org.ovirt.engine.core.vdsbroker.VdsManager.OnTimer(VdsManager.java:237)
  [vdsbroker.jar:]
 
  at sun.reflect.GeneratedMethodAccessor171.invoke(Unknown
  Source) [:1.7.0_25]
  at
  sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [rt.jar:1.7.0_25]
  at java.lang.reflect.Method.invoke(Method.java:606)
  [rt.jar:1.7.0_25]
  at
  org.ovirt.engine.core.utils.timer.JobWrapper.execute(JobWrapper.java:60)
  [scheduler.jar:]
  at org.quartz.core.JobRunShell.run(JobRunShell.java:213)
  [quartz.jar:]
  at
  org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557)
  [quartz.jar:]
  ___
  Users mailing list
  Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
 I restarted management node and both nodes and this problem disappeared.
 But I still can not see any VMs.
 ___
 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] Host installation issues

2013-08-09 Thread Doug Bishop
Hello,

Hopefully some one can point me in the right direction. I have a 
ovirt-management node running centos 6.4 and 1 compute host also running centos 
6.4. The management node is running and configured correctly. However when I 
attempt to add a host im getting the following in my ovirt engine.log:

2013-08-09 16:05:03,755 INFO  [org.ovirt.engine.core.bll.VdsInstaller] 
(NioProcessor-65) Installation of 192.168.50.4. Received message: BSTRAP 
component='SetNetworking' status='FAIL' message='addNetwork error trying to add 
management bridge'/. FYI. (Stage: Running first installation script on Host)
2013-08-09 16:05:03,766 ERROR [org.ovirt.engine.core.bll.VdsInstaller] 
(NioProcessor-65) Installation of 192.168.50.4. Received message: BSTRAP 
component='RHEV_INSTALL' status='FAIL'/. Error occured. (Stage: Running first 
installation script on Host)
2013-08-09 16:05:03,814 ERROR 
[org.ovirt.engine.core.utils.hostinstall.VdsInstallerSSH] (pool-3-thread-50) 
SSH error running command root@192.168.50.4:'umask 0077; MYTMP=$(mktemp -t 
ovirt-XX); trap chmod -R u+rwX \${MYTMP}\  /dev/null 21; rm -fr 
\${MYTMP}\  /dev/null 21 0; rm -fr ${MYTMP}  mkdir ${MYTMP}  tar 
-C ${MYTMP} --no-same-permissions -o -x  ${MYTMP}/setup -c 
'ssl=true;management_port=54321' -O 'ux-of-ovr1-hw' -t 2013-08-09T20:04:54 -f 
/tmp/firewall.conf.fc06688a-e180-4cdf-960c-0afec02c3bce -S 
/tmp/ovirt-id_rsa_fc06688a-e180-4cdf-960c-0afec02c3bce -p 80 -b  -B ovirtmgmt  
http://ux-of-ovr1-hw:80/Components/vds/ http://ux-of-ovr1-hw:80/Components/vds/ 
192.168.50.4 fc06688a-e180-4cdf-960c-0afec02c3bce False': java.io.IOException: 
Command returned failure code 1 during SSH session 'root@192.168.50.4' 'umask 
0077; MYTMP=$(mktemp -t ovirt-XX); trap chmod -R u+rwX \${MYTMP}\ 
 /dev/null 21; rm -fr \${MYTMP}\  /dev/null 2
 1 0; rm -fr ${MYTMP}  mkdir ${MYTMP}  tar -C ${MYTMP} 
--no-same-permissions -o -x  ${MYTMP}/setup -c 
'ssl=true;management_port=54321' -O 'ux-of-ovr1-hw' -t 2013-08-09T20:04:54 -f 
/tmp/firewall.conf.fc06688a-e180-4cdf-960c-0afec02c3bce -S 
/tmp/ovirt-id_rsa_fc06688a-e180-4cdf-960c-0afec02c3bce -p 80 -b  -B ovirtmgmt  
http://ux-of-ovr1-hw:80/Components/vds/ http://ux-of-ovr1-hw:80/Components/vds/ 
192.168.50.4 fc06688a-e180-4cdf-960c-0afec02c3bce False'
at 
org.ovirt.engine.core.utils.ssh.SSHClient.executeCommand(SSHClient.java:501) 
[engine-utils.jar:]
at 
org.ovirt.engine.core.utils.hostinstall.VdsInstallerSSH.executeCommand(VdsInstallerSSH.java:438)
 [engine-utils.jar:]
at 
org.ovirt.engine.core.bll.VdsInstaller.runBootstrapCommand(VdsInstaller.java:216)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.VdsInstaller.RunStage(VdsInstaller.java:340) 
[engine-bll.jar:]
at 
org.ovirt.engine.core.bll.VdsInstaller.Install(VdsInstaller.java:279) 
[engine-bll.jar:]
at 
org.ovirt.engine.core.bll.InstallVdsCommand.executeCommand(InstallVdsCommand.java:110)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:875)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:964)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1345) 
[engine-bll.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:166)
 [engine-utils.jar:]
at 
org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:108)
 [engine-utils.jar:]
at org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:982) 
[engine-bll.jar:]
at 
org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:291) 
[engine-bll.jar:]
at 
org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommands(MultipleActionsRunner.java:200)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:180)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:101)
 [engine-bll.jar:]
at 
org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:64)
 [engine-utils.jar:]
at 
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) 
[rt.jar:1.6.0_24]
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) 
[rt.jar:1.6.0_24]
at java.util.concurrent.FutureTask.run(FutureTask.java:166) 
[rt.jar:1.6.0_24]
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146) 
[rt.jar:1.6.0_24]
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) 
[rt.jar:1.6.0_24]
at java.lang.Thread.run(Thread.java:679) [rt.jar:1.6.0_24]

I have checked for the obvious such as name resolution etc. I am using the 
following installation guide:


Re: [Users] Host installation issues

2013-08-09 Thread Alon Bar-Lev

This is old 3.1, right?
Any chance you try 3.2?

Anyway, there should be logs at host at /tmp, can you please send them?

- Original Message -
 From: Doug Bishop dbis...@controlscan.com
 To: users@ovirt.org
 Sent: Friday, August 9, 2013 11:10:15 PM
 Subject: [Users] Host installation issues
 
 Hello,
 
 Hopefully some one can point me in the right direction. I have a
 ovirt-management node running centos 6.4 and 1 compute host also running
 centos 6.4. The management node is running and configured correctly. However
 when I attempt to add a host im getting the following in my ovirt
 engine.log:
 
 2013-08-09 16:05:03,755 INFO  [org.ovirt.engine.core.bll.VdsInstaller]
 (NioProcessor-65) Installation of 192.168.50.4. Received message: BSTRAP
 component='SetNetworking' status='FAIL' message='addNetwork error trying to
 add management bridge'/. FYI. (Stage: Running first installation script on
 Host)
 2013-08-09 16:05:03,766 ERROR [org.ovirt.engine.core.bll.VdsInstaller]
 (NioProcessor-65) Installation of 192.168.50.4. Received message: BSTRAP
 component='RHEV_INSTALL' status='FAIL'/. Error occured. (Stage: Running
 first installation script on Host)
 2013-08-09 16:05:03,814 ERROR
 [org.ovirt.engine.core.utils.hostinstall.VdsInstallerSSH] (pool-3-thread-50)
 SSH error running command root@192.168.50.4:'umask 0077; MYTMP=$(mktemp -t
 ovirt-XX); trap chmod -R u+rwX \${MYTMP}\  /dev/null 21; rm
 -fr \${MYTMP}\  /dev/null 21 0; rm -fr ${MYTMP}  mkdir ${MYTMP}
  tar -C ${MYTMP} --no-same-permissions -o -x  ${MYTMP}/setup -c
 'ssl=true;management_port=54321' -O 'ux-of-ovr1-hw' -t 2013-08-09T20:04:54
 -f /tmp/firewall.conf.fc06688a-e180-4cdf-960c-0afec02c3bce -S
 /tmp/ovirt-id_rsa_fc06688a-e180-4cdf-960c-0afec02c3bce -p 80 -b  -B
 ovirtmgmt  http://ux-of-ovr1-hw:80/Components/vds/
 http://ux-of-ovr1-hw:80/Components/vds/ 192.168.50.4
 fc06688a-e180-4cdf-960c-0afec02c3bce False': java.io.IOException: Command
 returned failure code 1 during SSH session 'root@192.168.50.4' 'umask 0077;
 MYTMP=$(mktemp -t ovirt-XX); trap chmod -R u+rwX \${MYTMP}\ 
 /dev/null 21; rm -fr \${MYTMP}\  /dev/null 2
  1 0; rm -fr ${MYTMP}  mkdir ${MYTMP}  tar -C ${MYTMP}
  --no-same-permissions -o -x  ${MYTMP}/setup -c
  'ssl=true;management_port=54321' -O 'ux-of-ovr1-hw' -t 2013-08-09T20:04:54
  -f /tmp/firewall.conf.fc06688a-e180-4cdf-960c-0afec02c3bce -S
  /tmp/ovirt-id_rsa_fc06688a-e180-4cdf-960c-0afec02c3bce -p 80 -b  -B
  ovirtmgmt  http://ux-of-ovr1-hw:80/Components/vds/
  http://ux-of-ovr1-hw:80/Components/vds/ 192.168.50.4
  fc06688a-e180-4cdf-960c-0afec02c3bce False'
 at
 
 org.ovirt.engine.core.utils.ssh.SSHClient.executeCommand(SSHClient.java:501)
 [engine-utils.jar:]
 at
 
 org.ovirt.engine.core.utils.hostinstall.VdsInstallerSSH.executeCommand(VdsInstallerSSH.java:438)
 [engine-utils.jar:]
 at
 
 org.ovirt.engine.core.bll.VdsInstaller.runBootstrapCommand(VdsInstaller.java:216)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.VdsInstaller.RunStage(VdsInstaller.java:340)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.VdsInstaller.Install(VdsInstaller.java:279)
 [engine-bll.jar:]
 at
 
 org.ovirt.engine.core.bll.InstallVdsCommand.executeCommand(InstallVdsCommand.java:110)
 [engine-bll.jar:]
 at
 
 org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:875)
 [engine-bll.jar:]
 at
 
 org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:964)
 [engine-bll.jar:]
 at
 
 org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:1345)
 [engine-bll.jar:]
 at
 
 org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:166)
 [engine-utils.jar:]
 at
 
 org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:108)
 [engine-utils.jar:]
 at
 org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:982)
 [engine-bll.jar:]
 at
 
 org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:291)
 [engine-bll.jar:]
 at
 
 org.ovirt.engine.core.bll.MultipleActionsRunner.executeValidatedCommands(MultipleActionsRunner.java:200)
 [engine-bll.jar:]
 at
 
 org.ovirt.engine.core.bll.MultipleActionsRunner.RunCommands(MultipleActionsRunner.java:180)
 [engine-bll.jar:]
 at
 
 org.ovirt.engine.core.bll.MultipleActionsRunner$1.run(MultipleActionsRunner.java:101)
 [engine-bll.jar:]
 at
 
 org.ovirt.engine.core.utils.threadpool.ThreadPoolUtil$InternalWrapperRunnable.run(ThreadPoolUtil.java:64)
 [engine-utils.jar:]
 at
 
 

Re: [Users] Host installation issues

2013-08-09 Thread Doug Bishop
Here is the last log in /tmp from the last time I attempted to bootstrap:

[root@ux-of-hyp1-hw tmp]# cat vdsm-bootstrap-setup-20130809160454.log
Fri, 09 Aug 2013 16:04:54 DEBUGsetup 348  Start VDS Installation 
Fri, 09 Aug 2013 16:04:54 DEBUGsetup 77 get_id_line: read line CentOS 
release 6.4 (Final).
Fri, 09 Aug 2013 16:04:54 DEBUGsetup 96 lsb_release: input line CentOS 
release 6.4 (Final).
Fri, 09 Aug 2013 16:04:54 DEBUGsetup 103 lsb_release: return: CentOS.
Fri, 09 Aug 2013 16:04:54 DEBUGsetup 52 BSTRAP component='INSTALLER' 
status='OK' message='Test platform succeeded'/
Fri, 09 Aug 2013 16:04:54 DEBUGsetup 177 trying to run ./vds_bootstrap.py 
script cmd = './vds_bootstrap.py -v 2 -O ux-of-ovr1-hw -t 2013-08-09T20:04:54 
-f /tmp/firewall.conf.fc06688a-e180-4cdf-960c-0afec02c3bce -S 
/tmp/ovirt-id_rsa_fc06688a-e180-4cdf-960c-0afec02c3bce -B ovirtmgmt 
http://ux-of-ovr1-hw:80/Components/vds/ 192.168.50.4 
fc06688a-e180-4cdf-960c-0afec02c3bce'
[root@ux-of-hyp1-hw tmp]#


Yes, I know that 3.1 is old, however thats whats in the centos repo. Is there 
another repo that contains copies to 3.2?

Thanks!


Doug Bishop


From: Alon Bar-Lev [alo...@redhat.com]
Sent: Friday, August 09, 2013 4:16 PM
To: Doug Bishop
Cc: users@ovirt.org
Subject: Re: [Users] Host installation issues

This is old 3.1, right?
Any chance you try 3.2?

Anyway, there should be logs at host at /tmp, can you please send them?

- Original Message -
 From: Doug Bishop dbis...@controlscan.com
 To: users@ovirt.org
 Sent: Friday, August 9, 2013 11:10:15 PM
 Subject: [Users] Host installation issues

 Hello,

 Hopefully some one can point me in the right direction. I have a
 ovirt-management node running centos 6.4 and 1 compute host also running
 centos 6.4. The management node is running and configured correctly. However
 when I attempt to add a host im getting the following in my ovirt
 engine.log:

 2013-08-09 16:05:03,755 INFO  [org.ovirt.engine.core.bll.VdsInstaller]
 (NioProcessor-65) Installation of 192.168.50.4. Received message: BSTRAP
 component='SetNetworking' status='FAIL' message='addNetwork error trying to
 add management bridge'/. FYI. (Stage: Running first installation script on
 Host)
 2013-08-09 16:05:03,766 ERROR [org.ovirt.engine.core.bll.VdsInstaller]
 (NioProcessor-65) Installation of 192.168.50.4. Received message: BSTRAP
 component='RHEV_INSTALL' status='FAIL'/. Error occured. (Stage: Running
 first installation script on Host)
 2013-08-09 16:05:03,814 ERROR
 [org.ovirt.engine.core.utils.hostinstall.VdsInstallerSSH] (pool-3-thread-50)
 SSH error running command root@192.168.50.4:'umask 0077; MYTMP=$(mktemp -t
 ovirt-XX); trap chmod -R u+rwX \${MYTMP}\  /dev/null 21; rm
 -fr \${MYTMP}\  /dev/null 21 0; rm -fr ${MYTMP}  mkdir ${MYTMP}
  tar -C ${MYTMP} --no-same-permissions -o -x  ${MYTMP}/setup -c
 'ssl=true;management_port=54321' -O 'ux-of-ovr1-hw' -t 2013-08-09T20:04:54
 -f /tmp/firewall.conf.fc06688a-e180-4cdf-960c-0afec02c3bce -S
 /tmp/ovirt-id_rsa_fc06688a-e180-4cdf-960c-0afec02c3bce -p 80 -b  -B
 ovirtmgmt  http://ux-of-ovr1-hw:80/Components/vds/
 http://ux-of-ovr1-hw:80/Components/vds/ 192.168.50.4
 fc06688a-e180-4cdf-960c-0afec02c3bce False': java.io.IOException: Command
 returned failure code 1 during SSH session 'root@192.168.50.4' 'umask 0077;
 MYTMP=$(mktemp -t ovirt-XX); trap chmod -R u+rwX \${MYTMP}\ 
 /dev/null 21; rm -fr \${MYTMP}\  /dev/null 2
  1 0; rm -fr ${MYTMP}  mkdir ${MYTMP}  tar -C ${MYTMP}
  --no-same-permissions -o -x  ${MYTMP}/setup -c
  'ssl=true;management_port=54321' -O 'ux-of-ovr1-hw' -t 2013-08-09T20:04:54
  -f /tmp/firewall.conf.fc06688a-e180-4cdf-960c-0afec02c3bce -S
  /tmp/ovirt-id_rsa_fc06688a-e180-4cdf-960c-0afec02c3bce -p 80 -b  -B
  ovirtmgmt  http://ux-of-ovr1-hw:80/Components/vds/
  http://ux-of-ovr1-hw:80/Components/vds/ 192.168.50.4
  fc06688a-e180-4cdf-960c-0afec02c3bce False'
 at
 
 org.ovirt.engine.core.utils.ssh.SSHClient.executeCommand(SSHClient.java:501)
 [engine-utils.jar:]
 at
 
 org.ovirt.engine.core.utils.hostinstall.VdsInstallerSSH.executeCommand(VdsInstallerSSH.java:438)
 [engine-utils.jar:]
 at
 
 org.ovirt.engine.core.bll.VdsInstaller.runBootstrapCommand(VdsInstaller.java:216)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.VdsInstaller.RunStage(VdsInstaller.java:340)
 [engine-bll.jar:]
 at
 org.ovirt.engine.core.bll.VdsInstaller.Install(VdsInstaller.java:279)
 [engine-bll.jar:]
 at
 
 org.ovirt.engine.core.bll.InstallVdsCommand.executeCommand(InstallVdsCommand.java:110)
 [engine-bll.jar:]
 at
 
 org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:875)
 [engine-bll.jar:]
 at
 
 

Re: [Users] Host installation issues

2013-08-09 Thread Alon Bar-Lev


- Original Message -
 From: Doug Bishop dbis...@controlscan.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Friday, August 9, 2013 11:33:08 PM
 Subject: RE: [Users] Host installation issues
 
 Here is the last log in /tmp from the last time I attempted to bootstrap:

Please attach complete file please.

 
 [root@ux-of-hyp1-hw tmp]# cat vdsm-bootstrap-setup-20130809160454.log
 Fri, 09 Aug 2013 16:04:54 DEBUGsetup 348  Start VDS Installation 
 Fri, 09 Aug 2013 16:04:54 DEBUGsetup 77 get_id_line: read line CentOS
 release 6.4 (Final).
 Fri, 09 Aug 2013 16:04:54 DEBUGsetup 96 lsb_release: input line CentOS
 release 6.4 (Final).
 Fri, 09 Aug 2013 16:04:54 DEBUGsetup 103 lsb_release: return: CentOS.
 Fri, 09 Aug 2013 16:04:54 DEBUGsetup 52 BSTRAP component='INSTALLER'
 status='OK' message='Test platform succeeded'/
 Fri, 09 Aug 2013 16:04:54 DEBUGsetup 177 trying to run ./vds_bootstrap.py
 script cmd = './vds_bootstrap.py -v 2 -O ux-of-ovr1-hw -t
 2013-08-09T20:04:54 -f
 /tmp/firewall.conf.fc06688a-e180-4cdf-960c-0afec02c3bce -S
 /tmp/ovirt-id_rsa_fc06688a-e180-4cdf-960c-0afec02c3bce -B ovirtmgmt
 http://ux-of-ovr1-hw:80/Components/vds/ 192.168.50.4
 fc06688a-e180-4cdf-960c-0afec02c3bce'
 [root@ux-of-hyp1-hw tmp]#
 
 
 Yes, I know that 3.1 is old, however thats whats in the centos repo. Is there
 another repo that contains copies to 3.2?

http://resources.ovirt.org/releases/3.2/rpm/EL/6/

 
 Thanks!
 
 
 Doug Bishop
 
 
 From: Alon Bar-Lev [alo...@redhat.com]
 Sent: Friday, August 09, 2013 4:16 PM
 To: Doug Bishop
 Cc: users@ovirt.org
 Subject: Re: [Users] Host installation issues
 
 This is old 3.1, right?
 Any chance you try 3.2?
 
 Anyway, there should be logs at host at /tmp, can you please send them?
 
 - Original Message -
  From: Doug Bishop dbis...@controlscan.com
  To: users@ovirt.org
  Sent: Friday, August 9, 2013 11:10:15 PM
  Subject: [Users] Host installation issues
 
  Hello,
 
  Hopefully some one can point me in the right direction. I have a
  ovirt-management node running centos 6.4 and 1 compute host also running
  centos 6.4. The management node is running and configured correctly.
  However
  when I attempt to add a host im getting the following in my ovirt
  engine.log:
 
  2013-08-09 16:05:03,755 INFO  [org.ovirt.engine.core.bll.VdsInstaller]
  (NioProcessor-65) Installation of 192.168.50.4. Received message: BSTRAP
  component='SetNetworking' status='FAIL' message='addNetwork error trying to
  add management bridge'/. FYI. (Stage: Running first installation script on
  Host)
  2013-08-09 16:05:03,766 ERROR [org.ovirt.engine.core.bll.VdsInstaller]
  (NioProcessor-65) Installation of 192.168.50.4. Received message: BSTRAP
  component='RHEV_INSTALL' status='FAIL'/. Error occured. (Stage: Running
  first installation script on Host)
  2013-08-09 16:05:03,814 ERROR
  [org.ovirt.engine.core.utils.hostinstall.VdsInstallerSSH]
  (pool-3-thread-50)
  SSH error running command root@192.168.50.4:'umask 0077; MYTMP=$(mktemp -t
  ovirt-XX); trap chmod -R u+rwX \${MYTMP}\  /dev/null 21; rm
  -fr \${MYTMP}\  /dev/null 21 0; rm -fr ${MYTMP}  mkdir ${MYTMP}
   tar -C ${MYTMP} --no-same-permissions -o -x  ${MYTMP}/setup -c
  'ssl=true;management_port=54321' -O 'ux-of-ovr1-hw' -t 2013-08-09T20:04:54
  -f /tmp/firewall.conf.fc06688a-e180-4cdf-960c-0afec02c3bce -S
  /tmp/ovirt-id_rsa_fc06688a-e180-4cdf-960c-0afec02c3bce -p 80 -b  -B
  ovirtmgmt  http://ux-of-ovr1-hw:80/Components/vds/
  http://ux-of-ovr1-hw:80/Components/vds/ 192.168.50.4
  fc06688a-e180-4cdf-960c-0afec02c3bce False': java.io.IOException: Command
  returned failure code 1 during SSH session 'root@192.168.50.4' 'umask 0077;
  MYTMP=$(mktemp -t ovirt-XX); trap chmod -R u+rwX \${MYTMP}\ 
  /dev/null 21; rm -fr \${MYTMP}\  /dev/null 2
   1 0; rm -fr ${MYTMP}  mkdir ${MYTMP}  tar -C ${MYTMP}
   --no-same-permissions -o -x  ${MYTMP}/setup -c
   'ssl=true;management_port=54321' -O 'ux-of-ovr1-hw' -t 2013-08-09T20:04:54
   -f /tmp/firewall.conf.fc06688a-e180-4cdf-960c-0afec02c3bce -S
   /tmp/ovirt-id_rsa_fc06688a-e180-4cdf-960c-0afec02c3bce -p 80 -b  -B
   ovirtmgmt  http://ux-of-ovr1-hw:80/Components/vds/
   http://ux-of-ovr1-hw:80/Components/vds/ 192.168.50.4
   fc06688a-e180-4cdf-960c-0afec02c3bce False'
  at
  
  org.ovirt.engine.core.utils.ssh.SSHClient.executeCommand(SSHClient.java:501)
  [engine-utils.jar:]
  at
  
  org.ovirt.engine.core.utils.hostinstall.VdsInstallerSSH.executeCommand(VdsInstallerSSH.java:438)
  [engine-utils.jar:]
  at
  
  org.ovirt.engine.core.bll.VdsInstaller.runBootstrapCommand(VdsInstaller.java:216)
  [engine-bll.jar:]
  at
  
  org.ovirt.engine.core.bll.VdsInstaller.RunStage(VdsInstaller.java:340)
  [engine-bll.jar:]
  at