packaging: add engine-setup and adjust code to fedora 16

* Introduce engine-setup into the repository
* adjust all around setup code for fedora 16
* add a new welcome page with the ovirt logo
* Set kernel.shmmax to 35mb, otherwise postgresql
wont run with 150 connections

Change-Id: Ib51db2576ab3329cc1e73ce8fd8300d16f9f21c1
Acked-by:
packaging: remove proprietry images from resources dir

remove 3 images from the resources directory

Change-Id: I7bde0f68eb5a60e420da920fd508ee56353f7a99
Acked-by:
packaging: minor fixes in ovirt-engine and rpm deployment

1. check for the existence of postgresql init scrip in the correct
location
2. Fix "second run" message in engine-setup which was displayed even on
first run
3. Add requirement for ovirt-engine-setup in ovirt-engine's spec file

Change-Id: I2a7ddf64055310dd27261160a037e49879151f92
packaging: Add engine-cleanup utility

Initial commit of engine-cleanup utility

Change-Id: I2d85cfb6516e4b668273ae1c5cd5546176ff2967
Acked-by: Doron Fedicuk <dfedicuk@redhat.com>
engine: rename RHEVKerberosAuth to EngineKerberosAuth

This commit renames RHEV in Engine in the kerberos authentication
security domains in login-config.xml files, and the related code.

Change-Id: Id3f33567d87c09e586bed2371130c57c453ab6d4
packaging: engine-setup - Improve ear and pgsql_ds links creation proccess

Add existence check before creating symlinks inside JBoss.

Change-Id: Ie0aaa3f4073b0c6cd52829b64357a540961ea505
Acked-by: Eyal Edri <eedri@redhat.com>
packaging: adjust setup to JbossAS7.1

Change setup, rpm deployment & make file to the changes
that came with the move to jbossAS7.x

Changes specific for JBossAS7.1.Beta1B:
* add a copy for the as/naming module supplied by ovirt

Change-Id: If3eb8f3606a4b8cfb8d5a671f7f87628b392f5c7
packaging: BZ#782439 - nfsconfig should be set with at least one
daemon per processor

By default, NFS configuration file use 8 daemons per processor, we
used none, so service failed to start properly.

Change-Id: I5a25780fa683e66355b48a50299c0c24b20d0d12
engine + installer: add needed paths to sun.jndi module

When searching for DNS entries, the object factory uses the
sun.jndi.url.dns.dnsURLContextFactory class.

This patch adds this path to the sun.jdk module.xml file (both when
deploying and in the installer).

Change-Id: I769c3a93a2c44c5730b49c5d988538ed5984572f
Packaging: Update configuration in logcollector and isouploader (#784303)

https://bugzilla.redhat.com/show_bug.cgi?id=784303

Updated default configuration path for logcollector and isouploader
configuration files.

Fixed default log paths as well for logcollector and isouploader.

Fixed creating "engine" option in configuration files instead of
"rhevm" in engine-setup.py

Change-Id: I625e804d9a421af990edf32dbadbc21c83e6739e
packaging: engine-setup - Remove locale check (#769319)

https://bugzilla.redhat.com/show_bug.cgi?id=769319

engine-setup won't validate locale in the system

Change-Id: Ibb41855dad22a871b02d0f5904186bbc354f00f7
Packaging: Updated ambiguous text message (#784206)

https://bugzilla.redhat.com/show_bug.cgi?id=784206

Updated the text mentioning the minimal free memory
requirements. Replaced reference to RHEV with ovirt-engine.

Change-Id: Ia89016c6bc5ac423b781c4daba07447988c68b30
packaging: engine-setup -support long host fqdn  (#782810)

	- fixed installCA.sh to exit on error
	- truncate long fqdn host to avoid failure in create ca

Change-Id: I7f3c5584b54afb78a28c0c22c10649d6d559e247
packaging: use files instead of pipe in execCmd

Add a flag for common_utils.execCmd to use real files instead
of the subprocess pipes (subprocess.PIPE)
this change has been crafted in order to by pass "forked fork"
processes which holds stdout & stderr open and hangs subprocess
when using pipes for stdout & stderr.

Change-Id: Ica39e946b9ee3e13b343ebe619ef2c770d170e8f
Packaging: changed the way engine-cleanup removes DB (#782176)

https://bugzilla.redhat.com/show_bug.cgi?id=782176

Updated the way engine-cleanup drops DB. First it blocks new
connections, then disconnects all active connections to 'engine'.
Then it drops the 'engine' DB.

Change-Id: Ie76a9f61ab8092156c1ad9a8b7772fbe4a6796ac
packaging:  Fixed using "ovirt-engine" instead of 'rhevm' (#784850)

https://bugzilla.redhat.com/show_bug.cgi?id=784850

Updates to logging and archiving of engine.log:
 * Fixed using 'ovirt-engine' instead of 'rhevm' in logging from ovirt-cron.
 * Fixed using ovirtlogrot.sh from the correct path when deployed.
 * Moved ovirtlogrot.sh from 'packaging' to 'packaging/resources' folder
 in dev tree.
 * Fixed Makefile to deploy ovirtlogrot.sh from the updated location.
 * Updated ovirtlogrot.sh script to archive the correct log files.
 * Removed obsolete engine-cron script and its corresponding
 engine.logrotate configuration file.

Change-Id: If2b540582c0641fa96e3f1380cee73c53e05967d
packaging: Rename engine war to ovirtengine

Rename engineager.war to ovirtengine.war according to
6ce3923824aab0d4b36223df44b60a8f033451ae

Change-Id: I16c18200928ebaa3f0c50846a120d111b52ad873
packaging: classify params and groups (plugins step 1/3)

Add a class for group & parameter configurations in engine-setup
keep the same parameters, but classify both groups and params

The logic & code that use these params & groups did not change,
only the interface to the params was modified

Change-Id: I0fea2cb92a7f9c0b2447ca106262c973918fa7d0
packaging: when using services, always use files in execCmd (#737814)

http://bugzilla.redhat.com/737814

When starting/stopping a service, we will always call execCmd
with usePipeFiles=True in order to avoid fork/fork/hang problems
(subprocess hell.)

Change-Id: I0309699a0fb195611c7e9c60eea057d64a2b0ba1
packaging: add sequences to engine-setup (plugins step 2/3)

Add a simple class model for sequences of steps
each step may contain several functions while displaying
a single step to the screen.
each sequence may contain as many steps as required and will
itterate over them.

Change-Id: I66b2ac6255f47e8e09d0b0e9972858864bcbd7f3