Change in ovirt-engine[master]: packaging: setup: re-write using otopi

oschreib at redhat.com oschreib at redhat.com
Sun May 12 08:32:09 UTC 2013


Ofer Schreiber has submitted this change and it was merged.

Change subject: packaging: setup: re-write using otopi
......................................................................


packaging: setup: re-write using otopi

OUTLINE

We introduce a complete rewrite of ovirt-engine setup, which includes
engine-setup, engine-upgrade, engine-cleanup.

The new implementation is installed side-by-side, user may have a choice
which implementation to use.

COMPATIBILITY

Implementation are incompatible, once setup using legacy, upgrade and
cleanup will not work using the new implementation and vise versa.
Answer file is not compatible between implementations.

Implementation is not feature complete, setup is almost complete,
cleanup needs more work to clean files that where partially modified,
currently, setup is not able to upgrade non-new implementation setup.

MAJOR FEATURES

Fully support development environment installation.

Up until now, developers had maintained parallel environment, manually
customized, partial featured.
Now, developers may setup product much like production using unprivileged
user, custom location and custom database. For more information refer to
README.developer file.

Platform independent implementation

The new implementation can/should be able to run in multiple
distributions, setting up valid engine environment. So far tested
fedora, rhel, centos, gentoo, ubuntu.

Database access

Split between host provisioning and database setup.

Host provisioning is the part setup can configure the database package on
host to be able to serve the application. The provisioning phase is now
completely optional and is supported only at legacy distributions.

Database setup is the part that a schema is created in existing
database. This enables the dba to provide ovirt administration
unprivileged database user and database for his use.

Implementation

Pluggable, mission centric, consistent, modern, customizable implementation.
Reuse the otopi infrastructure that is also used for host-deploy, and
future reuse of setup for dwh and reports components.

Localization ready.

