Re: [Engine-devel] UX: Display VM Downtime in the UI

2013-12-19 Thread Omer Frenkel


- Original Message -
 From: Adam Litke ali...@redhat.com
 To: Malini Rao m...@redhat.com
 Cc: engine-devel@ovirt.org
 Sent: Wednesday, December 18, 2013 11:19:17 PM
 Subject: Re: [Engine-devel] UX: Display VM Downtime in the UI
 
 On 18/12/13 16:04 -0500, Malini Rao wrote:
 
 - Original Message -
  From: Adam Litke ali...@redhat.com
  To: engine-devel@ovirt.org
  Sent: Wednesday, December 18, 2013 9:42:59 AM
  Subject: [Engine-devel] UX: Display VM Downtime in the UI
 
  Hi UX developers,
 
  My recent change: http://gerrit.ovirt.org/#/c/22429/ adds support for
  tracking the time a VM was last stopped and presenting it in the REST
  API.  I would also like to expose this information in the admin
  portal.  This feature has been requested by end users and is useful
  for managing lots of VMs which may not be used frequently.
 
  My idea is to change the 'Uptime' column in the VMs tab to 'Uptime /
  Downtime' or some equivalent and more compact phrasing.  If the VM is
  Up, then last_start_time would be used to calculate uptime.  If the VM
  is Down, then last_stop_time would be used to calculate downtime.
  This helps to make efficient use of the column space.
 
 
 Thanks for your comments!
 
 MR: I like the idea in general but can we extend to other states as
 well? Then we could have the col be called something like 'Time in
 
 I would argue that 'Up' and 'Down' are the only persistent states
 where a VM can linger for a user-controlled amount of time.  The
 others (WaitForLaunch, PoweringDown, etc) are just transitions with
 their own system defined timeouts.  Because of this, it really only
 makes sense to denote uptime and downtime.  When the VM is in another
 state, this column would be empty.
 

when do you think this would be empty?
the way i see it, if there is a qemu process running, we count 'up time' (as it 
is today)
otherwise, its down time (when vm is suspended/image locked its down as well)
maybe only in 'unknown' state, when we dont have connection to the host,
and we dont know the state of the vm it can be empty.

 current state'. Also, I think since this col is so far from the first
 column that has the status icon, we should have a tooltip on the
 value that says ' Uptime' , 'down time' or 'Status time'.
 
 Agree on the tooltip.
 
 
  I am not sure how column sorting is being implemented, but if we
  combine uptime and downtime into a single column we have an
  opportunity to provide a really intuitive sort where the longest
  uptime machines are at the top and the longest downtime machines
  are at the bottom.  This could be accomplished by treating uptime
  as a positive interval and downtime as a negative interval.
 
 MR: That's an interesting idea. Not sure how that would translate if
 we did all states and times. Then I would think you would do
 descending order within each state but then we would have to fix a
 sequence for the display of the various statuses based on the
 statuses that matter most.
 
 This is much simpler if you just work with Up and Down.
 
 
  Questions for you all:
 
  - Do you support the idea of changing the Uptime column to include
  Downtime as well or would you prefer a new column instead?
 
 
 MR: I do not like the idea of introducing new columns for this
 purpose since at any given time, only one of the columns will be
 populated. Another idea is to remove this column all together and
 include the time for the current status as a tooltip on the status
 icon preceding the name.
 
 What about adding the uptime/downtime to the status column itself?  I
 don't necessarily think this will muddy the status much since there is
 still an icon on the left.
 

i like better the first option of one column with up/down time,
i think its more clear to the user

 ___
 Engine-devel mailing list
 Engine-devel@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/engine-devel
 
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Increasing the HTTP keep alive to 30 seconds

2013-12-19 Thread Dave Neary
Hi Juan,

Did you ever get an answer to this? I don't know who is looking after
the setup scripts these days, but I'd like to.

Thanks,
Dave.

On 12/02/2013 10:57 AM, Juan Hernandez wrote:
 Hello,
 
 We have an RFE that has been open for quite a long time requesting an
 increase of the keep alive time in the HTTP communications between the
 GUI applications and the web server:
 
 https://bugzilla.redhat.com/833799
 
 Implementing it should be as simple as modifying the setup application
 so that it includes the modified KeepAlive directives in the web server
 configuration, something like this:
 
 KeepAlive on
 KeepAliveTimeout 30
 
 Is someone with knowledge of the setup application interested on taking
 this?
 
 Regards,
 Juan Hernandez
 

-- 
Dave Neary - Community Action and Impact
Open Source and Standards, Red Hat - http://community.redhat.com
Ph: +33 9 50 71 55 62 / Cell: +33 6 77 01 92 13
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


