Browse Source

Merge "Spec for ironic plugin"

Jenkins 2 years ago
parent
commit
c80cea39db
2 changed files with 69 additions and 0 deletions
  1. 9
    0
      doc/source/index.rst
  2. 60
    0
      specs/ocata/ironic-plugin.rst

+ 9
- 0
doc/source/index.rst View File

@@ -43,6 +43,15 @@ Mitaka
43 43
 
44 44
    specs/mitaka/**
45 45
 
46
+Ocata
47
+=====
48
+
49
+.. toctree::
50
+   :glob:
51
+   :maxdepth: 1
52
+
53
+   specs/ocata/**
54
+
46 55
 ==================
47 56
 Indices and tables
48 57
 ==================

+ 60
- 0
specs/ocata/ironic-plugin.rst View File

@@ -0,0 +1,60 @@
1
+
2
+..
3
+    Licensed under the Apache License, Version 2.0 (the "License"); you may
4
+    not use this file except in compliance with the License. You may obtain
5
+    a copy of the License at
6
+
7
+        http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+    Unless required by applicable law or agreed to in writing, software
10
+    distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11
+    WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12
+    License for the specific language governing permissions and limitations
13
+    under the License.
14
+
15
+==============
16
+Ironic plugin
17
+==============
18
+
19
+https://blueprints.launchpad.net/searchlight/+spec/ironic-plugin
20
+
21
+This spec is proposed to add ironic plugin for Searchlight. Ironic is OpenStack
22
+baremetal service. Plugin should support these baremetal resourses: nodes
23
+(OS::Ironic::Node), ports (OS::Ironic::Port) and chassis (OS::Ironic::Chassis).
24
+
25
+Problem Description
26
+===================
27
+
28
+Notifications about baremetal node state changes (power, provisioning) and
29
+create, update and delete of resources are proposed to ironic ([1]_, [2]_).
30
+Because information about node in the database can be changed quickly during
31
+deployment specification [2]_ provides ways to limits flow of notifications.
32
+Using of Searchlight API with ironic plugin can reduce load on ironic API
33
+from periodical polling tasks.
34
+
35
+Proposed Change
36
+===============
37
+
38
+1. Searchlight listener should be changed because ironic can use any
39
+notifications message priority, not only INFO ([1]_). For possibility of use
40
+this feature and backward compatibility new configuration option (list type)
41
+``additional_priorities`` will be added to ``listener`` group. Allowed
42
+values are "audit", "debug", "warn", "error", "critical" and "sample". Default
43
+value is not set (no additional priorities).
44
+
45
+2. Plugin with indexers and notification handlers for ironic nodes, ports and
46
+chassis shoud be implemented.
47
+
48
+3. Custom Searchlight config should be used with ironic because ironic uses
49
+own hardcoded ``ironic_versioned_notifications`` topic ([3]_).
50
+
51
+Alternatives
52
+------------
53
+
54
+None
55
+
56
+References
57
+==========
58
+.. [1] http://specs.openstack.org/openstack/ironic-specs/specs/approved/notifications.html
59
+.. [2] https://review.openstack.org/#/c/347242
60
+.. [3] http://docs.openstack.org/developer/ironic/dev/notifications.html

Loading…
Cancel
Save