Permalink
Commits on Aug 6, 2018
  1. FEATURE: Add a check in 'stack report system' for named

    bsanders committed Aug 1, 2018
    INTERNAL: consolidate redundant code
Commits on Aug 5, 2018
  1. Merge branch 'release/5.1rc6'

    masonkatz committed Aug 5, 2018
  2. starting release 5.1rc6

    masonkatz committed Aug 5, 2018
Commits on Aug 4, 2018
  1. FEATURE: Upgrade to Python 3.6.6

    masonkatz committed Aug 1, 2018
  2. BUGFIX: `stack report ansible` remove padChar `------` from output

    masonkatz committed Aug 1, 2018
    Also moved ansible into foundation-python-packages, and cleaned
    up the code to use correct stacki-style argument parsing
  3. FEATURE: turn status field into a real feature

    masonkatz committed Jun 21, 2018
    Enhanced the message queue status reporting to be hostid based (not
    hostname) and added a ttl to all messages. The first part fixes issues
    when hosts are renamed and the status gets lost, now everything is
    keyed off the ID from the nodes table (permanent for lifetime of
    host). The second allows us the age out messages at different rates.
    
    Instrumented multiple parts of the installer to send more fine grained
    status messages. The typical workflow of a system install will see the
    following messages:
    
    | message                   | ttl  |
    | ------------------------- | ---- |
    | install profile request   |   30 |
    | install profile sent      |   30 |
    | install profile           |  300 |
    | install download          | 3600 |
    | install stage=pre         | 3600 |
    | install stage=pre-package | 3600 |
    | install download          | 3600 |
    | install stage=post        | 3600 |
    | install reboot            |  300 |
    | install stage=boot-pre    | 3600 |
    | install stage=boot-post   | 3600 |
    | online                    |  120 |
    
    The `install download` is seen both before the second stage image
    downloads and rpm tracker lookups. All `install *` messages should be
    thought of as the previous `install` and the extra information is for
    debugging and may change at any time.
    
    The `online` state was previously called `up` and just meant that the
    installer's first pass was done and the host was on the network. For
    SuSe it could be seens even though the second pass of the installer
    was active. To improve on this Stacki now tracks is `sshd` is running
    as a seperate state (piggy-back on the existing health message). The
    inspired a new command `stack list host status` which a `state` and
    `ssh` fields. The `state` field is the previous health message as
    described above. The `ssh` field is `up` IFF sshd is running, and None
    if it is not (TTL same as the `state` health).
    
    The new `stack list host status` command means:
    
    - `stack list host` `status` field is now *deprecated* and will be
      removed in the next release. Just still present to keep existing
      consumers from crashing but it will always says *deprecated*.
    
    - pluggins can be used to add move status (is service X runnning?)
    
    Other stuff:
    
            * update Redis to 4.0.11
    	* change rmq to smq
    	* health channel is now json payload (backwards compat with
              old text - but will deprecate)
    	* stack-mq is now in the installer (SLES only)
    	* stack-publish.py is gone replaced by updated smq-publish
    	* fixed some leftover Python3 transition encode()/decode() bugs
    	* remove old processors related to StackIQ Enterprise
    	* changed `message` field in `Message` to `payload` (less confusing)
    	* added psutil to foundation-python-packages
    	  * this requires refreshing version of all python code
    	  * hard code PyMySQL to 0.8.1 (newer version require newer pip)
    
    ToDo:
    
    	* Instrument RedHat installer
    	* Need a `install start` state (where to trigger it?)
    	* fix test_enable_discover.py
Commits on Jul 30, 2018
  1. FEATURE: Added the ability to have 'auto' in the IP address field in …

    cyberaishu authored and bsanders committed Jun 19, 2018
    …a host configuration spreadsheet and 'set host interface' command.
    
    Host IP address will be automatically assigned based on the network address, mask.
    
    JIRA: STACKI-419
  2. BUGFIX: when adding a new api group, if the group already exists, the…

    knutsonchris authored and bsanders committed Jul 26, 2018
    … command error that gets raised is malformed
Commits on Jul 26, 2018
  1. FEATURE: remove the dump command

    knutsonchris committed Jul 26, 2018
Commits on Jul 24, 2018
  1. INTERNAL: Fix bad bugfix on 'report dhcpd' from earlier commit

    khanfluence authored and bsanders committed Jul 24, 2018
Commits on Jul 23, 2018
  1. BUGFIX: Ensure `stack report host` only produces unique entries.

    gregorybruno authored and masonkatz committed Jul 20, 2018
  2. FEATURE: Enhance `stack add pallet` to recognize and add SUSE Enterpr…

    gregorybruno authored and masonkatz committed Jul 20, 2018
    …ise Storage media.
  3. BUGFIX: Update interface information with MAC addresses correctly

    anooprajendra authored and bsanders committed Jul 18, 2018
    When installing a backend node, all the interfaces are reported
    back by the installer. Any interfaces missing on the frontend,
    will be added to the database.
    
    The Bug is - when interfaces are specified in the database, with
    all the information except the MAC address, this call fails to
    update the MAC address.
    
    This commit fixes that.
    
    FIXES: JIRA STACKI-585
  4. FEATURE: add cart accepts url and credentials on the command line

    knutsonchris authored and bsanders committed Jul 23, 2018
    BREAKING CHANGE:
    ALTER TABLE carts ADD url TEXT;
    
    list pallet expanded=true displays the url
    generalize the download function of add pallet and place it in pylib
    from stack.download import fetch
    file = fetch(url, username="", password="")
    username and password are optional
Commits on Jul 16, 2018
  1. BUGFIX: Fix database backup cronjob script

    bsanders committed Jul 9, 2018
    INTERNAL: Add tests to ensure it doesn't break again
  2. FEATURE: Split switch library into multiple files

    khanfluence committed Jul 10, 2018
  3. BUGFIX: Major overhaul of the Dell x1052 ethernet switch configuratio…

    gregorybruno authored and khanfluence committed Jul 10, 2018
    …n code.
    
    BREAKING CHANGE: Apply 'ALTER TABLE switchports DROP PRIMARY KEY;' to database.
  4. BUGFIX: Prevent loading a hostfile with entries containing an IP but …

    khanfluence committed Jul 2, 2018
    …no network
    
    This fixes JIRA: STACKI-551
  5. Merge branch 'staging' into develop

    bsanders committed Jul 16, 2018
Commits on Jul 14, 2018
  1. FEATURE: Add vendor/make to output of 'stack list switch'

    bsanders committed Jul 11, 2018
    INTERNAL: Add test and 'add switch' fixture
Commits on Jul 11, 2018
  1. BUGFIX: In select(), we need to stringify the sql parameters to be ab…

    bsanders committed Jul 11, 2018
    …le to join() them.
  2. FEATURE: Add tests for 'stack add/remove host alias'

    khanfluence committed Jun 20, 2018
    JIRA: STACKI-286