User Tools

Site Tools


requirements_projects:data_collection_of_failure_prediction

This is an old revision of the document!


Data Collection:

  • Proposed name for the project: data collection for failure prediction
  • Proposed name for the repository: collector
  • Project Categories: (Requirements)

Project description:

A failure prediction system could be deployed to help the NFV system avoid the unexpected failure in advance.The failure prediction topic has been studied by ETSI NFV ISG, and some general requirements are developed there. These requirements should be the initial input for this topic in OPNFV. For example, the following requirements are listed in NFV GS Draft NFV-REL 001 (v1.0.0, 2014-11):

  • The real-time resource usage such as the disk usage, CPU Load, memory usage, network IO and virtual IO usage and their loss rate, and available vCPUs, virtual memory, etc. shall be provided to VIM at configurable intervals by entities of infrastructure. It should also be possible to configure the thresholds or watermarks for the event notification instead of configuring the reporting interval.
  • Each entity of infrastructure shall provide the open interfaces for communicating the performance and the consumption resource and for allowing polling of its working state and resource usage.
  • The failure prediction framework should include the functionality of the false alarm filtering to avoid triggering unnecessary prevention procedure for anomaly alarming.
  • The failure prediction framework should include trend identification, period or seasonal variations, and randomness analysis of the collected data on resource usage (e.g., memory, file descriptors, sockets, database connections) to predict the progression of the operated NFV system to an unhealthy state, e.g., resource exhausting.
  • The failure prediction framework should be able to diagnose or verify which entity is suspected to be progressing towards a failure and which VNFs might be affected due to the predicted anomaly.
  • The entities of VNF and its supported infrastructure should have their own self-diagnostic functionality in order to provide their health information to the VIM.
  • The log report associated with a NFVI resource failure or an error detected by a hardware component, software module, hypervisor, VM, or the network should include the error severity.
  • The log report should include an indication of the failure cause.

The failure prediction topic will also be one of the important issues in ETSI NFV Phase 2. So it is possible that such requirements for failure prediction will be updated or elaborated during the lifecycle of this project, and the updated part will be synchronized and merged into this project.

Collecting data is the first and most significant step of a failure prediction system, which requires different kinds of data (e.g., log files, real time parameters of hardware and software, environment parameters, events, etc.) from various sources (e.g, NFVI, VIM, etc.). A failure predictor can notify us about failure in advance by analyzing the collected data. Some upstream projects for data collection has existed (e.g. the Monasca project and Ceilometer project in OpenStack for system resource monitoring). However, they do not cover all specific requirements in the OPNFV environment. Therefore our first task is to investigate the gaps between those upstream projects, other OpenStack components and the OPNFV requirements. Meanwhile, we will identify which kind of data is required to collect. After that, we plan to deliver some documents on the VIM northbound API, implementation architecture and plan. Finally, we will implement the failure prediction framework in detail.

Data Category:

Ceilometer and Monasca can get some metrics about physical resource and virtual resource. But they do not cover some metrics about application and guest OS. We try to give some metrics as examples, but the following list is non-exhaustive:

  • vCPU interrupt time, vCPU idle time, vCPU system time, vCPU user time.
  • File system information.
  • Memory utilization (allocated and utilizations, size of block and how many blocks are used, page swaps)
  • Hypervisor priority level for VNF
  • Acceleration technology in use (DPDK in and out frames/sec, SR-IOV, etc.)

Architecture:

The whole failure prediction system is made up of a data collector, a failure predictor and a failure management module, which is shown in the following figure.

The data collector consists of Ceilometer and Monasca which can be extended to plugin some other open source data collectors, e.g. Zabbix, Nagios, Cacti. The predictor analyses data collected by the data collector and send notifications to the failure management module (e.g. the Doctor module), which could handle these failure notifications.

In OPNFV release 1, we limit the scope of this project to the data collector.

Scope:

Describe the problem being solved by project: As a requirements category project, it plans to solve the problem as following:

  • The Ceilometer and Monasca projects in OpenStack Juno Release could not collect data as much as possible for a failure prediction system in the OPNFV environment. Due to this drawback, this project is to solve this problem by analyzing the gaps between failure prediction in OPNFV, OpenStack Ceilometer project and Monasca project.

Specify any interface/API specification proposed: Additional interface specifications:

  • VI-Ha
  • Vf-Vi
  • Vi-Vnfm
  • Or-Vi
  • Other interfaces potentially to be brought during the project

Identity a list of features and functionality will be developed:

  • Additional features of Ceilometer and Monasca to support OPNFV failure prediction.

Identify what is in or out of scope. So during the development phase, it helps reduce discussion: In scope:

  • Monasca and Ceilometer as the data collector
  • Failure that could be predicted by the failure predictor
  • Data category for failure prediction
  • VIM northbound interfaces

Out of scope

  • An engine for analyzing collected data and predicting failure.

Describe how the project is extensible in future: The achievements of this project will be used as the input for next stage, e.g. Integration & Testing, and Collaborative Development.

Testability: ''(optional, Project Categories: Integration & Testing)''

Specify testing and integration like interoperability, scalability, high availablity

  • N/A

Documentation: ''(optional, Project Categories: Documention)''

  • N/A

Dependencies:

Identify similar projects is underway or being proposed in OPNFV or upstream project

  • The “Doctor (Fault Management and Maintenance)” project.

Identify any open source upstream projects and release timeline.

Identify any specific development be staged with respect to the upstream project and releases.

  • N/A

Are there any external fora or standard development organization dependencies. If possible, list and informative and normative reference specifications.

  • ETSI NFV draft REL GS (v1.0.0, 2014-11)
  • ETSI GS NFV REL004

Committers and Contributors:

Names and affiliations of the committers:

  • Hai Liu, hai.liu@huawei.com
  • Yijun Yu, yuyijun@huawei.com
  • Jun Li, matthew.lijun@huawei.com
  • Yifei Xue, xueyifei@huawei.com
  • Linghui Zeng, linghui.zeng@huawei.com
  • Lanchao Zheng, zhenglanchao@huawei.com
  • Qiao Fu, fuqiao@chinamobile.com

Any other contributors: TBD

Planned deliverables

Described the project release package as OPNFV or open source upstream projects.

  • Potential failure needed to be handled
  • Data category required for failure prediction
  • System capability requirement (e.g. disk space needed) and performance requirement (e.g. how many data needs to be collected per second)
  • The mechanism on how to hook various kinds of open source monitors (e.g. Cacti, Nagios, Zabbix and Ganglia)

If project deliverables have multiple dependencies across other project categories, described linkage of the deliverables.

  • N/A

Proposed Release Schedule:

When is the first release planned?

  • March, 2015.

Will this align with the current release cadence

  • Yes
requirements_projects/data_collection_of_failure_prediction.1424077200.txt.gz · Last modified: 2015/02/16 09:00 by Linghui Zeng