Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 15, 2012
  1. Merge pull request #16 from tjmcs/tb/add_external_gem_mirror_for_mk

    tjmcs authored
    Adds support to the Microkernel for use of an (internal and external) gem mirror
  2. Merge branch 'master' of github.com:puppetlabs/Razor-Microkernel into…

    Tom McSweeney authored
    … tb/add_external_gem_mirror_for_mk
  3. Merge pull request #18 from tjmcs/tb/fix-missing-disks-from-lshw

    tjmcs authored
    Fixes issue with missing disks in lshw output (issue #17)
Commits on Nov 14, 2012
  1. Fixes issue with missing disks in lshw output (Issue #17)

    Tom McSweeney authored
  2. This commit adds support for a gem mirror (either internal or, when c…

    Tom McSweeney authored
    …ombined with recent changes to Razor, external). With these changes in place, a list of gems to install is obtained from a gem list (assumed to be accessible via the URI given by the 'mk_gemlist_uri' configuration parameter), and then the versions of the gems listed there that are accessible from the gem mirror that will be used by the Microkernel (assumed to be defined by the 'mk_gem_mirror_uri' configuration parameter) are compared with the versions of those same gems that are installed locally. This comparison is made whenever the Microkernel Controller is restarted (or during the Microkernel Controller initialization process that occurs when the Microkernel first boots). If the stated gems are not available locally, or if the latest version available from the gem mirror is not installed locally, then the stated version of those missing/out of date gems version will be installed from the gem mirror...
Commits on Nov 7, 2012
  1. Merge pull request #13 from GregSutcliffe/multi-ip

    tjmcs authored
    Use multiple discovery methods for Razor's IP
  2. Merge pull request #15 from GregSutcliffe/gems

    tjmcs authored
    Add an internal gem mirror
  3. Merge pull request #14 from tjmcs/tb/fix_mk_controller_exception_hand…

    tjmcs authored
    …ling
    
    Fixes an (unreported) exception handling issue in the Razor Microkernel
Commits on Nov 6, 2012
  1. Greg Sutcliffe

    Add an internal gem mirror

    GregSutcliffe authored
    Change startup process to use internal mirror (fixes #12)
  2. Greg Sutcliffe
Commits on Nov 5, 2012
  1. Changed exception handling code to properly handle ALL exceptions (pr…

    Tom McSweeney authored
    …eviously, only exceptions that inherited from the StandardError class were handled properly, and under Ruby 1.8.7 this did not include the Timeout::Error class that could be thrown from the checkin/register HTTP requests; without the changes in this commit an HTTP timeout could cause the Microkernel Controller to exit unexpectedly).
Commits on Oct 31, 2012
  1. Merge pull request #11 from daniel-pittman/community/master/add-contr…

    tjmcs authored
    …ibution-guide-and-governance
    
    Nicer header format in the file.
  2. Daniel Pittman

    Nicer header format in the file.

    daniel-pittman authored
    In an earlier commit the name of the project got extra whitespace added; this
    simply removes that.
    
    Signed-off-by: Daniel Pittman <daniel@rimspace.net>
Commits on Oct 30, 2012
  1. Daniel Pittman

    Merge pull request #9 from tjmcs/master

    daniel-pittman authored
    Fixes issue #8 (TCL ISO mounted without '-o loop' flag)
Commits on Oct 29, 2012
  1. Daniel Pittman

    Merge pull request #10 from daniel-pittman/community/master/add-contr…

    daniel-pittman authored
    …ibution-guide-and-governance
    
    Update README to point users more firmly to Razor
  2. Daniel Pittman

    Update README to point users more firmly to Razor

    daniel-pittman authored
    Now that we have a good set of community guidelines in the public Razor repo,
    point users more firmly at it from this repository.
    
    Signed-off-by: Daniel Pittman <daniel@rimspace.net>
  3. Ensuring that the '-o loop' loop is used when mounting the Tiny Core …

    Tom McSweeney authored
    …Linux ISO
Commits on Oct 23, 2012
  1. Daniel Pittman

    Point people back to the Razor project for help

    daniel-pittman authored
    This updates the README file to direct people back to the 
    main Project Razor site for help.
Commits on Oct 15, 2012
  1. Nan Liu

    Merge pull request #6 from tjmcs/master

    nanliu authored
    Fixes issue in the RazorMicrokernel::RzNetworkUtils::wait_until_nw_avail method
Commits on Oct 10, 2012
  1. Fixes issue in the RazorMicrokernel::RzNetworkUtils::wait_until_nw_av…

    Tom McSweeney authored
    …ail method. This issue occurred during testing of the Microkernel with servers that used a Broadcom NetExtreme II card. In this situation, a race-condition could occur that resulted in the Microkernel not being able to detect the underlying network (the bnx2 firmware kernel module was being repeatedly reloaded and the DHCP client was being restarted immediately after that kernel module was reloaded but before the network was fully initialized in the underlying kernel, so none fo the network cards were showing a valid IP address when the check for a valid IP address was being made). With this fix in place, that race-condition is prevented (and the Microkernel initialization process can complete successfully). This commit also includes a small change to the build-bundle-file.sh that means that the bootlocal.sh file (if it exists) would also be included as part of the bundle file that is built by that script. It isn't important in the current release but might be used later.
Commits on Oct 1, 2012
  1. Merge pull request #5 from tjmcs/master

    tjmcs authored
    Fix for "uninitialized constant RxNetworkUtils" reported Razor Issue #178
Commits on Sep 21, 2012
  1. Fix to RazorMicrokernel::RzMkHardwareFacter.clean_fact_map_keys!() fu…

    Tom McSweeney authored
    …nction. Prior to this change, this function was trying to modify a Hash map in the middle of an "each" iterator over that same Hash map (which, naturally, generates an exception). With these changes, the iteration is now over the keys for the Hash map, not the Hash map itself (and so no exception is thrown when the underlying Hash map is modified).
  2. Changed the bundle build script so that the initial Microkernel confi…

    Tom McSweeney authored
    …guration for a "debug" kernel is set to "Logger::DEBUG". Also, added additional "logger.debug" output that logs the stack traces for any exceptions thrown during interactions between the Microkernel Controller and the Razor server. These changes only effect the behavior of the debug kernel; the development and production Microkernels both remain unchanged from the previous commit.
Commits on Sep 11, 2012
  1. Fixed a few typos in the last version (and moved the ifconfig output …

    Tom McSweeney authored
    …back to the top of the "each" rather than storing it as a separate variable and calling "each" on that list...that list is not used for anything else so it doesn't need to be kept in a separate variable).
Commits on Sep 10, 2012
  1. New version of the Microkernel that includes fixes for an error that …

    Tom McSweeney authored
    …is thrown when the network cannot be accessed during Microkernel initialization. This version uses an exponential-backoff algorithm for timing of searches for a valid network interface (instead of using a fixed time increment for subsequent searches if the first search fails) and uses a much shorter (2 minute rather than 15 minute) timeout before the initialization script considers the network to be unreachable. In addition, if no valid network interface is found during such a search for a valid NIC, any kernel module that matches a pattern containing the list of supported NIC firmware modules is reloaded before an additional search is made. Similarly, before such a search is made the DHCP client is restarted before an additional search is made if no NIC was found or if a NIC was found but that NIC didn't have a valid IP address. These changes should fix the issue raised recently by @eoghank in the Razor issues list.
  2. New version of the Microkernel that includes fixes for an error that …

    Tom McSweeney authored
    …is thrown when the network cannot be accessed during Microkernel initialization. This version uses an exponential-backoff algorithm for timing of searches for the network (instead of using a fixed time increment for subsequent searches if the first search fails), imposes an arbitrary (15 sec) delay before loading kernel modules (to try to avoid the race condition we seem to be seeing between kernel module loading and network card initialization in some hardware), and uses a much shorter (2 minute rather than 15 minute) timeout before the initialization script considers the network to be unreachable.
Commits on Sep 6, 2012
  1. Shortened up timeout used for missing network to 2 minutes (was 5 min…

    Tom McSweeney authored
    …utes prior to this commit)
  2. Shortened up timeout used for missing network to 5 minutes (was 15 mi…

    Tom McSweeney authored
    …nutes prior to this commit)
  3. Fix for spurious error thrown by the error handling code when no netw…

    Tom McSweeney authored
    …ork is found during Microkernel initialization. This should fix the spurious error that was reported by @eoghank as part of the discussion in Razor Issue #178 (puppetlabs/Razor#178).
Commits on Aug 13, 2012
  1. Merge pull request #3 from sileht/master

    tjmcs authored
    Don't set the url of razor server if dhcp don't provide a next-server field. This will ensure that the Microkernel is still configured correctly on networks where there is more than one DHCP server, only one of which is providing a "next-server" parameter in its DHCP responses.
  2. Mehdi ABAAKOUK
Commits on Jul 17, 2012
  1. Merge pull request #2 from tjmcs/tb/remove_lynxbat_links

    tjmcs authored
    Changed source for the 'mk-open-vm-tools.tar.gz' used by the build-bundle-file.sh script
Commits on Jul 5, 2012
  1. changed source for the 'mk-open-vm-tools.tar.gz' downloaded by the 'b…

    Tom McSweeney authored
    …uild-bundle-file.sh' script from the Downloads area of the Razor project to the Downloads area of the Razor-Microkernel project (on the PuppetLabs GitHub). This change will only work once the Razor-Microkernel project becomes a public project. Until then, the Razor project is the only public project that we can use for this download (so the mk-open-vm-tools.tar.gz file will remain in both places until then).
Something went wrong with that request. Please try again.