Permalink
Switch branches/tags
Nothing to show
Commits on Nov 16, 2012
  1. Print answerfile options in rst format

    this can now be used to help generate a man page
    committed Nov 16, 2012
  2. Merge pull request #4 from alobbs/master

    No need to spawn a process to check if a file exists
    committed Nov 16, 2012
  3. Spawning a new process to run 'test -f' in order to check whether a

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

    Fixes a upper/lower-case inconsistency in one of the error reports [Minor]
    committed Nov 15, 2012
  2. Fixes a upper/lower-case inconsistency in one of the error reports.

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

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

    Fixes wrong permissions
    committed Nov 13, 2012
Commits on Oct 10, 2012
Commits on Sep 21, 2012
  1. Adding some more validators

    committed Sep 21, 2012
  2. Adding sample project

    committed Sep 21, 2012
  3. Initial Subset of oVirt setup script

    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
    committed Aug 2, 2012
Commits on Jul 31, 2012
  1. packaging: engin-setup - Drop DB before restore when upgrade fails (B…

    …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>
    Ofer Schreiber committed with gerrit-ovirt-org Jul 30, 2012
Commits on Jul 30, 2012
  1. packaging: Ports 8006, 8007 and 8008 are not required

    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>
    jhernand committed with gerrit-ovirt-org Jul 17, 2012
  2. packaging: Disable HTTP and HTTPS when using Apache as proxy

    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>
    jhernand committed with gerrit-ovirt-org Jul 25, 2012
Commits on Jul 25, 2012
  1. packaging: Modify user interface of engine-setup (#832767)

    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>
    Kiril Nesenko committed Jul 23, 2012
Commits on Jul 24, 2012
  1. packaging: Disable versionlock plugin during upgrade

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

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

    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>
    Alex Lourie committed Jul 17, 2012
  2. packaging: Added function to fetch password from pgpass

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

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

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

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

    * 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>
    Alex Lourie committed Jul 12, 2012
  4. packaging, tools: Generate engine-config.xml from template

    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>
    jhernand committed Jul 10, 2012
Commits on Jul 12, 2012
  1. packaging: engine-setup - Use semange instead of setsebool

    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>
    Ofer Schreiber committed Jun 24, 2012
Commits on Jul 11, 2012
  1. packaging: Don't install postgres-ds.xml

    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>
    jhernand committed Jul 3, 2012
  2. setup: test effective user id instead of 'root' user name

    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>
    alonbl committed Jul 8, 2012
Commits on Jul 10, 2012
  1. packaging: Handle the new way to handle passwords in engine-config

    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>
    shaharha committed with jhernand Jul 9, 2012
Commits on Jul 9, 2012
  1. packaging: engine-setup - Replace hardcoded ovirt string

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

    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>
    Alex Lourie committed May 31, 2012
Commits on Jul 4, 2012
  1. packaging: engine-cleanup - Replace hardcoded Jboss string

    https://bugzilla.redhat.com/831263
    
    Replace hardcoded Jboss string with service name variable
    
    Change-Id: I51172286883dfdf8e03498b838f3bdf6b2f20024
    Signed-off-by: Kiril Nesenko <knesenko@redhat.com>
    Kiril Nesenko committed Jul 3, 2012