Blog from December, 2017

Release Date: 20/Dec/17

New Feature

Improvement

  • [SCALRCORE-6452] - OpenStack > Add support Volume V3
  • [SCALRCORE-7747] - Azure > Scalr Expanded Resource Group Support (BC change in behavior)
  • [SCALRCORE-7554] - CSG > AWS > Add Mobile Hub, Cognito, Device Farm, Pinpoint services

Bug

  • [SCALRCORE-7567] - Create role with Ansible Tower > Incorrect validation of variables field
  • [SCALRCORE-7719] - Server timeout not honored when the Farm is terminated (BC change in behavior)
  • [SCALRCORE-7742] - Apiv2 > Adding Farm Roles where Account level Permissions Exists
  • [SCALRCORE-7745] - Monitor > Queue overflow in RabbitMQ
  • [SCALRCORE-7756] - Monitor > Poll server health connection issue


 Click to show BC changes

1. BC Change which required an user action on deploy

When a Server is launched:
Before: Scalr has tried to fetch a Security Groups from the corresponding Network's Resource Group

After: Scalr is trying to fetch a Security Groups from the corresponding Application's Resource Group


2. BC Change in behavior

Before: When a Farm is terminated, all Farm's Servers are terminated immediately ignoring a configurable timeout.

After: After a Farm is terminated, all corresponding Servers stay in pending terminate state for the time which is specified in the scalr.system.server_terminate_timeout scalr configuration file.

Release Date: 13/Dec/17

Bug

  • [SCALRCORE-7595] - Cost Analytics > Notifications > Cannot read property 'cells' of undefined
  • [SCALRCORE-7730] - UI > Farm designer > invalid orchestration rule id error
  • [SCALRCORE-7733] - Service catalog > ACL Issue
  • [SCALRCORE-7734] - Service catalog > Html editor issue
  • [SCALRCORE-7735] - Python Servies > Monitor > Poll server health proxy issue

Release Date: 07/Dec/17


New Feature

  • [SCALRCORE-3942] - UI > New network interface abstraction (Private clouds only) (BC Change in APIv2)
  • [SCALRCORE-3942] - Support for Openstack Static IPs. 
  • [SCALRCORE-7644] - VMware > Add support of hardware version for VMXi 6.5
  • [SCALRCORE-7145] - Highlight deprecated roles on farm (BC Change in APIv2)
  • [SCALRCORE-7445] - OTC > Manage VPC and Subnets

Improvement

  • [SCALRCORE-7581] - VMware > Add better logging for background jobs and platform module
  • [SCALRCORE-7657] - VMware > External IPAM > Add Advanced Configuration for Scalr Ip Allocation mode
  • [SCALRCORE-7597] - UI > Add new GV default SCALR_UI_DEFAULT_ABORT_INITIALIZATION_ON_ORCHESTRATION_FAILURE
  • [SCALRCORE-7620] - AWS > EMR Version 5.10 support.

Bug

  • [SCALRCORE-4855] - APIv2 > Event endpoints should return system events
  • [SCALRCORE-7495] - All Scopes > Role > Grid > no option to scroll Role grid after Clone
  • [SCALRCORE-7501] - BeforeHostTerminate event (Server removed from AT)
  • [SCALRCORE-7504] - VMware > Server fails to build with task error message
  • [SCALRCORE-7547] - Cost Analytics > Markups > No effect on CA data
  • [SCALRCORE-7607] - Python Services > Monitor > inet_ntop(): Invalid in_addr value
  • [SCALRCORE-7613] - Monitor > SQL error in pull statistics
  • [SCALRCORE-7615] - Core > logger.level must be shared service in DI
  • [SCALRCORE-7619] - Azure > Impossible to retrieve Linux root password
  • [SCALRCORE-7621] - UI > RDS Page Issues
  • [SCALRCORE-7627] - Incomplete transaction in Scalr_Role_DbMsrBehavior::removeSlaveVolumes
  • [SCALRCORE-7628] - Account > Environments > Adding AWS Cloud causes error (Affected version 7.7.6)
  • [SCALRCORE-7647] - UI > Service catalog > Bootstrap with AT is not checked after deploy
  • [SCALRCORE-7648] - VMware > External IPAM ip_pool_id is null
  • [SCALRCORE-7655] - Service Catalog is empty with all categories
  • [SCALRCORE-7656] - Show IP address when launching from Service Catalog
  • [SCALRCORE-7662] - Python Services > Analytics Processor > Missing account_id for usage_d (Affected version 7.7.6)
  • [SCALRCORE-7674] - UI > Service catalog > Add support for GV list value
  • [SCALRCORE-7683] - Core > Crontab > MDP Broker leads to multiplication of workers
  • [SCALRCORE-7687] - Core > Error E_USER_WARNING SCU has not been defined for instance type: for all newly added m5, h1, i3.metal instance types


 Click to show BC changes

