Re: [Users] WAN access of oVirt

2013-08-12 Thread Alon Bar-Lev


- Original Message -
 From: lofyer lof...@gmail.com
 To: users@ovirt.org
 Sent: Monday, August 12, 2013 7:59:15 AM
 Subject: [Users] WAN access of oVirt
 
 I've installed engine on 192.168.1.80 with hostname engine.example.com,
 node on 192.168.1.90 with hostname node.example.com.
 And I've started websocket-proxy service on engine.example.com, I can
 access VM via noVNC normally.
 Now suppose my WAN IP is 123.45.67.89 with DOMAINNAME
 engine.example.com, and I've mapped 443,6100 to 192.168.1.80 on the router.
 After I add this record 123.45.67.89 engine.example.com to client
 hosts file and visit engine.example.com to access VM via noVNC, I get an
 error whose code is 1006.
 How to access VM from WAN in this senerio?

I think you should update WebSocketProxy to 123.45.67.89:6100, execute:

engine-config -s WebSocketProxy=123.45.67.89:6100

and restart engine.


 ___
 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] Problem Creating oVirt Engine

2013-08-12 Thread Alon Bar-Lev


- Original Message -
 From: Itamar Heim ih...@redhat.com
 To: Richie@HIP richiepiovane...@healthcareinfopartners.com
 Cc: users@ovirt.org
 Sent: Monday, August 12, 2013 6:56:47 AM
 Subject: Re: [Users] Problem Creating oVirt Engine
 
 On 08/12/2013 04:04 AM, Richie@HIP wrote:
  How would I run the oVirtEngine in Debug Mode…?  Any parameter needs to
  be set..?  Which one…?
 
  I hope version 3.3 overcomes many of these setup issues.  Pray to the
  almighty.
 
 I saw alon merged a lot of patches yesterday, so definitely worth trying
 if you can do a clean install with it (from nightly i guess)
 its a brand new installer in 3.3.

