6.1.X

Safe upgrade warning

For safety reasons, please STOP scalr on ALL nodes with scalr-server-manage stop all command before upgrading to this version.

6.1.6

Release Date: 19/Sep/16

New Feature

Improvement

Bug

  • [SCALRCORE-3775] - UI > Scalr scope > Missing server side strong password verification
  • [SCALRCORE-4203] - FarmDesigner > RDS > some fields remain empty if user not have access to RDS
  • [SCALRCORE-4249] - Refactor ebs snapshots page to new layout
  • [SCALRCORE-4302] - Error. Stage 18 of update Update20160208131455 failed! mysqli error: [1062: Duplicate entry '\x00' for key 'PRIMARY']
  • [SCALRCORE-4319] - Server::setFreeFarmRoleIndex() allocates incorrect index
  • [SCALRCORE-4334] - Event Log > "Fired by Tasks" Event displayed as "Fired by System"
  • [SCALRCORE-4358] - When creating RDS instance in Region other than default you got redirected to the wrong region
  • [SCALRCORE-4391] - Python services > ERROR Unable to handle exception
  • [SCALRCORE-4397] - Impossible to create RDS Aurora from within Farm Designer
  • [SCALRCORE-4398] - Problem with SSL Certificate passphrase
  • [SCALRCORE-4403] - APIv2 > Scaling Rules > scaleUp & scaleDown should be of number type
  • [SCALRCORE-4409] - Analytics processing > ERROR Unable to insert records, KeyError('usage_id',)
  • [SCALRCORE-4426] - Fix service offering query for Cloudstack >= 4.6
  • [SCALRCORE-4427] - Do not allow to promote Role with chef configured in environment scope
  • [SCALRCORE-4431] - Check scalarizr status only for scalarized servers
  • [SCALRCORE-4442] - PHP Fatal error: Uncaught exception 'Exception' with message '"To" email address has not been set.' in app/src/Scalr/SimpleMailer.php:509
  • [SCALRCORE-4454] - Error E_WARNING Invalid argument supplied for foreach(), in app/src/Scalr/Modules/Platforms/Cloudstack/CloudstackPlatformModule.php:987
  • [SCALRCORE-4465] - Python Services > ERROR Process server failed Reason: type 'exceptions.KeyError'
  • [SCALRCORE-4510] - KMS/EC2 Governance Not Working


 Click to show BC

1. BC change in APIv2. If the launchedBy property of ServerSummaryDetailsResponse isn't set for the Farm object API method will not provide this property with the response object as it's optional.


2. BC change in APIv2 ScalingConfiguration object. API will always respond with enabled property in the result. 
Also Scalr has changed error code 'InvalidValue' on 'UnacceptableObjectConfiguration' if ScalingConfiguration.minInstances greater than ScalingConfiguration.maxInstances.
Before:

HTTP/1.1 400 Bad Request 
Server: nginx/1.10.1 
Date: Thu, 08 Sep 2016 19:22:24 GMT 
Content-Type: application/json; utf-8 
Content-Length: 337 
Connection: keep-alive 
Vary: Accept-Encoding 
{
	"meta": {
		"requestId": "f4412684-ae89-4549-88e3-8683af4875aa"
	},
	"errors": [{
		"code": "InvalidValue",
		"message": "Property scaling.maxInstances must be greater than or equal to scaling.minInstances"
	}]
}

After:

HTTP/1.1 422 Unprocessable Entity 
Server: nginx/1.10.1 
Date: Thu, 08 Sep 2016 19:24:39 GMT 
Content-Type: application/json; utf-8 
Content-Length: 357 
Connection: keep-alive 
Vary: Accept-Encoding  
{
        "meta": {
		"requestId": "c1ae9923-1119-4fd2-9e41-03a2335ecd78"
	},
	"errors": [{
		"code": "UnacceptableObjectConfiguration",
		"message": "Property scaling.maxInstances must be greater than or equal to scaling.minInstances."
	}]
}


3. Scalr's meta-tag v2 has been adjusted with new items.
Before: v2:{SCALR_ENV_ID}:{SCALR_FARM_ID}:{SCALR_FARM_ROLE_ID}:{SCALR_SERVER_ID}:{SCALR_COST_CENTER_ID}:{SCALR_PROJECT_ID}
After: v2:{SCALR_ENV_ID}:{SCALR_FARM_ID}:{SCALR_FARM_ROLE_ID}:{SCALR_SERVER_ID}:{SCALR_COST_CENTER_ID}:{SCALR_PROJECT_ID}:{CLOUD_RESOURCE_ID}:{SCALR_ID}

