Giter Club home page Giter Club logo

katello-rapidnode's People

Contributors

cswiii avatar elyezer avatar ichimonji10 avatar jacobcallahan avatar sthirugn avatar

Stargazers

 avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

katello-rapidnode's Issues

Need error checking if certain steps fail.

rapidnode currently has zero error checking, it will continue to go its happy way if stuff doesn't work. For example, if you've not got your repos set up right, it will try to create envs and sync even if capsule installer never gets installed.

At a minimum

  • check to assure capsule-installer has installed and returns no error upon execution before trying to replicate environments and sync content

Eventual nice to haves:

  • Error checking in case user has wrong credentials in .ini file and certs can't be copied over, etc...
  • That sort of thing.

Accept activation key as input parameter

Right now rapidnode accepts content view as input. It makes more sense for rapidnode to accept an activation key. Change the input parameter from content view to activation key.

strategy with using Env/CV fails due to repos being disabled by default

Installation using organization, environment and content view always leads to fail, as after registering the system, Capsule and Satellite tools repositories are disabled by default, causing yum -y install capsule-installer to fail.

  • possible fix would be to add subscription-manager repos --enable rhel-6-server-satellite-*-6.1-rpms to the script in case the AK is not used

should provide option to only add envs/sync newly created capsules

Presently, after installing/configuring a capsule, we go ahead and try to add environments and subsequently sync all capsules. While this doesn't/shouldn't cause any real harm (existing environments are rejected by validation), it could conceivably be problematic/slow if you had, say, 20 capsules already, each with 5 environments already.

Should probably just find a way to simply execute environment additions and syncs against capsules created this session.

It's probably easy storing the ID of each capsule, as you create it, and piping the env create/sync logic through that.

Remove pylint disables after fixing relevant code

I: 23, 0: Locally disabling W0621 (locally-disabled)
I: 99, 0: Locally disabling C0301 (locally-disabled)
I:186, 0: Locally disabling W0632 (locally-disabled)
I:284, 0: Locally disabling R0914 (locally-disabled)

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.