merge - no... submitted.
but nothing related.

 
 
  Richie
 
  José E (Richie) Piovanetti, MD, MS
  M: 787-615-4884 | richiepiovane...@healthcareinfopartners.com
 
 
 
 
 
 
  On Aug 11, 2013, at 2:49 AM, Yair Zaslavsky yzasl...@redhat.com wrote:
 
 
 
  - Original Message -
  From: Richie@HIP richiepiovane...@healthcareinfopartners.com
  To: Itamar Heim ih...@redhat.com
  Cc: users@ovirt.org
  Sent: Saturday, August 10, 2013 5:41:58 AM
  Subject: Re: [Users] Problem Creating oVirt Engine
 
  Last week I dove deep into a fiends network and Active Directory
  infrastructure trying to install oVirtEngine with default values.  I was
  able to have AD DHCP recognize the VirtualBox oViertEngine VM and it took
  the better part of three (3) hours to get the DHCP to recognize the
  Name
  of the computer; it would show the IP and MAC address, but with empty
  name.  Finally I discovered that the name of the VM Fedora 18 machine
  had
  to be defines under System Settings  Details   Overview  Device Name;
  t
  had localloop.localdomain and chained to ovirtenine and reotedh P
  showed
  e Name of the  computer.  The DNS entry had to be made by hand since for
  some reason the DHCP lease was not being copied to the DNS database.
 
  Once both of these (DHCP and DNS where death with, oVirtEngine installed
  as
  documented - without errors and hangs.
 
  Then I opened the Welcome to oVirt Engine / Management web page.  Upon
  trying
  to open any of the portals, I was asked to verify the certificate;
  which I
  accepted.  I grid opening the User Portal and upon being presented the
  Login
  screen I entered admin as user, and welcome as the password (that's
  what
  I defined as password for the test VM I'm creating.)  I awaited several
  minuted and nothing happened.  I shut down the oVirtEngine VM, and
  increased
  the VM RAM from 4 Gb to 6 Gb.  Rebooted and reconnected and was able to
  enter the Users Portal, albeit after waiting almost a minute.
  Voila…!!!
  It works…!!!
 
  But then I realized it was a premature celebration.  When trying to enter
  the
  Administration Portal, seeing the login screen, more than half an hour
  passed and nothing happened; only a spinning cursor and hardly any disk
  or
  LAN activity in the oVirtEngine VM.
 
  I copied all the entries in the engine.log related to today.  I'm
  including
  them as attachment so anyone can tell me why I can;t enter the
  oVirtEngine
  Administrator Portal.  Neither can I get into the Reports Portal which
  even shows a message with either a typo, of a british way of expressing
  legal (it read LeAgal (the uppercase A is my way of showing the
  typo).
 
  Please let me know if you have any suggestions regarding logging into the
  Administrator Portal.  Could it be that at least one node has to exist…?
  In
  the engine.log I can see several INFO and WAR messages, but the ERROR
  ones
  (which are very few) are to cryptic for me to make sense of them.
 
  I saw the log, indeed looks strange.
  In order to get all the data of the main screen (after login) several
  queries are run to the engine in order to fetch the data
  What I would suggest (unless someone else can see something I missed in
  the log) is to consider to run ovirt-engine in such a way that debug
  messages will be logged as well.
 
 
 
  oVirt is beginning to come alive on my side; but not quite there yet.
  Any
  help appreciated..
 
  RIchie
 
  José E (Richie) Piovanetti, MD, MS
  M: 787-615-4884 | richiepiovane...@healthcareinfopartners.com
 
 
 
 
 
 
 
  On Aug 1, 2013, at 3:59 PM, Richie@HIP
  richiepiovane...@healthcareinfopartners.com wrote:
 
  In a conversation via IRC, someone suggested that I activate dnsmask
  to
  overcome what appears to be a DNS problem.  I'll try that other
  possibility once I get home later today.
 
  In the mean time, what do you mean by fixing the hostname…?  I opened
  and
  fixed the HOSTNAMES and changed it from localhost-localdomain to
  localhost.localdomain and that made no difference.  Albeit, after
  changing I didm;t restart, remove ovirtEngine ((using engine-cleanup)
  and reinstalled via engine-setup.  Is that what you mean…?
 
 
 
  In the mean time, the fact that even if I resolve the issue of
  oVirtEngine
  I will not be able to connect to the oVirt Nodes unless I have DNS
  

Re: [Users] VDSM n/w issue

2013-08-12 Thread Livnat Peer
On 08/08/2013 08:37 AM, Anil Dhingra wrote:
 Hi Guys
  
 Just started working on ovirt a month age ,, but stuck on after
 installing VDSM on centos 6.4
 it creates ;vdsmdummy;  4 bonding interfaces , didn't got any info for
 them in google as I don't need them but not sure how to remove them 
 why it get created if I am not using ovirt-node .
  
 Thanks
 Anil
 

Hi Anil,
First of all welcome and I hope you'll enjoy working with oVirt.

vdsdummy is a bridge VDSM creates and uses for functionality like
disconnected VNIC.
If you start a VM and you want the VM to have a vNIC not connected to a
specific network (bridge) VDSM starts the VM and connects the tap device
to the vdsdummy bridge. This is a workaround to a functionality we are
missing in libvirt (starting a VM with unconnected tap device).

About the 4 bonds, well that's a legacy code and I think we cleaned this
code in the last version 3.3 - but I'm not sure (Adding Toni to
confirm/disconfirm)

Livnat

 
 ___
 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-12 Thread Jakub Bittner

Dne 10.8.2013 01:54, Greg Sheremeta napsal(a):

It could also be this bug[1], for which I just submitted a fix.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=987907

You can work around it by typing just VMs: (without the quotes) in the search 
bar.

Greg


- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz
Cc: users@ovirt.org
Sent: Friday, August 9, 2013 11:21:26 AM
Subject: Re: [Users] All VMs disappeared

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


Hi,

I do not have them in database. Both commands shows nothing
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] VDSM n/w issue

2013-08-12 Thread Antoni Segura Puimedon
Hi Anil,

as Livnat said, ;vdsmdummy; is required for operation of vdsm, concretely
for changing the link state of a vnic to disconnected. As for the bonds,
they are not created on systemd distros Fedora18+ but they are indeed created
on older distros for backwards compatibility reasons.

Best,

Toni

- Original Message -
 From: Livnat Peer lp...@redhat.com
 To: Anil Dhingra anildhingr...@gmail.com
 Cc: users@ovirt.org, Antoni Segura Puimedon asegu...@redhat.com
 Sent: Monday, August 12, 2013 8:25:40 AM
 Subject: Re: [Users] VDSM n/w issue
 
 On 08/08/2013 08:37 AM, Anil Dhingra wrote:
  Hi Guys
   
  Just started working on ovirt a month age ,, but stuck on after
  installing VDSM on centos 6.4
  it creates ;vdsmdummy;  4 bonding interfaces , didn't got any info for
  them in google as I don't need them but not sure how to remove them 
  why it get created if I am not using ovirt-node .
   
  Thanks
  Anil
  
 
 Hi Anil,
 First of all welcome and I hope you'll enjoy working with oVirt.
 
 vdsdummy is a bridge VDSM creates and uses for functionality like
 disconnected VNIC.
 If you start a VM and you want the VM to have a vNIC not connected to a
 specific network (bridge) VDSM starts the VM and connects the tap device
 to the vdsdummy bridge. This is a workaround to a functionality we are
 missing in libvirt (starting a VM with unconnected tap device).
 
 About the 4 bonds, well that's a legacy code and I think we cleaned this
 code in the last version 3.3 - but I'm not sure (Adding Toni to
 confirm/disconfirm)
 
 Livnat
 
  
  ___
  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] message about excessive bounces

