Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > Release Notes > ServerTemplates > 2011-03-22 > 11H1 Maintenance Release

11H1 Maintenance Release

Table of Contents
  1. General Release Information
  2. Overview
    1. 11H1 ServerTemplates and RightScripts updated for inputs 2.0
  3. ServerTemplates
    1. Base ServerTemplate - 11H1.1
    2. EBS Stripe Toolbox - 11H1.1
    3. Database Manager with MySQL 5.0 Toolbox - 11H1.1
    4. Database Manager with MySQL 5.1 Toolbox - 11H1.1
    5. Rails App Server - 11H1.1
    6. Rails Front End - 11H1.2
    7. Database Manager with MySQL 5.0 - 11H1.1
    8. Database Manager with MySQL 5.1 - 11H1.1
    9. Tomcat6 App Server - 11H1.1
    10. Tomcat6 Front End - 11H1.2
    11. PHP5 App Server - 11H1.2
    12. PHP5 Front End - 11H1.1
    13. PHP5 App Server for ELB - 11H1.1
    14. RightScale Load Balancer with Apache/HAProxy - 11H1.3
    15. LAMP All-In-One with MySQL 5.0 - 11H1.1
    16. LAMP All-In-One with MySQL 5.1 - 11H1.1
  4. List of Bug Fixes
    1. LB tools retain broken 'disabled' server code
    2. HAProxy 1.3 not starting when no servers are registered
    3. EBS Stripe Restore and Grow Volume script doesn't issue a proper 'lvextend' command
    4. DB Create MySQL EBS stripe volume - 11H1 fails when dump file is used to create the DB
    5. The HAProxy connect/disconnect scripts issues
    6. MySQL ServerTemplates will not throw a backup age alert, until at least 1 successful backup is taken
    7. RightScale Load Balancer with Apache/HAProxy - 11H1 httpd alert
    8. WEB Apache http-only vhost - 11H1 blindly creates an unnecessary symlink
    9. WEB apache http-only vhost - 11H1 Does not work when launched in VPC
    10. RightScale Load Balancer with Apache/HAProxy - 11H1 does not support SSL termination
    11. Options true/false for OPT_MAINTENANCE_PAGE in RightScale Load Balancer are broken
    12. Error starting tomcat6 - JVM_LIBDIR does not exist
    13. s3cmd fails with capitalized bucket names
    14. LB RightScale tools install uses 'env ruby' vs. sandboxed ruby; throws string errors when using ruby 1.9.2
    15. Postfix Local Delivery RightScript is not reboot safe
    16. Apache base install for RightScale LB fails to allow custom number of MaxClients - 11H1
    17. 96.5% of /var/log/messages generated by syslog-ng log stats
    18. DB EBS promote to master - 11H1 does not work when there is no master
    19. LAMP All-In-One with MySQL 5.1 - 11H1 WEBSITE_DNS is marked as optional
    20. DME passwords with special characters broken
    21. MySQL 5.1 strands with unfrozen repo dates
    22. ELB_NAME description is ambiguous in ELB connect/disconnect 11H1 scripts
    23. PHP5 App Server - 11H1 not serving index.html on /
    24. Add Asia/Tokyo dropdown option for SYS_TZINFO in SYS Timezone set - 11H1
    25. WEB apache FrontEnd https vhost - 11H1 script needs to check for and create $doc_root directory if it does not exist
    26. DB MySQL 5.0 server install - 11H1 has Opt_DB_THREAD_CACHE_SIZE disabled
  5. Known Limitations

