Changelog for RightLink10 ========================= Changes for 10.2.1 ------------------ - Streamline tester code - RSC version changed to v4.0.0 - Fix RightNet websocket message expiration to better deal with clock skew - Bundle RightScale networking scripts with RightLink. Install scripts on vSphere cloud. Scripts configure networking for RightScale Cloud Appliance for vSphere (RCA-V). - Added retry logic when local proxy errors are encounted, mostly due to network issues. Linux specific: - Creating rightlink user home dir in script/install.sh (added -m -d /home/rightlink to useradd). - Environment is now passed through in sudo commands for rightlink user. - Built-in utilization monitoring (cpu, memory, disk I/O utilization), tags for the core are automatically set (rs_monitoring:state and rs_monitoring:util) - Built-in cpu, df monitoring, plus metrics beyond std collectd, this can be enabled via the RLL API. - Managed login fix for GCE - Fix zombie sudo process when running RightScripts - Added support for Universal Cloud Appliance, specificaly making keep-alive requests to the appliance and supporting the "resurrection" case (instance stop-start transition while RL10 is running). - Improved enable script so cloud-init is not required. - Remove rightlink user if uninstalling RL10 Windows specific: - Testing for Windows - Added rightlink.install.ps1 to perform RightLink installation on a custom image for Windows. RightLink now ships with userdata-fetcher.ps1 which runs at startup. This script grabs RightScale authentication tokens from each cloud's userdata service at startup, enabling RightLink to boot for custom images. - Built-in monitoring for Windows - Windows decommission bundle is executed before sending OS shutdown - Proxy support added for Windows. Changes for 10.1.4 ------------------ - Fix managed login not working for newly invited users to a RightScale account. - Fix bug in which instance may reboot twice. - Any user-defined keys in /home/rightscale/.ssh/authorized_keys will now be overwritten. - Fixed managed login not working on GCE. Changes for 10.1.3 ------------------ - Set Host: field correctly for API requests proxied through RightLink - Add /rll/proc/shutdown_kind. During decommission, shutdown_kind will be "reboot", "stop", or "terminate" if one of those actions was initiated from the RightScale dashboard or API. It will be an empty string if any of those actions was initiated from the Server's command line or the cloud's api/console. Changes for 10.1.2 ------------------ - Improvements added in rightlink.enable.ps1 and rightlink.enable.sh. - Deployment name or href argument now a requirement. - Exact match is used when searching for deployment name. - Exact match is used when searching for ServerTemplate name. - Set rightlink service account home dir to /var/spool/rightlink instead of /root - Update disable script to disable 10.0.rc(0|1|2) - Added rightlink.install.sh to perform RightLink installation on a custom image. Changes for 10.1.rc1 ------------------ - TSS: Added support for proxying collectd data via RightLink. - Add PUT /rll/tss/hostname?hostname=TSS_server_hostname and GET /rll/tss/hostname - Add /rll/tss/collectdv5 and /rll/tss/collectdv4 to accept data from collectd write_http plugin - If RightLink is restarted, it will attempt to keep the same port. - Add waiting on missing inputs values. Changes for 10.1.rc0 -------------------- - Fix decommission scripts being terminated by upstart and systemd prematurely. - Force flushing of all unsent audit entries to the core on agent terminate. - Fixed a bug in which script/recipe output may go to main log if it exits quickly - Log API requests sent through proxy correctly if they are gzip encoded - Add the RightLink version to oauth so that we know what RightLink versions we have in the field. - Add the packaging of RSC to the Makefile so that RSC is included. RSC will now be included in every RightLink install. - Update enable.sh and disable.sh to use RSC command line API tool. - Update RightLink to use Go 1.4 - Add support for proxying all RightLink's Websocket and HTTPS traffic. Added option to specify (-x proxy_url) and to (-y no_proxy_list) to enable.sh script. For install at boot, RightLink also supports adding rs_agent:http_proxy= and rs_agent:http_no_proxy= tags to the RightScale Server before boot. Only Basic authentication is currently supported. http_proxy and no_proxy also are set as environment variables for scripts/recipes. - RS_client_id, RS_api_hostname, RS_account variables renamed to client_id, api_hostname, and account. These variables are populated as environment variables for scripts/recipes. - Update enable.ps1, install.ps1, and boot.ps1 and create disable.ps1 to mirror functionality and have feature parity with the linux .sh equivalents - RightLink now runs as the "rightlink" user instead of the root user. In order to run commands as root, sudo in your scripts/recipes, or change the script header to sudo your entire script: "#! /usr/bin/sudo /bin/bash". Changes for 10.0.rc4 -------------------- - No changes from 10.0.3 but the ST has images to make it easy for users to use the install-at-boot use-case. Changes for 10.0.3 (GA release) ------------------------------- - Fixed a bug in which "rightlink -selfcheck" overwrote /var/run/rightlink/secret - Removed option to run as non-root (-u) for enable.sh script - Changed product name to RightLink from RightLinkLite. Service names for upstart, systemd, and sysvinit were changed from rightlinklite to rightlink. Changed location of product pathnames as follows: - /var/run/rll-secret -> /var/run/rightlink/secret - /var/run/rightlink.state -> /var/run/rightlink/state - /var/run/rightlinklite.pid -> /var/run/rightlink.pid - /var/spool/rll -> /var/spool/rightlink - /usr/local/bin/rightlinklite -> /usr/local/bin/rightlink - /var/log/rightlinklite.log -> /var/log/rightlink.log - Added rightlink.rc-replacement.sh for upgrading for 10.0.rc0, 10.0.rc1, and 10.0.rc2 to 10.0.3. This updates filename paths as mentioned above - Bumped right_net protocol version used to 24 - Updated enable.sh to error out if RightLink 5 or 6 are installed. Previous versions of RightLink must be uninstalled prior to installation of RightLink 10. - /rll/proc added to display process variables, such as the executable path (bin_path) version (version, full_version), uptime, protocol_version - Fixed array inputs not showing up for Git based RightScripts - Updated enable.sh to allow deployment href input, check for cloud-init on clouds that support stop/start, notify user if multiple revisions are found based on ServerTemplate name, allow user to move the instance to another deployment upon wrap - Added disable.sh to allow previously enabled instance to be returned to the state they were in before they were enabled. The script reverts all changes made by enable.sh, including deleting RL10, init scripts, and credentials. Changes for 10.0.rc2 -------------------- - Fixed RightNet communication issue that was causing errors when running operational scripts on servers reporting to an island other than the account's home shard island - /rll/run/recipe now executes the recipe immediately instead of enqueuing it on the main thread. It no longer supports the thread parameter, use the appropriate RightApi call instead to schedule the recipe/rightscript - Script env parameters set via /rll/env are saved if rightlinklite is stopped and started. - Tighten permissions on /var/lib/rightscale-identity - Updated enable.sh to safeguard against mistakenly wrapping the wrong instance - Fix unpacking of cookbook subdirectories - Updated enable.sh to allow managed login to be enabled / disabled - Added /rll/run/right_script to execute RightScripts interactively Changes for 10.0.rc1 -------------------- - fix attachments bug for std RightScripts - fix problem with 'service restart rightlinklite' disabling operational script running - improvements in rightlink.enable.ps1 powershell script, bringing it in-line with the linux script in terms of functionality, some testing still outstanding Changes for 10.0.rc0 -------------------- - allow RightScripts to begin with "#!" instead of the canonical "#! " - RightAPI 1.5 proxy now requires X-RLL-SECRET for auth, and stores that info in /var/run/rll-secret instead of passing it in the ENV to RightScripts - preliminary support for Windows using nssm - new ruby test script to exercises install-at-boot and install-at-launch - improvements for debian and sles - support -version and -selfcheck cmdline flags - support self-upgrade HTTP request: /rll/upgrade?exec=/path/to/executable - check time skew WRT RS platform and print warning if it's off by >5 minutes - fix issue with websocket request acks and add full duplicate request detection, also fix duplicate websocket connections at start-up - add sending of stats to RightNet as well as ping&stats request handlers - ensure RightScripts on one thread are executed sequentially - support remote rightscript execution - use godep during build process - enable scripts numerous additions and fixes, including ability to specify inputs and ServerTemplate href, updated various clouds, added cloudstack Changes for 0.2-alpha --------------------- - add enable script to install RLL on a running instance, and support the wrap_instance functionality - enable script supports amazon, open_stack, and softlayer - make stop&start and reboot work - make decommission scripts work - ensure boot sequence runs only once per OS boot, not once per RLL start-up - fix #54: terminated server is actually stopped - fix #35: RightScript completion audit entries don't show up in user notifications - improve Ci speed, now takes 25-35 seconds, incl upload to S3 - fix #27: stop retrying if managed login cannot work - it now checks the file periodically - add support for local pro Features for 0.1-alpha ---------------------- - simple install script that works on many linux distros - executable works on windows, but no "scripts" to make it work, it's just a PoC - support for rightscripts, audit entries, credentials - support for managed login for root access - local right_api proxy to enable setting tags and other things