1. BC Change in APIv2

Before: A field FarmRole.networking.networks was optional for CREATE / UPDATE Farm Roles or Farm Templates.

After: A field FarmRole.networking.networks is mandatory for the Openstack platform for CREATE / UPDATE Farm Roles or Farm Templates.


2. BC Change in APIv2

 Role Object.  Role.deprecated has been replaced with inherited object with the information about deprecation. The field Role.deprecated became read only.


Before:

     {
	    "deprecated": true
     }
    

After:

    {
	    "deprecated": {
		  "deprecated": "2017-12-07T09:52:37Z",
		  "replacement": {
			"id": 41402
		  }
	    }      
    }
   

It is impossible to deprecate a Role through the PATCH /api/v1beta0/user/envId/roles/roleId/ action.

A new POST /api/v1beta0/user/envId/roles/roleId/actions/deprecate action must be used instead.

Before:

PATCH http://SCALR/api/v1beta0/user/5/roles/38775/ HTTP/1.1
Content-Type: application/json; charset=utf-8
X-Scalr-Key-Id: APIK4IZNYS0UXAJDIENJ
X-Scalr-Date: 2017-12-07T10:12:13Z
X-Scalr-Signature: ....
Content-Length: 19
{"deprecated":true}

HTTP/1.1 200 OK
Server: nginx/1.12.2
Date: Thu, 07 Dec 2017 10:12:13 GMT
Content-Type: application/json; utf-8
Content-Length: 428
{
	"meta": {
		"requestId": "86ebe675-655b-4686-a977-6e080c458fb9"
	},
	"data": {
		"id": 38775,
		"name": "base-centos6-devel",
		"description": "Development role",
		"quickStart": false,
		"deprecated": true,
		"useScalrAgent": true,
		"scope": "environment",
		"os": {
			"id": "centos-6-x"
		},
		"category": {
			"id": 9
		},
		"builtinAutomation": ["base", "chef"]
	},
	"warnings": []
}

After:

POST http://SCALR/api/v1beta0/user/5/roles/38775/actions/deprecate HTTP/1.1
Content-Type: application/json; charset=utf-8
X-Scalr-Key-Id: APIK12345
X-Scalr-Date: 2017-12-07T10:04:12Z
X-Scalr-Signature: .....
Content-Length: 40
{
	"deprecate": true,
	"replacement": {
		"id": 41402
	}
}

HTTP/1.1 200 OK
Server: nginx/1.12.2
Date: Thu, 07 Dec 2017 10:04:13 GMT
Content-Type: application/json; utf-8
Content-Length: 530
Connection: keep-alive
{
	"meta": {
		"requestId": "c5ca9c46-c7c7-415f-bbe6-b9e9699ef208",
	},
	"data": {
		"id": 38775,
		"name": "base-centos6-devel",
		"description": "Development role",
		"quickStart": false,
		"deprecated": {
			"deprecated": "2017-12-07T10:04:13Z",
			"replacement": {
				"id": 41402
			}
		},
		"useScalrAgent": true,
		"scope": "environment",
		"os": {
			"id": "centos-6-x"
		},
		"category": {
			"id": 9
		},
		"builtinAutomation": ["base", "chef"]
	},
	"warnings": []
}

Endpoint GET /api/v1beta0/user/envId/roles/ (all scopes) does not support a filter by a deprecated field (?deprecated=true|false)