6.1.5

Release Date: 29/Aug/16

Improvement

Bug

  • [SCALRCORE-4395] - Services > AWS > Cloud Poller 2 doesn't handle identical cloud credentials
  • [SCALRCORE-4081] - Azure > Force resume failed
  • [SCALRCORE-4315] - Grid column header: sort direction icon is not visible in Firefox
  • [SCALRCORE-4352] - Role Builder: incorrect tooltip text for unavailable PostgreSQL
  • [SCALRCORE-4364] - UI > Farm Builder > Load CA usage in background
  • [SCALRCORE-4379] - APIv2 > Farm Role create requires a subnets key, but this is not documented in the api explorer
  • [SCALRCORE-4380] - APIv2 > API should not return numbers as strings. (BC change possible regression in existing API scenarios)
  • [SCALRCORE-4392] - APIv2 > /{envId}/script-executions/{scriptExecutionId}/ endpoint has broken (affected version 6.1.4)

6.1.4

Release Date: 24/Aug/16

Improvement

  • [SCALRCORE-2134] - Optimize role-create image-create form
  • [SCALRCORE-3262] - Add filter windows/linux in script executor and script list
  • [SCALRCORE-3392] - Orchestration and Event logs improvements and fixes (BC change in Orchestration log)
  • [SCALRCORE-3963] - Feature > Replace Image for all Roles of specified Scope
  • [SCALRCORE-4159] - Inconsistent names for GVs that control defaults (BC change Several system global variables were changed)
  • [SCALRCORE-4197] - APIv2 > Add cloudServerId property to Server List
  • [SCALRCORE-4246] - APIv2 > Add instance health status to servers list
  • [SCALRCORE-4353] - Add role and image columns (optional) to the servers grid
  • [SCALRCORE-4287] - Docker containers refresh command field
  • [SCALRCORE-4221] - APIv2 > Support ServerLaunch functionality
  • [SCALRCORE-4371] - Cost Analytics > Tagging changes > Introduce Meta Tag version 2 to track cloud resources (BC change New version of Scalr-meta tag)

Bug

  • [SCALRCORE-4230] - Import > Farms drop-down has no message when there are no running farms
  • [SCALRCORE-4290] - Server Launch > Non hooked up server (race condition)
  • [SCALRCORE-4299] - Readonly input field doesn't marked as invalid on request failure
  • [SCALRCORE-4320] - RDS Query Issue in Link to Farm Page
  • [SCALRCORE-4321] - Azure > Update Microsoft.Storage API version
  • [SCALRCORE-4331] - Markups don't work and breaking Azure CA
  • [SCALRCORE-4332] - Sometimes agent healthcheck is not updated in database
  • [SCALRCORE-4333] - Wrong SSH key name when downloaded from Firefox
  • [SCALRCORE-4340] - APIv2 Doc: link to authentication page on the home page is broken
  • [SCALRCORE-4345] - APIv1 > DB exceptions should come to php error log
  • [SCALRCORE-4350] - LDAP debug shows wrong server
  • [SCALRCORE-4359] - RDS > EMEA instance > AWS Error. Request GetUser failed. Credential should be scoped to a valid region.


 Click to show BC changes

New version of Scalr meta tag has been introduced.
Before: v1:{SCALR_ENV_ID}:{SCALR_FARM_ID}:{SCALR_FARM_ROLE_ID}:{SCALR_SERVER_ID}
After: v2:{SCALR_ENV_ID}:{SCALR_FARM_ID}:{SCALR_FARM_ROLE_ID}:{SCALR_SERVER_ID}:{SCALR_COST_CENTER_ID}:{SCALR_PROJECT_ID}

Therefore both versions old and new of the Scalr-meta tag are supported by Scalr itself.


After termination of a server information about execution of scripts on that server will now be removed from Orchestration log.


Following system Global Variables were renamed:
SCALR_UI_DEFAULT_AWS_INSTANCE_INITIATED_SHUTDOWN_BEHAVIOR replaced with SCALR_UI_DEFAULT_AWS_EC2_INSTANCE_INITIATED_SHUTDOWN_BEHAVIOR
SCALR_UI_DEFAULT_EC2_LOCATION replaced with SCALR_UI_DEFAULT_AWS_LOCATION
SCALR_UI_DEFAULT_EC2_INSTANCE_TYPE replaced with SCALR_UI_DEFAULT_AWS_EC2_INSTANCE_TYPE
SCALR_UI_DEFAULT_AWS_EC2_SUBNETS replaced with SCALR_UI_DEFAULT_AWS_SUBNETS


