fusor / egon Goto Github PK
View Code? Open in Web Editor NEWRuby gem for interacting with TripleO
License: GNU General Public License v3.0
Ruby gem for interacting with TripleO
License: GNU General Public License v3.0
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.
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
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.