GithubHelp home page GithubHelp logo

tiwillia / openshift_lab_automation Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 3.0 1.13 MB

Application to automate the deployment of OpenShift environments on top of OpenStack

Shell 2.61% Ruby 57.72% JavaScript 7.26% CoffeeScript 0.49% CSS 1.27% HTML 29.93% Vim Script 0.04% QMake 0.66%

openshift_lab_automation's People

Contributors

banzaiman avatar codificat avatar danmcp avatar dblado avatar dereckson avatar devop-mmcgrath avatar gshipley avatar ironcladlou avatar jhadvig avatar jorris avatar jroes avatar jwhonce avatar kraman avatar kwoodson avatar mfojtik avatar mrunalp avatar ryanj avatar smarterclayton avatar thefotios avatar tiwillia avatar zaz avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

wgd3 codificat

openshift_lab_automation's Issues

All images are listed

When creating or editing virtual machines, all images from the OpenStack backend are included in the list. The images that are not available to the new tenants should not be shown in the list.

Instance not undeployed when removed from project

Problem Recreation Steps
-Instance is Deployed
-While Deployed it is removed from project
-Add new instance with the same IP
-Deploy instance
-Instance never spins up

I was able to see the old instance was still up in the Open Stack environment.

FIx:
I would think adding the undeploy instance call when removing from project

Highlight Instances that are deployed / un-deployed / in a good state

I would be good if we could add some color or highlighting to what items are deployed / un-deployed!
(example: green when deployed | blue when building | red when un-deployed, etc)
It would also be nice to see a live update on the status check (example: flash green when check completes | change background to yellow when checking | change back ground to orange when check fails)

"Shellify" failures if cloud-init cannot parse

If the root password, hostname, domain, or gear size of an instance includes a ':', cloud-init will fail to shellify.

There are other instances where this may also occur. Any variable in the cloud init data in app/models/instance.rb that could contain and illegal cloud-init character should be validated before submitting cloud-init data.

Asset precompilation fails sometimes when pushing to openshift

Seemingly randomly, the asset precompilation will fail when pushing to openshift:

remote: /opt/rh/ruby193/root/usr/bin/ruby /var/lib/openshift/54c16f893b696e355c000963/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/bin/rake assets:precompile:all RAILS_ENV=production RAILS_GROUPS=assets
remote: rake aborted!
remote: Command failed with status (): [/opt/rh/ruby193/root/usr/bin/ruby /var/lib...]
remote: /var/lib/openshift/54c16f893b696e355c000963/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/sprockets/assets.rake:12:in `ruby_rake_task'
remote: /var/lib/openshift/54c16f893b696e355c000963/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/sprockets/assets.rake:21:in `invoke_or_reboot_rake_task'
remote: /var/lib/openshift/54c16f893b696e355c000963/app-root/runtime/repo/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.16/lib/sprockets/assets.rake:29:in `block (2 levels) in <top (required)>'
remote: Tasks: TOP => assets:precompile
remote: (See full trace by running task with --trace)
remote: -------------------------
remote: Git Post-Receive Result: failure
remote: Activation status: failure
remote: Activation failed for the following gears:
remote: 54c16f893b696e355c000963 (Error activating gear: CLIENT_ERROR: Failed to execute: 'control deploy' for /var/lib/openshift/54c16f893b696e355c000963/ruby)
remote: Deployment completed with status: failure
remote: postreceive failed

Lab connection tokens should be cached

Have not investigated into how possible this is.

Instead of creating a new connection to the openstack backend in every method where it is needed, find a way to cache or store the necessary connection information to avoid authenticating so often.

If an openstack server is overseas, it could add quite a bit of time to authenticate on just about every action.

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.