Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Nov 16, 2012
  1. Print answerfile options in rst format

    authored
    this can now be used to help generate a man page
  2. Merge pull request #4 from alobbs/master

    authored
    No need to spawn a process to check if a file exists
  3. Alvaro Lopez Ortega

    Spawning a new process to run 'test -f' in order to check whether a

    alobbs authored
    file exists might <cough!> be too much.
Commits on Nov 15, 2012
  1. Merge pull request #3 from alobbs/master

    authored
    Fixes a upper/lower-case inconsistency in one of the error reports [Minor]
  2. Alvaro Lopez Ortega

    Fixes a upper/lower-case inconsistency in one of the error reports.

    alobbs authored
    Also, rewrites one of the warning messages.
Commits on Nov 14, 2012
  1. removing validatePassword

    authored
    It adds a dependency on cracklib and nothing uses it
Commits on Nov 13, 2012
  1. Merge pull request #1 from alobbs/master

    authored
    Fixes wrong permissions
  2. Alvaro Lopez Ortega
Commits on Oct 10, 2012
Commits on Sep 21, 2012
  1. Adding sample project

    authored
  2. Initial Subset of oVirt setup script

    authored
    I've taken what it looks like I could use from the oVirt
    installation script, I might take more later
    See git://gerrit.ovirt.org/ovirt-engine for origional source
    
    Also re-adding Apache 2.0 LICENSE file from the origional oVirt
    source tree
