Git Product home page Git Product logo

aria-extension-cloudify's Introduction

Cloudify ARIA Extensions

This repository provides ARIA with support for running Cloudify-based plugins. Using an adapter that serves as a translation layer between the Cloudify and ARIA APIs, ARIA is able to make use of plugins that were designed to work with Cloudify.

Installation

  1. clone the repository

git clone https://github.com/cloudify-cosmo/aria-extension-cloudify.git

  1. install the requirements:

pip install -r requirements.txt

  1. install Cloudify ARIA extensions. This installs the adapter, and it should be done in the same environment in which ARIA is installed:

pip install .

  1. (optional, for developing purposes) install the test requirements:

pip install -r aria_extension_tests/requirements.txt

Using the adapter, ARIA is expected to support any Cloudify plugin. However, depending on their implementation, some plugins may not work out-of-the-box with ARIA, and small adapter modifications may be need.

Specifically, The Cloudify AWS Plugin 1.4.10 and the Cloudify Openstack Plugin 2.0.1 were explicitly translated and tested using the adapter. Newer versions are expected to work as well.

Installing a plugin

In order to use any Cloudify plugin, you'll need to install it using a .wgn (wagon) file. For CentOS or RHEL, you can obtain the plugin .wgn from the Cloudify plugin downloads page.

After obtaining the .wgn, you can install the plugin:

aria plugins install <path to .wgn>

Another, more generic way, of obtaining a plugin .wgn is to create it from source. Here's an example, using the AWS plugin:

  1. clone/download the Cloudify AWS Plugin:

git clone https://github.com/cloudify-cosmo/cloudify-aws-plugin.git

  1. (optional) if you want to install a specific version of the plugin, checkout the corresponding tag.

git checkout <version number>

  1. create a .wgn file from the repository:

wagon create <path to plugin repository>

aria-extension-cloudify's People

Contributors

aviaefrat avatar dankilman avatar limor-gs avatar mxmrlv avatar nir0s avatar nirbir avatar tliron avatar yarivgiga avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aria-extension-cloudify's Issues

SQL Storage Error

Hi,
I'm trying to use the Cloudify OpenStack plugin based on this extension.
I followed all the steps as explained in the README, but I get the following error when storing the service template:

SQL Storage error: (sqlite3.OperationalError) table node_template has no column named directives [SQL: u'INSERT INTO node_template (name, description, directives, default_instances, min_instances, max_instances, target_node_template_constraints, service_template_fk, type_fk) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)'] [parameters: ('subnet', None, None, 1, 0, None, None, 2, 97)]

This is the command I'm running:

aria service-templates store openstack-helloworld.yaml my--service-template
Storing service template my--service-template

I'm using ARIA 0.2.0 on Mac, and the openstack-helloworld.yaml blueprint from this repository.

Am I missing something? should report this error to the ARIA dev mailing list?
Thank you!

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.