GithubHelp home page GithubHelp logo

deployment_system's Introduction

Deployment System

Deployment System for ESXi

Based on PySphere (https://code.google.com/p/pysphere/) sources

Project Setup

How do I, as a developer, start working on the project?

  1. What dependencies does it have (where are they expressed) and how do I install them?
  2. How can I see the project working before I change anything?

Testing

How do I run the project's automated tests?

Unit Tests

  1. rake spec

Integration Tests

  1. Run other local services / provide credentials for external services.
  2. rake spec:integration

Deploying

How to setup the deployment environment

  • Required heroku addons, packages, or chef recipes.
  • Required environment variables or credentials not included in git.
  • Monitoring services and logging.

How to deploy

Troubleshooting & Useful Tools

Examples of common tasks

e.g.

  • How to make curl requests while authenticated via oauth.
  • How to monitor background jobs.
  • How to run the app through a proxy.

Contributing changes

  • Internal git workflow
  • Pull request guidelines
  • Tracker project
  • Google group
  • irc channel
  • "Please open github issues"

License

deployment_system's People

Contributors

theilluminate avatar rkhci avatar

Stargazers

Ruslan Khozinov avatar Dzmitry S avatar

Watchers

James Cloos avatar  avatar  avatar

deployment_system's Issues

Bug in the serial port adding

When tests runs and turns vm's power on, then a serial port its absent in vm configuration. But when tests runs in debug mode - all OK.

Add README.md file

We should add detailed description for this project.
We should have the following blocks:

  1. Owerview - what it is, what the goal of the project.
  2. How to install - the detailed description of "how to install this library, what the dependencies" and etc. - all necessary libraries, packages, configuration files.
  3. How to use - how to deploy topologies and how to create a new topology files.

The examples of "good" README:
https://github.com/github/markup/blob/master/README.md
https://github.com/twitter/bootstrap/blob/master/README.md

Note:
Please, see the more detailed information about this issue:
https://gist.github.com/jonah-carbonfive/3101407

Bug in the Hatchery.create_vm

BUG: when script try to assign unavailable network to vm that it dying and don't create vm.
It's wrong.
This check has warning status, not critical.
Need to turn on logging and log warning message of unavailable network, but create vm.

    _networks = []
    for n in config_target.Network:
        if n.Network.Accessible and networks.count(n.Network.Name):
            _networks.append(n.Network.Name)
    if not _networks and len(networks) != 0:
        _networks = [] # possible
        pass               # resolve ex.

Profile Virtual machine creating

#DATASTORE
dcs = hostprop.datastore ## <--- NEED TO PROFILE
try:
ds_name = vm_options['datastore_name']
ds_list = []
for ds in dcs:
ds_list.append(ds.name)
if not ds_name in ds_list:
raise CreatorException("Couldn't find datastore or datastore is not available")
except KeyError:
if len(dcs) > 1:
raise CreatorException("More than 1 datastore on ESX - must specify datastore name")
elif not dcs:
raise CreatorException("Couldn't find available datastore")
ds_name = dcs[0].name

Create runner

Need to add setup support and work with system arguments

Bug in hatchery:destroy vm

Destroy VM method couldn't destroy working VM. That method should contain mechanism for stop VM working

Changed option

In configuration has been changed option 'conf_type' to 'config_type' and refactored topology reader

Add License

Copyright ( С ) 2013 Mirantis, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied.
See the License for the specific language governing permissions and
limitations under the License.

Need to finish VMController.py

Now we have many "TO DO" in this file, looks like we should perform refactoring for this class and implement all necessary methods.

Also, please, fix comments for all methods.

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.