Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
  bin
  contego
  etc
  tvault_contego.egg-info
  MANIFEST.in
  README
  setup.py
  PKG-INFO
  setup.cfg
Size: Mime:
  README
Overview
========

This code extends OpenStack's nova (compute) project, in
order to snapshot the instances by tVault.

Development Installation Instructions
=========================
This extension needs to be installed whereever the nova-api and nova-compute services are running.

Installing from source:

    # get the source
    $ git clone https://github.com/triliodata/contego
	
    # install the extension
    $ cd contego
    $ sudo python setup.py develop
    
    # mount the nfs export where the backups will be stored
    $ sudo mkdir /var/triliovault
    $ sudo chmod +rw /var/triliovault
    $ sudo mount server:/export /var/triliovault

    
    # Modify your etc/nova/nova.conf to include the API extension in the DEFAULT section
    # if using devstak you need to do this everytime your run the devstack
    osapi_compute_extension=nova.api.openstack.compute.contrib.standard_extensions
    osapi_compute_extension=contego.nova.osapi.contego_extension.contego_extension
    
    # Modify your etc/nova/rootwrap.d/compute.filters
    # if using devstak you need to do this everytime your run the devstack
    qemu-img: EnvFilter, env, root, LC_ALL=, LANG=, qemu-img, root
    rm: CommandFilter, rm, root
    
    
    # If not using devstack, restart the nova-api service
    $ sudo restart nova-api

    # If using devstack,Start the tvault-contego service in the console ( in devstack screen) where the nova-compute is running
    $ cd /opt/stack/contego && /opt/stack/contego/bin/tvault-contego  --config-file /etc/tvault-contego/tvault-contego.conf \
      --config-file /etc/nova/nova.conf || echo "c-contego failed to start" | tee "/opt/stack/status/stack/c-contego.failure"