Table of Contents

  1. General Release Information
  2. Overview
    1. 11H1 ServerTemplates and RightScripts updated for inputs 2.0
  3. ServerTemplates
    1. Base ServerTemplate - 11H1.1
    2. EBS Stripe Toolbox - 11H1.1
    3. Database Manager with MySQL 5.0 Toolbox - 11H1.1
    4. Database Manager with MySQL 5.1 Toolbox - 11H1.1
    5. Rails App Server - 11H1.1
    6. Rails Front End - 11H1.2
    7. Database Manager with MySQL 5.0 - 11H1.1
    8. Database Manager with MySQL 5.1 - 11H1.1
    9. Tomcat6 App Server - 11H1.1
    10. Tomcat6 Front End - 11H1.2
    11. PHP5 App Server - 11H1.2
    12. PHP5 Front End - 11H1.1
    13. PHP5 App Server for ELB - 11H1.1
    14. RightScale Load Balancer with Apache/HAProxy - 11H1.3
    15. LAMP All-In-One with MySQL 5.0 - 11H1.1
    16. LAMP All-In-One with MySQL 5.1 - 11H1.1
  4. List of Bug Fixes
    1. LB tools retain broken 'disabled' server code
    2. HAProxy 1.3 not starting when no servers are registered
    3. EBS Stripe Restore and Grow Volume script doesn't issue a proper 'lvextend' command
    4. DB Create MySQL EBS stripe volume - 11H1 fails when dump file is used to create the DB
    5. The HAProxy connect/disconnect scripts issues
    6. MySQL ServerTemplates will not throw a backup age alert, until at least 1 successful backup is taken
    7. RightScale Load Balancer with Apache/HAProxy - 11H1 httpd alert
    8. WEB Apache http-only vhost - 11H1 blindly creates an unnecessary symlink
    9. WEB apache http-only vhost - 11H1 Does not work when launched in VPC
    10. RightScale Load Balancer with Apache/HAProxy - 11H1 does not support SSL termination
    11. Options true/false for OPT_MAINTENANCE_PAGE in RightScale Load Balancer are broken
    12. Error starting tomcat6 - JVM_LIBDIR does not exist
    13. s3cmd fails with capitalized bucket names
    14. LB RightScale tools install uses 'env ruby' vs. sandboxed ruby; throws string errors when using ruby 1.9.2
    15. Postfix Local Delivery RightScript is not reboot safe
    16. Apache base install for RightScale LB fails to allow custom number of MaxClients - 11H1
    17. 96.5% of /var/log/messages generated by syslog-ng log stats
    18. DB EBS promote to master - 11H1 does not work when there is no master
    19. LAMP All-In-One with MySQL 5.1 - 11H1 WEBSITE_DNS is marked as optional
    20. DME passwords with special characters broken
    21. MySQL 5.1 strands with unfrozen repo dates
    22. ELB_NAME description is ambiguous in ELB connect/disconnect 11H1 scripts
    23. PHP5 App Server - 11H1 not serving index.html on /
    24. Add Asia/Tokyo dropdown option for SYS_TZINFO in SYS Timezone set - 11H1
    25. WEB apache FrontEnd https vhost - 11H1 script needs to check for and create $doc_root directory if it does not exist
    26. DB MySQL 5.0 server install - 11H1 has Opt_DB_THREAD_CACHE_SIZE disabled
  5. Known Limitations

Reminder:  Additional current and archived Release Notes can be found here.


General Release Information

Release Date: Updated December 8, 2012

Release Time: Close of business (Pacific Standard Time)

Release Highlights:

  • Maintenance Release for 11H1

Contact Information:

 


Overview

11H1 ServerTemplates and RightScripts updated for inputs 2.0

RightScale inputs were re-factored since the release of 11H1, causing some discrepancies. With this release, the ServerTemplates and RightScripts are updated to reflect the current input functionality:

  • All inputs are appropriately categorized.
  • All relevant inputs have drop-down selections.
  • All relevant inputs have default values.

     


ServerTemplates

The ServerTemplates listed below were all updated with the following issues:

List of Bug Fixes

LB tools retain broken 'disabled' server code