[Engine-devel] oVirt 3.3.2 release

2013-12-19 Thread Sandro Bonazzola
The oVirt development team is very happy to announce the general
availability of oVirt 3.3.2 as of December 19th 2013. This release
solidifies oVirt as a leading KVM management application and open
source alternative to VMware vSphere.

oVirt is available now for Fedora 19 and Red Hat Enterprise Linux 6.5
(or similar).

This release of oVirt includes 175 bug fixes and the first release of the
Backup and Restore API, which enables backup programs to integrate with oVirt.
This release also simplifies the Guide Me VM-creation wizard. See the release
notes [1] for a list of the new features and bugs fixed.

IMPORTANT NOTE: If you're upgrading from a previous version, please update
ovirt-release to the latest version (10) and verify you have the correct
repositories enabled by running the following commands

# yum update ovirt-release
# yum repolist enabled

before upgrading with the usual procedure. You should see the ovirt-3.3.2 and
ovirt-stable repositories listed in the output of the repolist command.



[1] http://www.ovirt.org/OVirt_3.3.2_release_notes

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


[Engine-devel] Engine on Fedora 20

2013-12-19 Thread Adam Litke

Has anyone had success running ovirt-engine on Fedora 20?  I upgraded
my system on Wednesday and thought everything was fine but then I
started getting the following error:

2013-12-19 14:53:31,447 ERROR [org.ovirt.engine.core.bll.Backend] (MSC
service thread 1-5) Error in getting DB connection. The database is
inaccessible. Original exception is:
DataAccessResourceFailureException: Error retreiving database
metadata; nested exception is
org.springframework.jdbc.support.MetaDataAccessException: Could not
get Connection for extracting meta data; nested exception is
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not
get JDBC Connection; nested exception is java.sql.SQLException:
javax.resource.ResourceException: IJ000453: Unable to get managed
connection for java:/ENGINEDataSource

Has anyone encountered this recently?
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Engine on Fedora 20

2013-12-19 Thread Adam Litke

On 19/12/13 15:05 -0500, Adam Litke wrote:

Has anyone had success running ovirt-engine on Fedora 20?  I upgraded
my system on Wednesday and thought everything was fine but then I
started getting the following error:

2013-12-19 14:53:31,447 ERROR [org.ovirt.engine.core.bll.Backend] (MSC
service thread 1-5) Error in getting DB connection. The database is
inaccessible. Original exception is:
DataAccessResourceFailureException: Error retreiving database
metadata; nested exception is
org.springframework.jdbc.support.MetaDataAccessException: Could not
get Connection for extracting meta data; nested exception is
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not
get JDBC Connection; nested exception is java.sql.SQLException:
javax.resource.ResourceException: IJ000453: Unable to get managed
connection for java:/ENGINEDataSource

Has anyone encountered this recently?


Thanks to alonb for his help on IRC.  As it turns out, I had a poorly
configured pg_hba.conf file that only started causing problems on F20.
To fix I replaced my contents with the following two lines:

hostengine  engine  0.0.0.0/0   md5
hostengine  engine  ::0/0   md5

Otherwise, it seems to be working fine.
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


Re: [Engine-devel] Engine on Fedora 20

2013-12-19 Thread Itamar Heim

On 12/19/2013 03:22 PM, Adam Litke wrote:

On 19/12/13 15:05 -0500, Adam Litke wrote:

Has anyone had success running ovirt-engine on Fedora 20?  I upgraded
my system on Wednesday and thought everything was fine but then I
started getting the following error:

2013-12-19 14:53:31,447 ERROR [org.ovirt.engine.core.bll.Backend] (MSC
service thread 1-5) Error in getting DB connection. The database is
inaccessible. Original exception is:
DataAccessResourceFailureException: Error retreiving database
metadata; nested exception is
org.springframework.jdbc.support.MetaDataAccessException: Could not
get Connection for extracting meta data; nested exception is
org.springframework.jdbc.CannotGetJdbcConnectionException: Could not
get JDBC Connection; nested exception is java.sql.SQLException:
javax.resource.ResourceException: IJ000453: Unable to get managed
connection for java:/ENGINEDataSource

Has anyone encountered this recently?


Thanks to alonb for his help on IRC.  As it turns out, I had a poorly
configured pg_hba.conf file that only started causing problems on F20.
To fix I replaced my contents with the following two lines:

hostengine  engine  0.0.0.0/0   md5
hostengine  engine  ::0/0   md5

Otherwise, it seems to be working fine.
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel


is this with the wildfly jboss version?
___
Engine-devel mailing list
Engine-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-devel