6.1.3

Release Date: 08/Aug/16

Improvement

Bug

  • [SCALRCORE-4011] - Admin scope > link "User Settings" doesn't work after added button to bookmarks bar
  • [SCALRCORE-4199] - API > Do not allow to change Farm VPC settings to avoid invalid farm configuration
  • [SCALRCORE-4239] - UI > TypeError with filterField (dnszones)
  • [SCALRCORE-4261] - UI > impossible download debug log in server details popup
  • [SCALRCORE-4262] - Unable to upload json credentials in Firefox on OS X
  • [SCALRCORE-4269] - EBS volumes > Servers with "alias" can not be recognized
  • [SCALRCORE-4292] - Cloud Credentials > Account Type issue
  • [SCALRCORE-4293] - TypeError: this.getStore(...).proxy is undefined
  • [SCALRCORE-4294] - Update20160729125810 collation issue
  • [SCALRCORE-4296] - Incorrect handling OS from Scalr agent during agent deploy
  • [SCALRCORE-4308] - UI > Containers > Filtering does not work. Unknown column 'farms.name' in where clause
  • [SCALRCORE-4310] - Farm designer > Preload VPC list issue
  • [SCALRCORE-4312] - Forbid to change running farm VPC settings
  • [SCALRCORE-4316] - GET /api/.../scaling/ should return maxInstances and minInstances as intergers instead of string

6.1.2

Release Date: 01/Aug/16

Improvement

  • [SCALRCORE-4158] - Create a configuration that disables APIv1
  • [SCALRCORE-4169] - Azure > Suspended Servers Support in Farm's "Instance Termination Scaling Rules"
  • [SCALRCORE-4263] - New config.yml option scalr.scalarizr_update.ssl_verify_peer

Bug

  • [SCALRCORE-1795] - Environment > Server > Load statistics > exclude possibility to add widget to dashboard many times
  • [SCALRCORE-3559] - Governance > AWS Security Groups > "From list" doesn't find SG by ID
  • [SCALRCORE-4135] - Farm Designer > Add new ELB > scroll position changing after expand "Team" dropdown
  • [SCALRCORE-4219] - UI > Issues with gradients
  • [SCALRCORE-4224] - RDS DB Clusters > unable to Modify "Backup Retention Period"
  • [SCALRCORE-4252] - Discovery > Agent deploy script doesn't work on Windows
  • [SCALRCORE-4256] - Root EBS volume is not being tagged on HVM instances
  • [SCALRCORE-4258] - UI > ELB list cannot display more than 400 load balancers
  • [SCALRCORE-4268] - Server discovery manager does not work in non-default location
  • [SCALRCORE-4255] - Docker containers discovery Phase 2 > Fixes & Improvements
  • EBS view interface fixes & improvements

6.1.1

Release Date: 26/Jul/16

New Feature

  • [SCALRCORE-2540] - Docker containers discovery
  • [SCALRCORE-3601] - New GCE governance policies (cloud.networks and cloud.subnets)
  • [SCALRCORE-3665] - Discovery Manager [Phase 3] > Deploy scalr agent on imported servers
  • [SCALRCORE-4153] - Add support for EC2 Dedicated instances
  • [SCALRCORE-4160] - New GVs to control RDS defaults (maintenance window, backup window and backups retention period)

Improvement