2013-08-12 Thread Gianluca Cecchi
Hello,
I just received a mail about what in subject ..

Your membership in the mailing list Users has been disabled due to
excessive bounces

I re-enabled my membership in the mean time.
Just to know if it is actually a problem of mine (aka gmail and no
configuration change at all) or list related.
Thanks,
Gianluca
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] WAN access of oVirt

2013-08-12 Thread lofyer

On 2013/8/12 14:23, Alon Bar-Lev wrote:


- Original Message -

From: lofyer lof...@gmail.com
To: users@ovirt.org
Sent: Monday, August 12, 2013 7:59:15 AM
Subject: [Users] WAN access of oVirt

I've installed engine on 192.168.1.80 with hostname engine.example.com,
node on 192.168.1.90 with hostname node.example.com.
And I've started websocket-proxy service on engine.example.com, I can
access VM via noVNC normally.
Now suppose my WAN IP is 123.45.67.89 with DOMAINNAME
engine.example.com, and I've mapped 443,6100 to 192.168.1.80 on the router.
After I add this record 123.45.67.89 engine.example.com to client
hosts file and visit engine.example.com to access VM via noVNC, I get an
error whose code is 1006.
How to access VM from WAN in this senerio?

I think you should update WebSocketProxy to 123.45.67.89:6100, execute:

engine-config -s WebSocketProxy=123.45.67.89:6100

and restart engine.



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


thanks, it works after changing it to engine.example.com.
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] All VMs disappeared

2013-08-12 Thread Greg Sheremeta
Not the one I fixed, 987907. It was a simple UI NullPointerException.

Greg


- Original Message -
 From: Laszlo Hornyak lhorn...@redhat.com
 To: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko 
 nslom...@redhat.com, Greg Sheremeta
 gsher...@redhat.com
 Cc: users@ovirt.org
 Sent: Monday, August 12, 2013 7:21:26 AM
 Subject: Re: [Users] All VMs disappeared
 
 Well if they are no longer in DB then that explains why the exception no
 longer occurs, but at the cost of database corruption.
 Noam and Greg, can these bugs cause data corruption?
 
 Thank you,
 Laszlo
 
 - Original Message -
  From: Jakub Bittner j.bitt...@nbu.cz
  To: Greg Sheremeta gsher...@redhat.com
  Cc: users@ovirt.org, Laszlo Hornyak lhorn...@redhat.com
  Sent: Monday, August 12, 2013 9:05:09 AM
  Subject: Re: [Users] All VMs disappeared
  
  Dne 10.8.2013 01:54, Greg Sheremeta napsal(a):
   It could also be this bug[1], for which I just submitted a fix.
  
   [1] https://bugzilla.redhat.com/show_bug.cgi?id=987907
  
   You can work around it by typing just VMs: (without the quotes) in the
   search bar.
  
   Greg
  
  
   - Original Message -
   From: Laszlo Hornyak lhorn...@redhat.com
   To: Jakub Bittner j.bitt...@nbu.cz
   Cc: users@ovirt.org
   Sent: Friday, August 9, 2013 11:21:26 AM
   Subject: Re: [Users] All VMs disappeared
  
   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)
   

