{"push_id":2748067351,"size":1,"distinct_size":1,"ref":"refs/heads/bugfix/mq-install","head":"be0e92e20b7c87a93966620d640bb144e64a0dc6","before":"6b324a591e7dc11c766264931ea5a3db1f47673c","commits":[{"sha":"be0e92e20b7c87a93966620d640bb144e64a0dc6","author":{"name":"Mason J. Katz","email":"d7718656d869da6a94fde2c2866dd417f13f979b@Teradata.com"},"message":"BUGFIX: stack list host unreliable status field\n\nEnhanced the message queue status reporting to be hostid based (not\nhostname) and added a ttl to all messages. The first part fixes issues\nwhen hosts are renamed and the status gets lost, now everything is\nkeyed off the ID from the nodes table (permanent for lifetime of\nhost). The second allows us the age out messages at different rates.\n\nInstrumented multiple parts of the installer to send more fine grained\nstatus messages. The typical workflow of a system install will see the\nfollowing messages:\n\n| message                   | ttl  |\n| ------------------------- | ---- |\n| install profile request   |   30 |\n| install profile sent      |   30 |\n| install profile           |  300 |\n| install download          | 3600 |\n| install stage=pre         | 3600 |\n| install stage=pre-package | 3600 |\n| install download          | 3600 |\n| install stage=post        | 3600 |\n| install reboot            |  300 |\n| install stage=boot-pre    | 3600 |\n| install stage=boot-post   | 3600 |\n| up                        |  120 |\n\nThe `install download` is seen for before the second stage images and\nrpm tracker lookups (hence shows up twice). All `install *` messages\nshould be thought of as the previous `install` and the extra information is\nfor debugging and may change at any time.\n\nOther stuff:\n\n\t* change rmq to smq\n\t* stack-mq is not in the installer (SLES only)\n\t* stack-publish.py is gone replaced by updated smq-publish\n\t* fixed some leftover Python3 transition encode()/decode() bugs\n\t* remove old processors related to StackIQ Enterprise\n\t* changed `message` field in `Message` to `payload` (less confusing)\n\nToDo:\n\n\t* Instrument RedHat installer\n\t* Need a `install start` state (where to trigger it?)","distinct":true,"url":"https://api.github.com/repos/Teradata/stacki/commits/be0e92e20b7c87a93966620d640bb144e64a0dc6"}]}
{"actor":{"display_login":"masonkatz"}}