Bug

  • [SCALRCORE-2863] - Cost Analytics > Notifications > Cancel button is always disabled
  • [SCALRCORE-3214] - Do not allow to change Farm VPC settings to avoid invalid farm configuration
  • [SCALRCORE-3435] - Audit log > User log message > Suspended server looks like terminated
  • [SCALRCORE-3513] - Database Backups > Do not appear after switching between Farms
  • [SCALRCORE-3553] - Webhooks History > Right pane displays information from previous selection on empty search results
  • [SCALRCORE-3575] - Сloudstack server becomes Running when not-existing security group is enforced by Governance
  • [SCALRCORE-3576] - Farm designer > Projects from Default CC appear instead of one's dedicated to Environment 
  • [SCALRCORE-3766] - Rackspace Farm > It's possible to save farm with storage <75 Gb
  • [SCALRCORE-3794] - EBS Volumes > Able to initiate deletion of in-use volume
  • [SCALRCORE-3947] - GCE > provided credentials are incorrect > clear up message
  • [SCALRCORE-3955] - Governance > Uncaught TypeError on "aws.iam.instance_profile" policy after delete cloud credentials for Amazon EC2
  • [SCALRCORE-3965] - UI > hardcoded server termination timeout message in the logs should be taken from the config
  • [SCALRCORE-3979] - APIv2 > Role GV needs extra permissions
  • [SCALRCORE-3983] - Discovery manager > Add to farm > Missing Subnet field for servers in VPC
  • [SCALRCORE-4013] - Global Variables > "Scope" icon misalignment after redefining on lower scope
  • [SCALRCORE-4015] - Global Variables > Incorrect error tooltip placement
  • [SCALRCORE-4032] - Global Variables > Format field enabled for JSON format when editing
  • [SCALRCORE-4040] - Global Variables > Default GV does not depend on cloud credentials
  • [SCALRCORE-4075] - Refresh ACL in the current User's context after saving them
  • [SCALRCORE-4112] - UI > Farm orchestration script view issue
  • [SCALRCORE-4123] - APIv2 > Unlink cloud credentilas from environment issue
  • [SCALRCORE-4125] - Remove checkbox 'Associate this database with farm' from RDS launch form
  • [SCALRCORE-4128] - GCE > Python Services > Gracefully Handle HTTP 400 - 5xx
  • [SCALRCORE-4130] - Cost Analytics > User should not be able to assign archived Project to Farm
  • [SCALRCORE-4136] - APIv2 > Property Environment.costCenter is not consistent to specification (BC change)
  • [SCALRCORE-4137] - APIv2 > DateAndTime scaling metric converting ScalingRuleTimeFrame issue
  • [SCALRCORE-4140] - FarmDesigner > ELB > Farm Roles with all locations can be linked to ELB
  • [SCALRCORE-4142] - Azure > Broken Security groups manager in Farm Designer
  • [SCALRCORE-4148] - Farm Designer > Link ELB > Duplicate roles in Automation dropdown
  • [SCALRCORE-4150] - APIv2 access > Right form is open after filtering
  • [SCALRCORE-4152] - APIv2 > Farms test Fatal error
  • [SCALRCORE-4155] - Invalid scalr-meta breaks analytics processing
  • [SCALRCORE-4157] - Unable to change cluster placement group to "Do not use placement group"
  • [SCALRCORE-4165] - RDS > Restored instances have no owner and team
  • [SCALRCORE-4180] - Role builder > Unable to launch temp servers on EC2
  • [SCALRCORE-4182] - Global Search > New Farms appear without owner
  • [SCALRCORE-4184] - FarmRole > Storage > Storage usage > "Server id" link does not work
  • [SCALRCORE-4185] - Global Variables > Problem with required "Value"
  • [SCALRCORE-4187] - Governance > it's possible to save Policy with empty selection
  • [SCALRCORE-4233] - PHP Fatal error: Call to a member function getResources() on null in app/src/Scalr/Modules/Platforms/Ec2/Observers/ElbObserver.php on line 62

 Click to show BC changes

BC change in APIv2 to ensure CostCenter property in Environment object being provided correctly according to API specification.

Before: Environment object wrongly responded with CostCenter property as string.

After: Environment object responds with CostCenter property as object according to specification.


6.1.0

Release Date: 07/Jul/16

New Feature

Improvement

Bug

 Click to show BC changes

Following Tags were renamed in farm.launch and farm.terminate actions:
- "farm.launch.farm_name" to "farm.launch.name";
- "farm.launch.owner.user_id" to "farm.launch.owner.id";
- "farm.launch.owner.user_email" to "farm.launch.owner.email".

Following Tags were renamed in script.execute action:
- "script.execute.script.id" to "script.execute.script_id";
- "script.execute.script.name" to "script.execute.name";
- "script.execute.script.version" to "script.execute.version";
- "script.execute.target.account_id" to "script.execute.target.account.id";
- "script.execute.target.env_id" to "script.execute.target.environment.id";
- "script.execute.target.farm_id" to "script.execute.target.farm.id";
- "script.execute.target.farm_role_id" to "script.execute.target.farm_role.id";
- "script.execute.target.server_id" to "script.execute.target.server.id";
- "script.execute.script.path" to "script.execute.path".

Added new Tag "script.execute.id" to script.execute action

 Click to show information about updated software
  • PHP 5.6.17 to 5.6.23
  • Apache 2.4.12 to 2.4.23

  • Openssl 1.0.1s to 1.0.1t

 Click to show information about updated PHP libraries
  • google/apiclient - 2.0.1
 Click to show information about updated Python libraries
  • boto - 2.41.0