Giter Club home page Giter Club logo

egon's Introduction

Egon

Ruby gem for interacting with TripleO

Installation

Add this line to your application's Gemfile:

gem 'egon'

And then execute:

$ bundle

Or install it yourself as:

$ gem install egon

Usage

TODO: Write usage instructions here

Contributing

  1. Fork it ( https://github.com/[my-github-username]/egon/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

egon's People

Contributors

cfchase avatar dymurray avatar jmontleon avatar jmrodri avatar knowncitizen avatar rwsu avatar sdherr avatar tzumainn avatar

Stargazers

 avatar

Watchers

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

egon's Issues

need delete_node method

We need a way to delete a node through egon. I tried adding a simple method to nodes.rb, but that didn't work, so I suspect there's some magic going on here that I'm not aware of.

def delete_node(node_id)
  service('Baremetal').nodes.delete(node_id)
end

scripts missing #! line

When I do a vagrant up on our devel environment I see these errors. I suspect it's complaining about wanting a #!/usr/bin/env ruby or something like that.

==> default: WARNING:  no description specified
==> default: WARNING:  bin/undercloud-install-local.rb is missing #! line
==> default: WARNING:  bin/undercloud-install-satellite.rb is missing #! line
==> default: WARNING:  bin/undercloud-install-vanilla-rhel.rb is missing #! line

Please separate out the node creation from the beginning of introspection

We need to separate out the node creation call from the call that initiates introspection.

If introspection fails, for example because we mistyped the ipmi password, then it leaves behind a node object on the Director that will never come up but will block any other attempts to register that machine because the mac address conflicts. Even if we had a way to delete nodes (see issue 44) there's not a good way to know which node to delete because we never had the uuid returned, just the exception from introspection. If the two calls are separated then we can be more intelligent about retrying introspection if that makes sense or deleting the node and allowing the user to re-enter information.

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.