Newton Series Release Notes¶
2.0.0.0rc1¶
新特性¶
Added dependents to clusters and nodes for recording other clusters/nodes that depend on them.
The region placement policy and the zone placement policy have been augmented with spec validation support.
The ‘image’, ‘flavor’, ‘key_name’ and ‘networks’ properties of a nova server profile can now be validated via profile-validate API.
Optimized nova server update so that password and server name can be updated with and without image-based rebuild.
弃用说明¶
Deprecate ‘block_device_mapping’ from nova server profile since it was never supported by OpenStack SDK.
Bug修复¶
Fixed cluster/node status setting after a cluster/node check operation.
Various fixes to the user doc, developer doc and API documentation.
A cluster in the middle of an on-going action should not be deletable. The engine service has been improved to detect this situation.
Removed ‘metadata’ from profile query parameters because the current support is known to have issues.
Added validation of key_name, flavor, image, networks when updating nova server.
Fixed bugs related to receiver creation when type is set to ‘message’.
2.0.0.0b3¶
新特性¶
The senlin-engine now supports fencing a corrupted VM instance by deleting it forcibly.
A new profile type ‘container.dockerinc.docker-1.0’ is added to support creation and management of docker clusters. This is still an experimental feature. Please use with caution.
The deletion policy is enhanced to handle ‘NODE_DELETE’ actions which derives from a standalone ‘node_delete’ request.
The cluster health manager has gained a new feature where nova server instance failures can be detected and handled, with and without a health policy attached to a cluster.
The health policy was improved so that it will suspend itself when a node deletion comes from senlin-engine or client request. The policy will only effect when node failure is ‘unexpected’.
The load-balancing policy is improved to handle ‘NODE_CREATE’ and ‘NODE_DELETE’ actions that derive from ‘node_create’ or ‘node_delete’ RPC requests directly.
A new “lb_status_timeout” option is added to the LB policy to cope with load-balancers that are not so responsive.
The affinity policy is improved to handle NODE_CREATE actions which are derived from ‘node_create’ RPC requests.
The availability-zone placement policy is improved to handle NODE_CREATE actions which are derived from ‘node_create’ RPC requests.
The region placement policy is improved to handle the NODE_CREATE action which derives from a ‘node_create’ RPC request.
With the new ‘profile-validate’ API, the nova server profile now supports the validation of its ‘flavor’, ‘image’ (if provided), ‘availability_zone’ and block device driver properties.
添加了一种新的验证策略的API用来验证策略的规范而实际上不需要创建它的一个实例。
The affinity policy, loadbalancing policy now support spec validation. Invalid properties can be detected using policy-validate API.
A new profile-validate API has been added to validate the spec of a profile without actually creating an instance of it.
Zaqar resources including “queue”, “message”, “subscription” and “claim” are now supported in Senlin driver.
升级说明¶
The ‘details/addresses’ property of a node output for a nova server used to contain only some trimed information. This has been changed to a faithful dumping of the ‘addresses’ property.
Several configuration options are consolidated into the ‘senlin_api’ group in ‘senlin.conf’ file (‘api_paste_config’, ‘wsgi_keep_alive’, ‘client_socket_timeout’, ‘max_json_body_size’).
With the newly added ‘message’ type of receivers, the ‘cluster’ and the ‘action’ property are not always required when creating a receiver. They are still required if the receiver type is ‘webhook’ (the default).
安全问题¶
The configuration option ‘service_password’ is marked as secret so that its value won’t get leaked into log files.
Bug修复¶
The new API documentation include fixes to the header like ‘location’, ‘OpenStack-Request-Id’ and responses during version negotiation.
The ‘desired_capacity’ reflects the expectation from a requester’s view point. The engine now changes the ‘desired_capacity’ after the request is validated/sanitized, before the action is actually implemented. This means the ‘desired_capacity’ will change event if an action fails.
Fixed cluster status update logic so that cluster status is solely determined by the status of its member nodes. The status is updated each time a cluster operation has completed.
Fix cluster next_index update when adding nodes to cluster.
Fixed resource delete operations which should return 204 status code with body length of zero.
Fixed error handling when network is not found in nova server creation.
Fixed node recover operation behavior so that unsupported operations can be detected and handled.
The unimplemented properties for health policy are masked out.
The node action execution logic is fixed so that it will skip cluster checking for orphan nodes and policy checking will be skipped for derived node actions.
The ‘senlin-manage’ command has been fixed so that it will report the senlin service status correctly.
The ‘tools/setup-service’ script has been fixed so that it works under keystone v3.
其他说明¶
Senlin API/引擎配置选项现在已经文档话并且在线发布了。
2.0.0.0b2¶
新特性¶
添加了一个新的API``cluster_collect``。
Tempest API test for all Senlin API interfaces for both positive and negative cases.
Reimplement functional test using tempest.
2.0.0.0b1¶
新特性¶
Improved the action scheduler so that it can decide how many node actions will be fired in each batch. Batch control is a throttling measure to avoid raising too many requests in a short interval to the backend services.
为oslo.versionedobject添加了支持,这样抽象了数据库交互,senlin服务的热升级成为了可能。
引擎调度器被重新设计为以”tickless”方式工作。
升级说明¶
The cluster delete API calls may return a 409 status code if there are policies and/or receivers associated with it. Previously, we return a 400 status code.
在事件表中的DB列obj_id, obj_type以及obj_name目前被重新改名为 oid, otype以及 oname 。
Bug修复¶
Fixed DB layer dead lock issue that surfaced recently during concurrent DB operations.
Fixed bug introduced by openstacksdk when updating nova server metadata.
其他说明¶
Reworked API documentation which is now published at http://developer.openstack.org/api-ref/clustering