Re: [Users] All VMs disappeared

2013-08-12 Thread Laszlo Hornyak
I looked around Noam's patch and that should not cause such behavior. I am 
wondering how that lost VM's could happen. 

Jakub, can you give a more detailed description what you were doing with oVirt 
when this happened? Maybe the bug is still there.

Thank you,
Laszlo

- Original Message -
 From: Greg Sheremeta gsher...@redhat.com
 To: Laszlo Hornyak lhorn...@redhat.com
 Cc: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko 
 nslom...@redhat.com, users@ovirt.org
 Sent: Monday, August 12, 2013 1:23:40 PM
 Subject: Re: [Users] All VMs disappeared
 
 Not the one I fixed, 987907. It was a simple UI NullPointerException.
 
 Greg
 
 
 - Original Message -
  From: Laszlo Hornyak lhorn...@redhat.com
  To: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko
  nslom...@redhat.com, Greg Sheremeta
  gsher...@redhat.com
  Cc: users@ovirt.org
  Sent: Monday, August 12, 2013 7:21:26 AM
  Subject: Re: [Users] All VMs disappeared
  
  Well if they are no longer in DB then that explains why the exception no
  longer occurs, but at the cost of database corruption.
  Noam and Greg, can these bugs cause data corruption?
  
  Thank you,
  Laszlo
  
  - Original Message -
   From: Jakub Bittner j.bitt...@nbu.cz
   To: Greg Sheremeta gsher...@redhat.com
   Cc: users@ovirt.org, Laszlo Hornyak lhorn...@redhat.com
   Sent: Monday, August 12, 2013 9:05:09 AM
   Subject: Re: [Users] All VMs disappeared
   
   Dne 10.8.2013 01:54, Greg Sheremeta napsal(a):
It could also be this bug[1], for which I just submitted a fix.
   
[1] https://bugzilla.redhat.com/show_bug.cgi?id=987907
   
You can work around it by typing just VMs: (without the quotes) in
the
search bar.
   
Greg
   
   
- Original Message -
From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz
Cc: users@ovirt.org
Sent: Friday, August 9, 2013 11:21:26 AM
Subject: Re: [Users] All VMs disappeared
   
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

Re: [Users] is this the oVirt noob/help list?

2013-08-12 Thread Michal Skrivanek
Hi,
you can do that via REST API, but not through GUI.
There's no ticket set if you don't try to invoke the console in portal. You can 
use a hook to configure console access - to enable it password-less by default 
and it will be always open
With MIME launch you get the connection file with the password in it so you can 
grab it from there (or preferably associate with remote-viewer and it will open 
VNC automatically) 
What exactly are you trying to achieve? 

Thanks,
michal

On Aug 11, 2013, at 19:02 , Michael J. McConachie mich...@redhat.com wrote:

 Hi List,
 
 Is this the correct list to ask questions re: basic oVirt noob questions?
 
 If so (re: consoles) I have clients that want to set the password for
 VNC to a static value, or no password at all.
 
 Thanks,
 
 Mike
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users

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


Re: [Users] All VMs disappeared

2013-08-12 Thread Jakub Bittner

Dne 12.8.2013 14:29, Laszlo Hornyak napsal(a):

I looked around Noam's patch and that should not cause such behavior. I am 
wondering how that lost VM's could happen.

Jakub, can you give a more detailed description what you were doing with oVirt 
when this happened? Maybe the bug is still there.

Thank you,
Laszlo

- Original Message -

From: Greg Sheremeta gsher...@redhat.com
To: Laszlo Hornyak lhorn...@redhat.com
Cc: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko nslom...@redhat.com, 
users@ovirt.org
Sent: Monday, August 12, 2013 1:23:40 PM
Subject: Re: [Users] All VMs disappeared

Not the one I fixed, 987907. It was a simple UI NullPointerException.