ServerTemplates using the LB RightScale tools install - 11H1 RightScript along with HAProxy resulted in an error when attempting to check in with the load balancer. An invalid 'disabled' option is passed which the parser cannot identify. This was likely due to incompatible changes to the tools that were made in rev 23 and rev 25.

HAProxy 1.3 not starting when no servers are registered

When using the RightScale Load Balancer with Apache/HAProxy - 11H1.1 ServerTemplate, when no servers are registered, HAProxy would stop since the cookie option is defined in the config:

cookie SERVERID insert indirect nocache

Now if no servers are registered, HAProxy returns 503s.

EBS Stripe Restore and Grow Volume script doesn't issue a proper 'lvextend' command

Cause: Within the EBS Stripe Grow and Restore Volume script, we issue the following command to grow the logical volume:

lvextend -l 100%FREE /dev/vg-ebs-rightscale/lvol0

This caused one of two scenarios :

  1. If the VOLUME_SIZE input (to set new volume size) is less than 200% of the current original size of the logical volume, the script fails.
  2. If the VOLUME_SIZE input is more than 200% of the original size (i.e. going from 5GB to 15GB) then the logical volume extends only to the amount of free space. In this example, going from 5GB to 15GB results in a 10GB logical volume, which is not desired.

Resolution: This was changed to:

lvextend -l +100%FREE /dev/vg-ebs-rightscale/lvol0

The addition of the "+" extends the volume by the amount of free space, rather than setting the new size to the amount of free space. (3680)

DB Create MySQL EBS stripe volume - 11H1 fails when dump file is used to create the DB

Cause: If a bucket and dump file are passed to the DB Create MySQL EBS strip volume - 11H1 script, it will fail.

The script checks for the incorrect return to the shell command:

res = `(gunzip < #{local_filename} | mysql -u root #{ENV['DB_SCHEMA_NAME']}) 2>&1` 
raise "Importing DB failed"+res if res

Resolution: This was changed to:

res = `(gunzip < #{local_filename} | mysql -u root #{ENV['DB_SCHEMA_NAME']}) 2>&1` 
raise "Importing DB failed"+res if res

(3779)

The HAProxy connect/disconnect scripts issues

Cause: The following scripts required that SSH was wide open on the load balancers:

  • LB Get HAProxy config - 11H1 [rev 5]
  • LB Application to HAProxy connect - 11H1 [rev 5]
  • LB Application to HAProxy disconnect - 11H1 [rev 6]

These scripts were in the following ServerTemplates:

  • RightScale Load Balancer with Apache/HAProxy - 11H1 [rev 9]
  • PHP5 App Server - 11H1 [rev 11]
  • Tomcat6 App Server - 11H1 [rev 10]

Resolution

Removed the "SSH to the world" requirement by adding the following block:

begin
    addr_name=Resolv.getname(addr)
    addr_new=Resolv.getaddress(addr_name) if addr_name =~ /^ec2.*amazonaws.com$/
    addr=addr_new if addr_new =~ /^10\./
  rescue => e
    puts e.message+", moving on..."
  end

after the following line in the HAProxy connect/disconnect and get config scripts:

  addrs.each do |addr|

The snippet is trying to find the private IP associated with a public EC2 IP. It will work as long as the app server and load balancer are in the same region. When private IPs are used, nested security groups can permit SSH only between server tiers (lb<->lb, app->lb). (3919)

MySQL ServerTemplates will not throw a backup age alert, until at least 1 successful backup is taken

Cause: In the Database Manager for MySQL ServerTemplate, we determine the age of the backup by monitoring the age of the file /var/run/mysql-binary-backup. But until a successful backup is taken, this file does not exist and collectd never creates a graph for it.

The yellow triangle (broken alert) appears in the Alert tab, but a critical alert will never fire in this situation. So if the user accidentally misconfigures backups, it will continue to fail without an alert notification.

Resolution:

