Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > Guides > Dashboard Users Guide > Design > ServerTemplates > Actions > Detect Changes in HEAD ServerTemplate

Detect Changes in HEAD ServerTemplate

Objective

To detect RightScripts in a HEAD ServerTemplate that have changes between the committed revision that's currently being used and its HEAD version (if available).  

Table of Contents

Prerequisites

The following are prerequisites for completing this tutorial:

  • You should know how to run a diff (comparison) on RightScripts
  • You should know how to commit RightScripts
  • 'publisher' user role privileges

Overview

If you are developing new ServerTemplates or modifying existing ones, you may want to know if you are using the most recent version of a RightScript. Use the Detect changes in HEAD button to identify RightScripts where the revision that is currently being used in a HEAD ServerTemplate does not match the HEAD version of the RightScript. (i.e. The most recent version of the RightScript is not being used.) If you are developing a new ServerTemplate you might want to make sure that you're using the latest versions of all the RightScripts.

This procedure can be used to help publishers manage and keep their ServerTemplates and RightScripts up to date. 

Blue spherical icons (icon-blueball-v1.png) will be displayed next to a RightScripts if its HEAD version does not match the revision that is currently being used in a HEAD ServerTemplate.

 

screen-BlueOrangeBalls-v1.png

 

The orange and blue spheres will be displayed for different reasons. The diagram below demonstrates the most common user scenarios.

diag-UpdateRightScripts-v1.png

Depending on which RightScript revision a ServerTemplate is currently using, the following script notifications will be shown.

Which RightScript is in the HEAD ServerTemplate? Conditions Notification Results
Rev 7 Rev 9 is not available in the MultiCloud Marketplace No icons
Rev 7 Rev 9 is available in the MultiCloud Marketplace icon-orangeball-v1.png [orange icon]
Rev 1 Rev 2 is available; Rev 1 is not equal to HEAD

icon-orangeball-v1.png [orange icon]
icon-blueball-v1.png [blue icon]

Rev 2 Rev 2 is equal to HEAD No icons
Rev 2 Rev 2 is not equal to HEAD icon-blueball-v1.png [blue icon] 

 

Steps

  1. Go to the Scripts tab of a HEAD ServerTemplate. Orange ball notifications will automatically be displayed.
  2. Click the Detect Changes in HEAD action button. Blue spherical icons (icon-blueball-v1.png) will be displayed next to a RightScript if its HEAD version does not match the revision that is currently being used in a HEAD ServerTemplate.
  3. Click the blue sphere icon to view a differential between the current revision of the script that's being used and its HEAD version.
  4. Determine why a blue sphere icon appears next to a RightScript.
    • If you are using the latest committed revision of the RightScript and there is a icon-blueball-v1.png icon, you may want to commit the HEAD version of the RightScript so that the most recently committed revision of the script matches the HEAD version and then select the new committed revision. 
    • If you are using an older revision of the RightScript and a more recent committed revision exists in your RightScale account you may want to select the newer revision (which hopefully matches the script's HEAD version).

Post Tutorial Steps

Note that when RightScripts within ServerTemplates have been updated, the associated icons (spheres) disappear.  The content of the RightScripts themselves has in no way been changed, just which RightScripts the ServerTemplate uses changes.

 

You must to post a comment.
Last modified
22:38, 16 May 2013

Tags

This page has no custom tags.

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.