Greg


- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko
nslom...@redhat.com, Greg Sheremeta
gsher...@redhat.com
Cc: users@ovirt.org
Sent: Monday, August 12, 2013 7:21:26 AM
Subject: Re: [Users] All VMs disappeared

Well if they are no longer in DB then that explains why the exception no
longer occurs, but at the cost of database corruption.
Noam and Greg, can these bugs cause data corruption?

Thank you,
Laszlo

- Original Message -

From: Jakub Bittner j.bitt...@nbu.cz
To: Greg Sheremeta gsher...@redhat.com
Cc: users@ovirt.org, Laszlo Hornyak lhorn...@redhat.com
Sent: Monday, August 12, 2013 9:05:09 AM
Subject: Re: [Users] All VMs disappeared

Dne 10.8.2013 01:54, Greg Sheremeta napsal(a):

It could also be this bug[1], for which I just submitted a fix.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=987907

You can work around it by typing just VMs: (without the quotes) in
the
search bar.

Greg


- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz
Cc: users@ovirt.org
Sent: Friday, August 9, 2013 11:21:26 AM
Subject: Re: [Users] All VMs disappeared

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]
  

Re: [Users] Host installation issues

2013-08-12 Thread Doug Bishop
Sorry for the delay, busy weekend. That was the full contents of the file. I 
have attached the file as well.


Doug Bishop



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

- 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
  
  

Re: [Users] Host installation issues

2013-08-12 Thread Alon Bar-Lev
There should be more...

- Original Message -
 From: Doug Bishop dbis...@controlscan.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Monday, August 12, 2013 5:38:08 PM
 Subject: RE: [Users] Host installation issues
 
 Sorry for the delay, busy weekend. That was the full contents of the file. I
 have attached the file as well.
 
 
 Doug Bishop
 
 
 
 From: Alon Bar-Lev [alo...@redhat.com]
 Sent: Friday, August 09, 2013 4:37 PM
 To: Doug Bishop
 Cc: users@ovirt.org
 Subject: Re: [Users] Host installation issues
 
 - 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/

Re: [Users] Host installation issues

2013-08-12 Thread Doug Bishop
You are correct, my apologies there was more than one log

Doug Bishop


From: Alon Bar-Lev [alo...@redhat.com]
Sent: Monday, August 12, 2013 10:43 AM
To: Doug Bishop
Cc: users@ovirt.org
Subject: Re: [Users] Host installation issues

There should be more...

- Original Message -
 From: Doug Bishop dbis...@controlscan.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Monday, August 12, 2013 5:38:08 PM
 Subject: RE: [Users] Host installation issues

 Sorry for the delay, busy weekend. That was the full contents of the file. I
 have attached the file as well.


 Doug Bishop


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

 - 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 

Re: [Users] Host installation issues

2013-08-12 Thread Alon Bar-Lev

‎The host is not able to resolve ux-of-ovr1-hw


- Original Message -
 From: Doug Bishop dbis...@controlscan.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Monday, August 12, 2013 5:50:30 PM
 Subject: RE: [Users] Host installation issues
 
 You are correct, my apologies there was more than one log
 
 Doug Bishop
 
 
 From: Alon Bar-Lev [alo...@redhat.com]
 Sent: Monday, August 12, 2013 10:43 AM
 To: Doug Bishop
 Cc: users@ovirt.org
 Subject: Re: [Users] Host installation issues
 
 There should be more...
 
 - Original Message -
  From: Doug Bishop dbis...@controlscan.com
  To: Alon Bar-Lev alo...@redhat.com
  Cc: users@ovirt.org
  Sent: Monday, August 12, 2013 5:38:08 PM
  Subject: RE: [Users] Host installation issues
 
  Sorry for the delay, busy weekend. That was the full contents of the file.
  I
  have attached the file as well.
 
 
  Doug Bishop
 
 
  
  From: Alon Bar-Lev [alo...@redhat.com]
  Sent: Friday, August 09, 2013 4:37 PM
  To: Doug Bishop
  Cc: users@ovirt.org
  Subject: Re: [Users] Host installation issues
 
  - 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/ 

Re: [Users] Host installation issues

