Coder Social home page Coder Social logo

bell-lev / vdsm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ovirt/vdsm

0.0 0.0 0.0 51.49 MB

This is a mirror for http://gerrit.ovirt.org, for issues use http://bugzilla.redhat.com

License: GNU General Public License v2.0

Shell 0.78% Python 97.33% Makefile 1.44% M4 0.21% Roff 0.24%

vdsm's Introduction

Vdsm: Virtual Desktop Server Manager

Build Status

The Vdsm service exposes an API for managing virtualization hosts running the KVM hypervisor technology. Vdsm manages and monitors the host's storage, memory and networks as well as virtual machine creation, other host administration tasks, statistics gathering, and log collection.

Manual installation

Add ovirt repositories to your repositories list:

sudo yum install -y http://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm

Install Vdsm:

sudo yum install vdsm vdsm-client

Configure Vdsm:

sudo vdsm-tool configure --force

--force flag will override old conf files with vdsm defaults and restart services that were configured (if were already running).

Enable and start Vdsm service:

sudo systemctl enable --now vdsmd

To inspect Vdsm service status:

sudo systemctl status vdsmd

Vdsm logs can be found at /var/log/vdsm/*.log (refer to README.logging for further information).

Development environment setup

Set local git clone:

sudo yum install -y git
git clone http://gerrit.ovirt.org/p/vdsm.git .

Install additional packages for Fedora:

sudo dnf install -y `cat automation/check-patch.packages.fc30`

Install additional packages for CentOS:

sudo yum install -y `cat automation/check-patch.packages.el8`
easy_install pip

Install tox:

pip install --user tox

Building Vdsm

To configure sources (run ./configure --help to see configuration options):

git clean -xfd
./autogen.sh --system --enable-timestamp
make

To test Vdsm (refer to tests/README for further tests information):

make check

To create an RPM:

rm -rf ~/rpmbuild/RPMS/*/vdsm*.rpm
make rpm

To update your system with local build's RPM:

(cd ~/rpmbuild/RPMS && sudo yum upgrade */vdsm*.rpm)

Making new releases

Release process of Vdsm version VERSION consists of the following steps:

  • Changing Version: field value in vdsm.spec.in to VERSION.

  • Updating %changelog line in vdsm.spec.in to the current date, the committer, and VERSION.

  • Committing these changes, with subject "New release: VERSION" and posting the patch to gerrit.

  • Verifying the patch by checking that the Jenkins build produced a correct set of rpm's with the correct version.

  • Merging the patch (no review needed).

  • Tagging the commit immediately after merge with an annotated tag: git tag -a vVERSION

  • Setting "Keep this build forever" for the check-merge Jenkins build.

  • Updating releng-tools with the new Vdsm version. See releng-tools repo (git clone https://gerrit.ovirt.org/releng-tools) and Vdsm related patches there for examples.

CI

Running tests locally is convenient, but before your changes can be merged, we need to test them on all supported distributions and architectures.

When you submit patches to gerrit, oVirt's Jenkins CI will run its tests according to configuration in the stdci.yaml file.

Travis CI for storage patches

oVirt's Jenkins CI is the integrated method for testing Vdsm patches, however for storage related patches we have to cover also 4k tests which are not covered currently by Jenkins CI. This can be achieved in a fast way manually and independently from gerrit by invoking Travis CI on your github branch:

  • Fork the project on github.
  • Visit https://travis-ci.org, register using your github account, and enable builds for your Vdsm fork.
  • Push your changes to your github fork to trigger a build.

See .travis.yml file for tested Travis platforms and tests configurations.

Getting Help

There are two mailing lists for discussions:

The developers also hang out on IRC at #vdsm hosted on freenode.net

The latest upstream code can be obtained from GIT:

git clone https://gerrit.ovirt.org/vdsm

To setup development with ovirt gerrit visit:

https://ovirt.org/develop/dev-process/working-with-gerrit.html

Licensing

Vdsm is provided under the terms of the GNU General Public License, version 2 or later. Please see the COPYING file for complete GPLv2+ license terms.

In addition, as a special exception, Red Hat, Inc. and its affiliates give you permission to distribute this program, or a work based on it, linked or combined with the OpenSSL project's OpenSSL library (or a modified version of that library) to the extent that the library, or modified version, is covered by the terms of the OpenSSL or SSLeay licenses. Corresponding source code for the object code form of such a combination shall include source code for the parts of OpenSSL contained in the combination.

If you modify this program, you may extend this exception to your version, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version.

vdsm's People

Contributors

nirs avatar ffromani avatar dankenigsberg avatar eddev avatar mz-pdm avatar simon3z avatar phoracek avatar bronhaim avatar mpolednik avatar pkliczewski avatar ficoos avatar tinez avatar aglitke avatar celebdor avatar vjuranek avatar aabawer avatar igoihman avatar dougsland avatar ibarkan-redhat avatar ykaplan avatar alhino avatar barpavel avatar bell-lev avatar shenitzky avatar rollandf avatar almusil avatar vinzenz avatar edwardbadboy avatar shaharha avatar leongold avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.