DB EBS restore and become master - 11H1 and DB EBS slave init - 11H1 touches "/var/run/mysql-binary-backup" to ensure it is present. Then a user is alerted if a backup is not taken under 4 hours. (3936)

RightScale Load Balancer with Apache/HAProxy - 11H1 httpd alert

Cause: When the following steps occurred:

  1. Launch a server with the Load Balancer with Apache/HAProxy - 11H1 [rev 9] ServerTemplate.
  2. Once operational, check the Alerts tab.

It resulted in the following error:

rrd_file_not_found: File 'processes-httpd/ps_count' is not found for CD-PROD-EAST-LB-1: the alert can not be processed. Make sure you have the correct collectd settings on your server.

Resolution: The alert now uses the 'apache/ps_count' graph for compatibility with both worker and pre-fork setups and Ubuntu. (3958)

WEB Apache http-only vhost - 11H1 blindly creates an unnecessary symlink

Cause: When replacing the svn code checkout for the s3 code checkout script in the PHP App ServerTemplate and moving it above the WEB Apache http-only vhost - 11H1 script. This caused the symlinks to break as a result of the code checkout having already been performed and linked to the correct directories.

Resolution: A check is performed to see if the symlink already exists. (3976)

WEB apache http-only vhost - 11H1 Does not work when launched in VPC

Cause: The WEB apache http-only vhost - 11H1 script does not work when launched in the VPC because 'apache_config_vhost.rb' is assuming $EC2_PUBLIC_HOSTNAME was set in the metadata, but this value does not exist in the VPC.

Resolution:  It should be referencing EC2_LOCAL_IPV4 in the VPC. (3758)

RightScale Load Balancer with Apache/HAProxy - 11H1 does not support SSL termination

Cause: The description incorrectly read "Can be configured for HTTPS (SSL)."

Resolution: The script was added as an operational script to make it easier to find. The ServerTemplate still needs to be cloned and the RightScript placed into the boot list to support SSL on boot. (3980)

Options true/false for OPT_MAINTENANCE_PAGE in RightScale Load Balancer are broken

Cause: The Rightscale Load Balancer - 11H1 ServerTemplate has the input for OPT_MAINTENANCE_PAGE used in the WEB Apache frontend http vhost - 11H1 [rev 5] script set to 'true/false' which was broken. The default should be 'ignore' as this requires that it be an input giving the name of the file. With it set to 'true/false,' you cannot set this to the filename.

This means that the maintenance page needs to be '/home/webapps/<name of app>/current/true', which it should not be. Also the script does not create this directory structure for the page to exist in. 

Resolution: A value is no longer required and uses the default value of "apache_maint_page="/system/maintenance.html"" (4034)

Error starting tomcat6 - JVM_LIBDIR does not exist

Cause: When launching a server using the Tomcat6 App Server - 11H1 ServerTemplate, after Tomcat6 starts, there is an error in the process line.

Steps to duplicate:

1. Launch a server using the Tomcat6 App Server - 11H1 ServerTemplate

2. Disable the S3/SVN checkout script (if you do not have a Tomcat test application)

3. Disable the WEB app to haproxy connect - 11H1 boot script if you do not have a working test load balancer

4. Once operational, SSH into the instance and type:

/etc/init.d/tomcat6 stop /etc/init.d/tomcat6 start

5. Once started, issue this command:

ps -aux | grep tomcat

6. You will receive an error.

Resolution: Fixed by creating JVM_LIBDIR if it does not already exist. (4035)

s3cmd fails with capitalized bucket names

Cause: When calling s3cmd get from WEB Application s3 code checkout [rev 5], if AWS_CALLING_FORMAT=SUBDOMAIN is set a 403 Forbidden error occurs.

Resolution: When setting AWS_CALLING_FORMAT=SUBDOMAIN it checks to make sure the bucket name has no capital letters and gives an error message for an invalid bucket name. (4073)

LB RightScale tools install uses 'env ruby' vs. sandboxed ruby; throws string errors when using ruby 1.9.2