2013-08-12 Thread Doug Bishop
Thanks, I knew it was something simple I was missing!


Doug Bishop


From: Alon Bar-Lev [alo...@redhat.com]
Sent: Monday, August 12, 2013 10:54 AM
To: Doug Bishop
Cc: users@ovirt.org
Subject: Re: [Users] Host installation issues

‎The host is not able to resolve ux-of-ovr1-hw


- Original Message -
 From: Doug Bishop dbis...@controlscan.com
 To: Alon Bar-Lev alo...@redhat.com
 Cc: users@ovirt.org
 Sent: Monday, August 12, 2013 5:50:30 PM
 Subject: RE: [Users] Host installation issues

 You are correct, my apologies there was more than one log

 Doug Bishop

 
 From: Alon Bar-Lev [alo...@redhat.com]
 Sent: Monday, August 12, 2013 10:43 AM
 To: Doug Bishop
 Cc: users@ovirt.org
 Subject: Re: [Users] Host installation issues

 There should be more...

 - Original Message -
  From: Doug Bishop dbis...@controlscan.com
  To: Alon Bar-Lev alo...@redhat.com
  Cc: users@ovirt.org
  Sent: Monday, August 12, 2013 5:38:08 PM
  Subject: RE: [Users] Host installation issues
 
  Sorry for the delay, busy weekend. That was the full contents of the file.
  I
  have attached the file as well.
 
 
  Doug Bishop
 
 
  
  From: Alon Bar-Lev [alo...@redhat.com]
  Sent: Friday, August 09, 2013 4:37 PM
  To: Doug Bishop
  Cc: users@ovirt.org
  Subject: Re: [Users] Host installation issues
 
  - 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

Re: [Users] All VMs disappeared

2013-08-12 Thread Jakub Bittner

Dne 12.8.2013 14:54, Jakub Bittner napsal(a):

Dne 12.8.2013 14:29, Laszlo Hornyak napsal(a):
I looked around Noam's patch and that should not cause such behavior. 
I am wondering how that lost VM's could happen.


Jakub, can you give a more detailed description what you were doing 
with oVirt when this happened? Maybe the bug is still there.


Thank you,
Laszlo

- Original Message -

From: Greg Sheremeta gsher...@redhat.com
To: Laszlo Hornyak lhorn...@redhat.com
Cc: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko 
nslom...@redhat.com, users@ovirt.org

Sent: Monday, August 12, 2013 1:23:40 PM
Subject: Re: [Users] All VMs disappeared

Not the one I fixed, 987907. It was a simple UI NullPointerException.

Greg


- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko
nslom...@redhat.com, Greg Sheremeta
gsher...@redhat.com
Cc: users@ovirt.org
Sent: Monday, August 12, 2013 7:21:26 AM
Subject: Re: [Users] All VMs disappeared

Well if they are no longer in DB then that explains why the 
exception no

longer occurs, but at the cost of database corruption.
Noam and Greg, can these bugs cause data corruption?

Thank you,
Laszlo

- Original Message -

From: Jakub Bittner j.bitt...@nbu.cz
To: Greg Sheremeta gsher...@redhat.com
Cc: users@ovirt.org, Laszlo Hornyak lhorn...@redhat.com
Sent: Monday, August 12, 2013 9:05:09 AM
Subject: Re: [Users] All VMs disappeared

Dne 10.8.2013 01:54, Greg Sheremeta napsal(a):

It could also be this bug[1], for which I just submitted a fix.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=987907

You can work around it by typing just VMs: (without the quotes) in
the
search bar.

Greg


- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz
Cc: users@ovirt.org
Sent: Friday, August 9, 2013 11:21:26 AM
Subject: Re: [Users] All VMs disappeared

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:]

 

Re: [Users] All VMs disappeared

2013-08-12 Thread Itamar Heim

On 08/12/2013 06:59 PM, Jakub Bittner wrote:

Dne 12.8.2013 14:54, Jakub Bittner napsal(a):

Dne 12.8.2013 14:29, Laszlo Hornyak napsal(a):

I looked around Noam's patch and that should not cause such behavior.
I am wondering how that lost VM's could happen.

Jakub, can you give a more detailed description what you were doing
with oVirt when this happened? Maybe the bug is still there.