Change-Id: Id587977be496f979f692ee5fd06a4e264d3f9197
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=911191
Signed-off-by: Alon Bar-Lev <alonbl at redhat.com>
Signed-off-by: Sandro Bonazzola <sbonazzo at redhat.com>
Signed-off-by: Alex Lourie <alourie at redhat.com>
---
M .gitignore
M Makefile
A README.developer
M ovirt-engine.spec.in
A packaging/check.sh
A packaging/setup/bin/ovirt-engine-remove
A packaging/setup/bin/ovirt-engine-setup
A packaging/setup/bin/ovirt-engine-setup.env
A packaging/setup/ovirt_engine_setup/__init__.py
A packaging/setup/ovirt_engine_setup/config.py.in
A packaging/setup/ovirt_engine_setup/constants.py
A packaging/setup/ovirt_engine_setup/database.py
A packaging/setup/ovirt_engine_setup/dialog.py
A packaging/setup/ovirt_engine_setup/domains.py
A packaging/setup/ovirt_engine_setup/util.py
A packaging/setup/plugins/ovirt-engine-common/core/__init__.py
A packaging/setup/plugins/ovirt-engine-common/core/answerfile.py
A packaging/setup/plugins/ovirt-engine-common/core/engine.py
A packaging/setup/plugins/ovirt-engine-common/core/misc.py
A packaging/setup/plugins/ovirt-engine-common/core/offlinepackager.py
A packaging/setup/plugins/ovirt-engine-common/db/__init__.py
A packaging/setup/plugins/ovirt-engine-common/db/connection.py
A packaging/setup/plugins/ovirt-engine-common/system/__init__.py
A packaging/setup/plugins/ovirt-engine-common/system/hostile_services.py
A packaging/setup/plugins/ovirt-engine-remove/core/__init__.py
A packaging/setup/plugins/ovirt-engine-remove/core/misc.py
A packaging/setup/plugins/ovirt-engine-remove/db/__init__.py
A packaging/setup/plugins/ovirt-engine-remove/db/clear.py
A packaging/setup/plugins/ovirt-engine-remove/files/__init__.py
A packaging/setup/plugins/ovirt-engine-remove/files/simple.py
A packaging/setup/plugins/ovirt-engine-setup/all-in-one/__init__.py
A packaging/setup/plugins/ovirt-engine-setup/all-in-one/core.py
A packaging/setup/plugins/ovirt-engine-setup/all-in-one/cpu.py
A packaging/setup/plugins/ovirt-engine-setup/all-in-one/firewall.py
A packaging/setup/plugins/ovirt-engine-setup/all-in-one/sshd.py
A packaging/setup/plugins/ovirt-engine-setup/all-in-one/storage.py
A packaging/setup/plugins/ovirt-engine-setup/all-in-one/super_user.py
A packaging/setup/plugins/ovirt-engine-setup/all-in-one/vdsm.py
A packaging/setup/plugins/ovirt-engine-setup/apache/__init__.py
A packaging/setup/plugins/ovirt-engine-setup/apache/core.py
A packaging/setup/plugins/ovirt-engine-setup/apache/ovirt_engine.py
A packaging/setup/plugins/ovirt-engine-setup/apache/root.py
A packaging/setup/plugins/ovirt-engine-setup/apache/selinux.py
A packaging/setup/plugins/ovirt-engine-setup/apache/ssl.py
A packaging/setup/plugins/ovirt-engine-setup/config/__init__.py
A packaging/setup/plugins/ovirt-engine-setup/config/appmode.py
A packaging/setup/plugins/ovirt-engine-setup/config/ca.py
A packaging/setup/plugins/ovirt-engine-setup/config/database.py
A packaging/setup/plugins/ovirt-engine-setup/config/domain_type.py
A packaging/setup/plugins/ovirt-engine-setup/config/iso_domain.py
A packaging/setup/plugins/ovirt-engine-setup/config/java.py
A packaging/setup/plugins/ovirt-engine-setup/config/jboss.py
A packaging/setup/plugins/ovirt-engine-setup/config/macrange.py
A packaging/setup/plugins/ovirt-engine-setup/config/options.py
A packaging/setup/plugins/ovirt-engine-setup/config/protocols.py
A packaging/setup/plugins/ovirt-engine-setup/config/tools.py
A packaging/setup/plugins/ovirt-engine-setup/core/__init__.py
A packaging/setup/plugins/ovirt-engine-setup/core/misc.py
A packaging/setup/plugins/ovirt-engine-setup/core/uninstall.py
A packaging/setup/plugins/ovirt-engine-setup/db/__init__.py
A packaging/setup/plugins/ovirt-engine-setup/db/connection.py
A packaging/setup/plugins/ovirt-engine-setup/db/schema.py
A packaging/setup/plugins/ovirt-engine-setup/dialog/__init__.py
A packaging/setup/plugins/ovirt-engine-setup/dialog/preview.py
A packaging/setup/plugins/ovirt-engine-setup/dialog/titles.py
A packaging/setup/plugins/ovirt-engine-setup/distro-rpm/__init__.py
A packaging/setup/plugins/ovirt-engine-setup/distro-rpm/image_upload.py
A packaging/setup/plugins/ovirt-engine-setup/distro-rpm/versionlock.py
A packaging/setup/plugins/ovirt-engine-setup/network/__init__.py
A packaging/setup/plugins/ovirt-engine-setup/network/firewall.py
A packaging/setup/plugins/ovirt-engine-setup/network/firewall_manager.py
A packaging/setup/plugins/ovirt-engine-setup/network/firewalld.py
A packaging/setup/plugins/ovirt-engine-setup/pki/__init__.py
A packaging/setup/plugins/ovirt-engine-setup/pki/ca.py
A packaging/setup/plugins/ovirt-engine-setup/pki/ssh.py
A packaging/setup/plugins/ovirt-engine-setup/provisioning/__init__.py
A packaging/setup/plugins/ovirt-engine-setup/provisioning/postgres.py
A packaging/setup/plugins/ovirt-engine-setup/system/__init__.py
A packaging/setup/plugins/ovirt-engine-setup/system/environment.py
A packaging/setup/plugins/ovirt-engine-setup/system/exportfs.py
A packaging/setup/plugins/ovirt-engine-setup/system/memcheck.py
A packaging/setup/plugins/ovirt-engine-setup/system/nfs.py
A packaging/setup/plugins/ovirt-engine-setup/system/selinux.py
A packaging/setup/plugins/ovirt-engine-setup/system/sysctl.py
84 files changed, 10,839 insertions(+), 4 deletions(-)

Approvals:
  Ofer Schreiber: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/14612
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Id587977be496f979f692ee5fd06a4e264d3f9197
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Alex Lourie <alourie at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Alon Bar-Lev <alonbl at redhat.com>
Gerrit-Reviewer: Barak Azulay <bazulay at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Moran Goldboim <mgoldboi at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Ofer Schreiber <oschreib at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: Yair Zaslavsky <yzaslavs at redhat.com>



More information about the Engine-commits mailing list