Commits on Jul 31, 2012
  1. gerrit-ovirt-org

    packaging: engin-setup - Drop DB before restore when upgrade fails (B…

    Ofer Schreiber authored gerrit-ovirt-org committed
    …Z#844341)
    
    When the DB upgrade fails, the setup tries to restore the backed up DB.
    In a specific case, when the upgrade succeeded, but engine-config
    execution fails, the DB restore fails, since the DB already exists.
    
    This patch fixes the restore flow, by adding a call to db drop method.
    Also, it fixes the reason for the engine-config setup, and always
    configure the db connection string and password.
    
    Change-Id: Ic465815c683c0e4241f520960d4acc0dfa59f95a
    Signed-off-by: Ofer Schreiber <oschreib@redhat.com>
Commits on Jul 30, 2012
  1. Juan Hernández gerrit-ovirt-org

    packaging: Ports 8006, 8007 and 8008 are not required

    jhernand authored gerrit-ovirt-org committed
    The message presented by engine-setup when the installation
    finishes states that the ports 8006, 8007 and 8008 have to be open
    in the firewall, but we don't use them for anything currently. The
    only ports we need to open in the firewall are the HTTP and HTTPS
    ports, as selected by the user.
    
    Change-Id: I77be99f09e8b392c337739d5b88d028dbdc73e77
    Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
  2. Juan Hernández gerrit-ovirt-org

    packaging: Disable HTTP and HTTPS when using Apache as proxy

    jhernand authored gerrit-ovirt-org committed
    This patch changes the setup application and the JBoss
    configuration file so that the HTTP and HTTPS connectors will be
    completely disabled and only the AJP connector will be enabled if
    Apache is used as a proxy.
    
    On the other hand, if Apache is not used as a proxy the HTTP and
    HTTPS connectors will be enabled but the AJP connector will be
    disabled.
    
    This reduces the use of resources in the application server
    (thread pools) and reduces also the attack surface.
    
    It is convenient to be able to enable/disable the connectors at
    will after the installation. This can be done changing the
    /etc/sysconfig/ovirt-engine file, without running the setup again.
    For example, in order to enable the HTTP connector it is enough to
    add (or just uncomment) the following lines:
    
      ENGINE_HTTP_ENABLED=true
      ENGINE_HTTP_PORT=8080
    
    Then restart the engine and the connector will be available. Same
    for the HTTPS and AJP connectors.
    
    Change-Id: I0d9443d18f1eee928a2fe594527ac0d59c14a5df
    Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
Commits on Jul 25, 2012
  1. Kiril Nesenko

    packaging: Modify user interface of engine-setup (#832767)

    knesenko authored
    https://bugzilla.redhat.com/show_bug.cgi?id=832767
    
    * Fixed masseges typos and changed the content.
    * Use default name for iso domain in UI
    * Suggest path for iso domain
    * Suggest org name
    
    Change-Id: If3cb27b4b6dbaaafb19a3d61b7a272e4e1ad91b8
    Signed-off-by: Kiril Nesenko <knesenko@redhat.com>
Commits on Jul 24, 2012
  1. packaging: Disable versionlock plugin during upgrade

    Alex Lourie authored Ofer Schreiber committed
    Change-Id: Idb1520476e3334f16288b96a0a8c60eb92975534
    Signed-off-by: Alex Lourie <alourie@redhat.com>
  2. packaging: Added service name parameter to checking Jboss status

    Alex Lourie authored Ofer Schreiber committed
    Change-Id: I72c33b3c334775686c4761c5ceb9e7134afc0ee4
    Signed-off-by: Alex Lourie <alourie@redhat.com>
Commits on Jul 22, 2012
  1. packaging: Removed obsolete jboss checking code (#837812)

    Alex Lourie authored
    https://bugzilla.redhat.com/show_bug.cgi?id=837812
    
    * Removed checking the status of ovirt-engine service
    before stopping it.
    
    Change-Id: Ia89d38cd6c83d8463b4f446f8878e8671b520bbd
    Signed-off-by: Alex Lourie <alourie@redhat.com>
  2. packaging: Added function to fetch password from pgpass

    Alex Lourie authored
    * Added getDbPassword function that gets a password for
    a specific user.
    
    Change-Id: I3b2f906f26a47c982ebbad6a8da6a943fba507f5
    Signed-off-by: Alex Lourie <alourie@redhat.com>
Commits on Jul 19, 2012
  1. packaging: Added function to parse web-conf.js

    Alex Lourie authored
    Change-Id: I4b42c27783d4618a1aca2e64261ec9323fdacfa6
    Signed-off-by: Alex Lourie <alourie@redhat.com>
Commits on Jul 16, 2012
  1. packaging: Fixed stopping and starting engine during upgrade

    Alex Lourie authored
    Change-Id: I5f1688538a0c133847c999b78e4fcb5c789cfd1b
    Signed-off-by: Alex Lourie <alourie@redhat.com>
  2. packaging: updated stopJboss function to recieve service name

    Alex Lourie authored
    Change-Id: I18e7ec6e3bc61b75c764e752e1edf3f544a3cca9
    Signed-off-by: Alex Lourie <alourie@redhat.com>
  3. packaging: adding functionality to MYUM class

    Alex Lourie authored
    * Added member function packageAvailable that returns true if
    provided package is available for install.
    * Added member function packageInstalled that returns true if
    provided package is installed.
    * Added member function depListForRemoval that returns a list of
    packages that would be removed as dependency if the provided
    set of packages is removed.
    
    Change-Id: Ib26e517771d24242c1279358563dba74aca7cade
    Signed-off-by: Alex Lourie <alourie@redhat.com>
  4. Juan Hernández

    packaging, tools: Generate engine-config.xml from template

    jhernand authored
    This change converts the engine-config.xml file into a
    ovirt-engine.xml.in template that is copied from
    /usr/share/ovirt-engine/service to /var/cache/ovirt-engine when
    the engine starts.
    
    The template is processed and the variables are replaced by the
    values in /etc/sysconfig/ovirt-engine.
    
    This change is combined with changes to engine-setup, the tools
    (engine-config and engine-manage-domains) and the notifier so that
    they don't manipulate the engine-config.xml file, but the simpler
    /etc/sysconfig/ovirt-engine file.
    
    Change-Id: I36c8ff572307a31e5f9f9749e6c3cc41858a2765
    Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
Commits on Jul 12, 2012
  1. packaging: engine-setup - Use semange instead of setsebool

    Ofer Schreiber authored
    engine-setup should use semanage commands insteam of setsebool, since
    setsebool works only when selinux is enabled.
    
    Change-Id: Ia7cd17036c503c7765887bb7bf26b131c727f0df
    Signed-off-by: Ofer Schreiber <oschreib@redhat.com>
Commits on Jul 11, 2012
  1. Juan Hernández

    packaging: Don't install postgres-ds.xml

    jhernand authored
    This file is JBoss 5 specific, and no longer used by the engine or
    by the setup scripts.
    
    Change-Id: Ida2bb6ec4a51d1b7e0fe5ae1eca5122bd7c01a79
    Signed-off-by: Juan Hernandez <juan.hernandez@redhat.com>
  2. setup: test effective user id instead of 'root' user name

    Alon Bar-Lev authored
    Root user or every other alias will have UID=0, better
    test for UID and not user name.
    
    In bash we have $UID, $EUID.
    
    In POSIX sh we have $(id -u).
    
    In Python, there is no need to convert uid to name in order
    to test if we run under root.
    
    Change-Id: Iad84de5277439b2a1aac7b5985954c1ad8ffca80
    Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>
Commits on Jul 10, 2012
  1. Juan Hernández

    packaging: Handle the new way to handle passwords in engine-config

    Shahar Havivi authored jhernand committed
    The engine-config tool has been changed to require the use of
    temporary files when changing passwords. The setup tool needs to
    be changed accordingly.
    
    Change-Id: I2b18c6911f87b369561a7edbde2002bc1d7ce9df
    Signed-off-by: Shahar Havivi <shavivi@redhat.com>
Commits on Jul 9, 2012
  1. Kiril Nesenko

    packaging: engine-setup - Replace hardcoded ovirt string

    knesenko authored
    Replace hardcoded ovirt string with variable
    
    Change-Id: I767cf4dd2bca3bbf38a1a68601fdda31ea2873e6
    Signed-off-by: Kiril Nesenko <knesenko@redhat.com>
Commits on Jul 8, 2012
  1. packaging: Moving to use execCmd in all scripts (#731686)

    Alex Lourie authored
    https://bugzilla.redhat.com/show_bug.cgi?id=731686
    
    * Renamed all uses of execExternalCmd() to use execCmd().
    * Removed execExternalCmd function from common_utils.py
    
    Change-Id: If5428890f9dcf8eafaa1ab059ee5d9e84f3f7f9a
    Signed-off-by: Alex Lourie <alourie@redhat.com>
Commits on Jul 4, 2012
  1. Kiril Nesenko

    packaging: engine-cleanup - Replace hardcoded Jboss string

    knesenko authored
    https://bugzilla.redhat.com/831263
    
    Replace hardcoded Jboss string with service name variable
    
    Change-Id: I51172286883dfdf8e03498b838f3bdf6b2f20024
    Signed-off-by: Kiril Nesenko <knesenko@redhat.com>
Something went wrong with that request. Please try again.