Thank you,
Laszlo

- Original Message -

From: Greg Sheremeta gsher...@redhat.com
To: Laszlo Hornyak lhorn...@redhat.com
Cc: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko
nslom...@redhat.com, users@ovirt.org
Sent: Monday, August 12, 2013 1:23:40 PM
Subject: Re: [Users] All VMs disappeared

Not the one I fixed, 987907. It was a simple UI NullPointerException.

Greg


- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko
nslom...@redhat.com, Greg Sheremeta
gsher...@redhat.com
Cc: users@ovirt.org
Sent: Monday, August 12, 2013 7:21:26 AM
Subject: Re: [Users] All VMs disappeared

Well if they are no longer in DB then that explains why the
exception no
longer occurs, but at the cost of database corruption.
Noam and Greg, can these bugs cause data corruption?

Thank you,
Laszlo

- Original Message -

From: Jakub Bittner j.bitt...@nbu.cz
To: Greg Sheremeta gsher...@redhat.com
Cc: users@ovirt.org, Laszlo Hornyak lhorn...@redhat.com
Sent: Monday, August 12, 2013 9:05:09 AM
Subject: Re: [Users] All VMs disappeared

Dne 10.8.2013 01:54, Greg Sheremeta napsal(a):

It could also be this bug[1], for which I just submitted a fix.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=987907

You can work around it by typing just VMs: (without the quotes) in
the
search bar.

Greg


- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz
Cc: users@ovirt.org
Sent: Friday, August 9, 2013 11:21:26 AM
Subject: Re: [Users] All VMs disappeared

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)


[Users] virt-v2v import needs saslauth credentials

2013-08-12 Thread Jim Kinney
I need to convert a vmdk to ovirt use. I have a qcow2 formatted image and
it's corresponding xml. I'm trying to run virt-v2v to put things into the
proper formats/places for ovirt but I need to use my proper credentials to
access the qemu:///system space.

Where/how do I do this? man pages have no suggestions on virt-v2v. I have a
user/passwd combo in saslauth that works for virsh.

virt-v2v -i libvirtxml -o libvirt -os export --vmtype server -n ovirtmgmt
/var/lib/exports/exports/5eb89069-b750-4d32-b7d3-432fd77202d1/images/test/test.xml
virt-v2v: Failed to connect to qemu:///system: libvirt error code: 45,
message: authentication failed: Failed to step SASL negotiation: -7
(SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)

-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] virt-v2v import needs saslauth credentials

2013-08-12 Thread Jim Kinney
On trying the import in ovirt after the completion of the conversion using
-o rhev -os ip:/var/lib/exports/exports ..., I found an error in the
vdsm.log:

Thread-199989::ERROR::2013-08-12
15:10:57,371::task::833::TaskManager.Task::(_setError)
Task=`6fa2a23e-0194-4f67-b157-a3f831780d12`::Unexpected error
Traceback (most recent call last):
  File /usr/share/vdsm/storage/task.py, line 840, in _run
return fn(*args, **kargs)
  File /usr/share/vdsm/logUtils.py, line 42, in wrapper
res = f(*args, **kwargs)
  File /usr/share/vdsm/storage/hsm.py, line 2891, in getVolumeInfo
imgUUID=imgUUID, volUUID=volUUID).getInfo()
  File /usr/share/vdsm/storage/fileSD.py, line 250, in produceVolume
return fileVolume.FileVolume(repoPath, self.sdUUID, imgUUID, volUUID)
  File /usr/share/vdsm/storage/fileVolume.py, line 71, in __init__
volume.Volume.__init__(self, repoPath, sdUUID, imgUUID, volUUID)
  File /usr/share/vdsm/storage/volume.py, line 128, in __init__
self.validate()
  File /usr/share/vdsm/storage/volume.py, line 140, in validate
self.validateImagePath()
  File /usr/share/vdsm/storage/fileVolume.py, line 522, in
validateImagePath
raise se.ImagePathError(imageDir)
ImagePathError: Image path does not exist or cannot be accessed/created:
('/rhev/data-center/6ff1a3cb-06b9-4a4f-a2ec-053cc45ac7c6/5eb89069-b750-4d32-b7d3-432fd77202d1/images/1e43cdf3-bf3b-4f28-a755-b5fb8a67543b',)


