gluster: Tables, SPs and DAOs for gluster services

These tables will store information about gluster related services
running on servers of gluster storage clusters.

gluster_service_types : Type of the service e.g. gluster-swift
gluster_services : Service type to services mapping
  (gluster-swift-proxy, gluster-swift-container, etc)
gluster_cluster_services : Cluster to service types mapping
gluster_server_services : Server to services mapping

In this process, renamed the class ServiceInfo to GlusterServerService

Change-Id: I1ded8d39203009bc66974e136c41b5de180ffbff
Signed-off-by: Shireesh Anjal <sanjal@redhat.com>
engine: Fixed upgrade script with duplicate number

Change-Id: I563aa8c81b5ba1d609f72a83d592bf7655b98995
Signed-off-by: Shireesh Anjal <anjalshireesh@gmail.com>
webadmin,userportal: Fix action table element IDs

This patch fixes a problem in AbstractActionTable which uses
two table widgets internally (optional header + main table).

Since both above mentioned table widgets are now derived from
ColumnResizeCellTable, and sice column definition objects are
shared between both tables, we must not set element IDs for
the optional header table.

Change-Id: I318338a8e92b3967b4ce40ac288add846f0a1444
Bug-Url: https://bugzilla.redhat.com/960519
Signed-off-by: Vojtech Szocs <vszocs@redhat.com>
build: Explicit versions definitions for maven plugins.

Maven 3.x deprecates definition of plugins and dependencies without
explicit version specified,

This commit defines explicit version for some maven plugins thus
eliminates the startup maven warnings when a build occurs.

Change-Id: I968a9ef2e4741acd313d2e165348bee1ccd1b0ed
Signed-off-by: Asaf Shakarchi <asaf@redhat.com>
core: fix typo in scheduler error message

Change-Id: I4f2f80002d26edefbca5aa43c124ebcb668127d8
Signed-off-by: Alissa Bonas <abonas@redhat.com>
engine: Fix mispelling in member name INSTANCE

Change-Id: Ibb07bd1b3f61826dc71a092acff20e858974b561
Signed-off-by: Alissa Bonas <abonas@redhat.com>
engine: sort disks by ID in webadmin

Add to search of Disks tab the ability to sort by disk id.

Change-Id: I373260552d1656dc15da8def6ecfed9e74022675
Signed-off-by: Alissa Bonas <abonas@redhat.com>
core: [cleanup] tiny cleanups

This patch contains:
1. change the indentation in HibernateVmCommand#getAuditLogTypeValue to
make it more readable
2. simplified AsyncTaskManager#hasTasksForEntityIdAndAction structure
3. replace ArrayList with List in VdsActionParameterBase public methods
signatures

Change-Id: I7bbfc040e06ff1cfd48ba02a5992d0d533d9e75f
Signed-off-by: Arik Hadas <ahadas@redhat.com>
core: Remove GlobalCatalogSrvLocator

This class is not used.

Change-Id: I3b4b4bbf41c6c138b4370479719c45eab6a28299
Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
core: ReplicateDisk - prevent rollback on engine restart

VmReplicateDiskFinishTaskHandler:
Rollback should be prevented on VmReplicateDiskFinish success,
but we can't rely on the command's returnValue since
it's not persistent. Instead, to make sure rollback
is prevented on restart, query the DB to verify that
the disk indeed moved to the target storage domain.

Change-Id: Ibd088940d6e3f7be79fb0381076499ea1c1d73c7
Bug-Url: https://bugzilla.redhat.com/958848
Signed-off-by: Daniel Erez <derez@redhat.com>
packaging: fix rpm errors due to services separation

these errors were not show previously, even in CI...
weired!

Change-Id: I5d93aea07b4c65e235d47a17d4b106132479803d
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>