Cause: With Ruby 1.9.2, using the 11H1 LB tools package and running haproxy_config_server.rb throws a string error.

Resolution: Ruby version changed to 1.8.7 (4158)

Postfix Local Delivery RightScript is not reboot safe

CauseMAIL Postfix local delivery - 11H1 was not reboot safe. We did not add postfix to sysvinit, and we do not set it as the default MTA, which caused problems upon server reboot.

Resolution: The following was added to the script:

chkconfig --add postfix

(4277)

Apache base install for RightScale LB fails to allow custom number of MaxClients - 11H1

Cause: The Apache/HAproxy ServerTemplate failed to allow customization of the MaxClients for Apache.

Resolution: This was was a usability issue and is resolved. (4354)

96.5% of /var/log/messages generated by syslog-ng log stats

Cause: 96.5% of /var/log/messages generated by SYS Syslog remote logging client - 11H1.

Resolution: The frequency of syslog-ng stat output logging is reduced. (4359)

DB EBS promote to master - 11H1 does not work when there is no master

Cause: The description for DB EBS promote to master 11H1 reads:

"Promotes a current Slave-DB server to become the new Master-DB server. You should only run this script on a Slave-DB that is currently connected to a running Master-DB, otherwise it will fail."

Resolution: This script does not check for a current master database before running. (4498)

LAMP All-In-One with MySQL 5.1 - 11H1 WEBSITE_DNS is marked as optional

Cause: In the LAMP All-In-One with MySQL 5.1 - 11H1 ServerTemplate, the WEBSITE_DNS input is optional, meaning you can launch a server with this input unset and it will strand.

Resolution: WEBSITE_DNS is flagged as a required input. (4545)

DME passwords with special characters broken

Cause: When running several of our 11H1 DNS tools/scripts, particularly for DNSMadeEasy, there were errors for authentication when the DNS_PASSWORD input included a credential or text that had specific certain characters.

Resolution: The fix was to properly escape the password string. (4727)

MySQL 5.1 strands with unfrozen repo dates

Cause: There was a package issue in the attachments.

Resolution: The attachments were removed and the RightScripts were updated to install packages from mirrors rather than from attachments. (4986)

ELB_NAME description is ambiguous in ELB connect/disconnect 11H1 scripts

Cause: The ELB_NAME input description was ambiguous.

Resolution: The description is clarified. (4606)

PHP5 App Server - 11H1 not serving index.html on /

Cause: index.html was not in the default filename search list.

Resolution: The fix was to serve index.html if present when "/" is accessed. (3897)

Add Asia/Tokyo dropdown option for SYS_TZINFO in SYS Timezone set - 11H1

Cause: Japanese users requested to adding an Asia/Tokyo drop-down option.

Resolution: The major/common timzeones used by our users are added. (3995)

WEB apache FrontEnd https vhost - 11H1 script needs to check for and create $doc_root directory if it does not exist

Cause: The script did not create the doc_root directory if it did not exist. A use case is WEB apache FrontEnd https vhost - 11H1 swapping http for https.

Resolution:

mkdir -p $deploy_dir mkdir -p $log_dir ln -nfs $deploy_dir $doc_root

(4328)

DB MySQL 5.0 server install - 11H1 has Opt_DB_THREAD_CACHE_SIZE disabled

Cause: This script has the OPT_DB_THREAD_CACHE_SIZE input disabled.

Resolution: The OPT_DB_THREAD_CACHE_SIZE input was added and sets the thread_cache_size MySQL configuration parameter. (4324)

Known Limitations

Unfreezing repo dates for the MySQL ServerTemplates causes the server to strand.

 


© 2006-2012 RightScale, Inc. All rights reserved.

Privacy Policy

You must to post a comment.
Last modified
23:36, 16 May 2013

Tags

RN

Classifications

This page has no classifications.

Announcements

None


© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.