I have setenforce=0 with same result.
So the 5eb89069-b750-4d32-b7d3-432fd77202d1 is a valid ovirt domain number
for the entire process in exports. The 1e43cdf3-bf3b-4f28-a755-b5fb8a67543b
was the name of the dir created from the virt-v2v process.

The ovirt import gui provides this error:
Error while executing action: Cannot import VM. VM's Image does not exist.

I've tried with a qcow2 image, a raw image, vmdk (fails with unsupported
format error).



On Mon, Aug 12, 2013 at 4:49 PM, Jim Kinney jim.kin...@gmail.com wrote:

 I need to convert a vmdk to ovirt use. I have a qcow2 formatted image and
 it's corresponding xml. I'm trying to run virt-v2v to put things into the
 proper formats/places for ovirt but I need to use my proper credentials to
 access the qemu:///system space.

 Where/how do I do this? man pages have no suggestions on virt-v2v. I have
 a user/passwd combo in saslauth that works for virsh.

 virt-v2v -i libvirtxml -o libvirt -os export --vmtype server -n ovirtmgmt
 /var/lib/exports/exports/5eb89069-b750-4d32-b7d3-432fd77202d1/images/test/test.xml
 virt-v2v: Failed to connect to qemu:///system: libvirt error code: 45,
 message: authentication failed: Failed to step SASL negotiation: -7
 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)

 --
 --
 James P. Kinney III
 *
 *Every time you stop a school, you will have to build a jail. What you
 gain at one end you lose at the other. It's like feeding a dog on his own
 tail. It won't fatten the dog.
 - Speech 11/23/1900 Mark Twain
 *
 http://heretothereideas.blogspot.com/
 *




-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://heretothereideas.blogspot.com/
*
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] All VMs disappeared

2013-08-12 Thread Jakub Bittner

Dne 12.8.2013 22:44, Itamar Heim napsal(a):

On 08/12/2013 06:59 PM, Jakub Bittner wrote:

Dne 12.8.2013 14:54, Jakub Bittner napsal(a):

Dne 12.8.2013 14:29, Laszlo Hornyak napsal(a):

I looked around Noam's patch and that should not cause such behavior.
I am wondering how that lost VM's could happen.

Jakub, can you give a more detailed description what you were doing
with oVirt when this happened? Maybe the bug is still there.

Thank you,
Laszlo

- Original Message -

From: Greg Sheremeta gsher...@redhat.com
To: Laszlo Hornyak lhorn...@redhat.com
Cc: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko
nslom...@redhat.com, users@ovirt.org
Sent: Monday, August 12, 2013 1:23:40 PM
Subject: Re: [Users] All VMs disappeared

Not the one I fixed, 987907. It was a simple UI NullPointerException.

Greg


- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz, Noam Slomianko
nslom...@redhat.com, Greg Sheremeta
gsher...@redhat.com
Cc: users@ovirt.org
Sent: Monday, August 12, 2013 7:21:26 AM
Subject: Re: [Users] All VMs disappeared

Well if they are no longer in DB then that explains why the
exception no
longer occurs, but at the cost of database corruption.
Noam and Greg, can these bugs cause data corruption?

Thank you,
Laszlo

- Original Message -

From: Jakub Bittner j.bitt...@nbu.cz
To: Greg Sheremeta gsher...@redhat.com
Cc: users@ovirt.org, Laszlo Hornyak lhorn...@redhat.com
Sent: Monday, August 12, 2013 9:05:09 AM
Subject: Re: [Users] All VMs disappeared

Dne 10.8.2013 01:54, Greg Sheremeta napsal(a):

It could also be this bug[1], for which I just submitted a fix.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=987907

You can work around it by typing just VMs: (without the 
quotes) in

the
search bar.

Greg


- Original Message -

From: Laszlo Hornyak lhorn...@redhat.com
To: Jakub Bittner j.bitt...@nbu.cz
Cc: users@ovirt.org
Sent: Friday, August 9, 2013 11:21:26 AM
Subject: Re: [Users] All VMs disappeared

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:]