licanwei
73928412b3
ignore useless WARNING log message
...
remove the useless 'project' filed in context
Change-Id: I0d00969dd4b993dfbe6f4623c27457ed2589ae3f
Closes-Bug: #1755347
2018-03-12 21:03:12 -07:00
Alexander Chadin
45a06445f3
basic_cons fix
...
Change-Id: I0856fadc3aaece3be286af9047339ce63d54be29
2018-03-09 14:52:57 +03:00
Zuul
cb497d2642
Merge "Add parameter aggregation_method for basic_consolidation"
2018-03-09 10:52:08 +00:00
Zuul
3a529a0f7b
Merge "Fix Uuid and virtual_free elements load error"
2018-03-09 10:00:19 +00:00
Alexander Chadin
5c81f1bd7f
Add parameter aggregation_method for basic_consolidation
...
This parameter is required to fix tempest multinode test.
Change-Id: I4014fb7a76ce74e1426378183ecef0308bc56ce7
2018-03-09 12:50:46 +03:00
Zuul
e0c019002a
Merge "Imported Translations from Zanata"
2018-03-09 06:50:04 +00:00
Zuul
cc24ef6e08
Merge "Fix exception string format"
2018-03-09 06:47:03 +00:00
OpenStack Proposal Bot
7e27abc5db
Imported Translations from Zanata
...
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: Ic6546e38367df64e2b3819ccf79261a1c4d38a2c
2018-03-08 07:27:37 +00:00
Alexander Chadin
a2488045ea
Add parameter aggregation_method for work_stab
...
This parameter is required to fix tempest multinode test.
Change-Id: Id0c6a01b831a6b15694fdb811a1f53f8c6303120
2018-03-07 11:38:40 +00:00
Alexander Chadin
cce5ebd3f0
basic_consolidation trivial fix
...
This fix adds usage of granularity parameter.
Should be merged ASAP.
Change-Id: I469ee056b32f95aba02100450c65945ee9877b23
2018-03-06 14:42:51 +00:00
Hidekazu Nakamura
a7ab77078e
Fix Uuid and virtual_free elements load error
...
NotImplementedError are reported in decision-engine log file
when we activate storage data model and see a Guru Meditation Report.
This patch fixes by adding default values.
Change-Id: I06386f8295f7758cbb633612eee8b19225905c92
Closes-Bug: #1750300
2018-03-06 16:55:11 +09:00
Zuul
9af32bce5b
Merge "Complete schema of workload_stabilization strategy"
2018-03-06 01:17:37 +00:00
Andreas Jaeger
6f27e50cf0
Fix exception string format
...
The string %(action) is not valid, it misses the conversion specified,
add s for string.
Note that this leads to an untranslatable string, since our translation
tools check for valid formats and fail. In this case the failure comes
from a source code fail.
Change-Id: I2e630928dc32542a8a7c02657a9f0ab1eaab62ff
2018-03-03 17:09:59 +00:00
OpenStack Proposal Bot
1834db853b
Imported Translations from Zanata
...
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: Id81df7aff5aa53071bc6f15a9178c5fcaffabf56
2018-03-03 12:13:49 +00:00
Alexander Chadin
c53817c33d
Fix change_nova_service_state action
...
The function signature has been changed in 2.53 version[1]
and this patch is required to fix watcher-tempest-plugin.
If all tests are ok, I'll merge it ASAP.
[1]: https://developer.openstack.org/api-ref/compute/#enable-scheduling-for-a-compute-service
Change-Id: Ie03519dac2a55263e278344fd00f103067f90f27
2018-03-03 10:14:26 +00:00
Zuul
b33b7a0474
Merge "Add a hacking rule for string interpolation at logging"
2018-02-28 12:24:37 +00:00
Zuul
707590143b
Merge "[Trivialfix]Modify a grammatical error"
2018-02-26 01:47:50 +00:00
Zuul
b2663de513
Merge "Add support for networkx v2.0"
2018-02-23 09:23:47 +00:00
ShangXiao
dd210292ae
[Trivialfix]Modify a grammatical error
...
Modify a grammatical error in basic_consolidation.py.
Change-Id: I9770121b0b0064c3ddfb582e5eaf6ee52ae8d6bb
2018-02-23 09:16:18 +00:00
ForestLee
f607ae8ec0
Add a hacking rule for string interpolation at logging
...
String interpolation should be delayed to be handled by
the logging code, rather than being done at the point
of the logging call.
See the oslo i18n guideline
* https://docs.openstack.org/oslo.i18n/latest/user/guidelines.html#adding-variables-to-log-messages
and
* https://github.com/openstack-dev/hacking/blob/master/hacking/checks/other.py#L39
Closes-Bug: #1596829
Change-Id: Ibba5791669c137be1483805db657beb907030227
2018-02-23 10:41:00 +03:00
Alexander Chadin
b3ded34244
Complete schema of workload_stabilization strategy
...
This patch set completes schema by adding restrictions
to different types of schema properties.
It also makes workload_stabilization strategy more
user friendly by setting cpu_util as default metric.
Change-Id: If34cf4b7ee2f70dc9a86309cb94a90b19e3d9bec
2018-02-23 07:13:40 +00:00
Zuul
bdfb074aa4
Merge "workload_stabilization trivial fix"
2018-02-23 06:40:51 +00:00
Zuul
b3be5f16fc
Merge "Fix grammar errors"
2018-02-23 05:48:54 +00:00
baiwenteng
fb66a9f2c3
Fix grammar errors
...
Replace 'a instance' with 'an instance' in
watcher/decision_engine/model/collector/nova.py
watcher/decision_engine/model/element/instance.py
Change-Id: I39020f3e7b460dea768f7e38fef9ae9e2a4b7357
2018-02-21 13:18:42 +00:00
Alexander Chadin
dc9ef6f49c
workload_stabilization trivial fix
...
This fix allows to compare metric name by value,
not by object.
Change-Id: I57c50ff97efa43efe4fd81875e481b25e9a18cc6
2018-02-20 13:53:02 +03:00
Alexander Chadin
c81cd675a5
Add support for networkx v2.0
...
Closes-Bug: #1718576
Change-Id: I1628e4c395591b87c7993294c065476a1f8191bb
2018-02-15 15:17:34 +03:00
pangliye
0900eaa9df
fix misspelling of 'return'
...
[trivial_fix]
Change-Id: I3df27dc419d8ae48650648e9f696ea6a182915bf
2018-02-11 01:17:32 +00:00
Zuul
76263f149a
Merge "Fix issues with aggregate and granularity attributes"
2018-02-06 06:05:50 +00:00
Alexander Chadin
d27ba8cc2a
Fix issues with aggregate and granularity attributes
...
This patch set fixes issues that have appeared after merging
watcher-multi-datasource and strategy-requirements patches.
It is final commit in watcher-multi-datasource blueprint.
Partially-Implements: blueprint watcher-multi-datasource
Change-Id: I25b4cb0e1b85379ff0c4da9d0c1474380d75ce3a
2018-02-05 11:08:48 +00:00
Zuul
cb8d1a98d6
Merge "Fix get_compute_node_by_hostname in nova_helper"
2018-02-05 06:47:10 +00:00
Hidekazu Nakamura
f32252d510
Fix get_compute_node_by_hostname in nova_helper
...
If hostname is different from uuid in Compute CDM,
get_compute_node_by_hostname method returns empty.
This patch set fixes to return a compute node even if hostname
is different from uuid.
Change-Id: I6cbc0be1a79cc238f480caed9adb8dc31256754a
Closes-Bug: #1746162
2018-02-02 14:26:20 +09:00
Zuul
892c766ac4
Merge "Fixed AttributeError in storage_model"
2018-01-31 13:58:53 +00:00
Zuul
63a3fd84ae
Merge "Remove redundant import alias"
2018-01-31 12:45:21 +00:00
Zuul
287ace1dcc
Merge "Update zone_migration comment"
2018-01-31 06:14:15 +00:00
licanwei
f24744c910
Fixed AttributeError in storage_model
...
self.audit.scope should be self.audit_scope
Closes-Bug: #1746191
Change-Id: I0cce165a2bc1afd4c9e09c51e4d3250ee70d3705
2018-01-30 00:32:19 -08:00
Hidekazu Nakamura
d3f23795f5
Update zone_migration comment
...
This patch updates zone_migration comment for document and
removes unnecessary TODO.
Change-Id: Ib1eadad6496fe202e406108f432349c82696ea88
2018-01-29 17:48:48 +09:00
OpenStack Proposal Bot
71e979cae0
Imported Translations from Zanata
...
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: Ie34aafe6d9b54bb97469844d21de38d7c6249031
2018-01-28 07:16:20 +00:00
Luong Anh Tuan
6edfd34a53
Remove redundant import alias
...
This patch remove redundant import aliases and add pep8 hacking function
to check no redundant import aliases.
Co-Authored-By: Dao Cong Tien <tiendc@vn.fujitsu.com >
Change-Id: I3207cb9f0eb4b4a029b7e822b9c59cf48d1e0f9d
Closes-Bug: #1745527
2018-01-26 09:11:43 +07:00
Alexander Chadin
0c8c32e69e
Fix strategy state
...
Change-Id: I003bb3b41aac69cc40a847f52a50c7bc4cc8d020
2018-01-25 15:41:34 +03:00
Alexander Chadin
9138b7bacb
Add datasources to strategies
...
This patch set add datasources instead of datasource.
Change-Id: I94f17ae3a0b6a8990293dc9e33be1a2bd3432a14
2018-01-24 20:51:38 +03:00
Zuul
072822d920
Merge "Add baremetal strategy validation"
2018-01-24 14:59:14 +00:00
Zuul
f67ce8cca5
Merge "Add zone migration strategy"
2018-01-24 14:56:07 +00:00
Zuul
9e6f768263
Merge "Strategy requirements"
2018-01-24 14:53:47 +00:00
Alexander Chadin
16e7d9c13b
Add baremetal strategy validation
...
This patch set adds validation of baremetal model.
It also fixes PEP issues with storage capacity balance
strategy.
Change-Id: I53e37d91fa6c65f7c3d290747169007809100304
Depends-On: I177b443648301eb50da0da63271ecbfd9408bd4f
2018-01-24 14:35:52 +03:00
Zuul
c3536406bd
Merge "Audit scoper for storage CDM"
2018-01-24 10:57:37 +00:00
Alexander Chadin
0c66fe2e65
Strategy requirements
...
This patch set adds /state resource to strategy API
which allows to retrieve strategy requirements.
Partially-Implements: blueprint check-strategy-requirements
Change-Id: I177b443648301eb50da0da63271ecbfd9408bd4f
2018-01-24 13:39:42 +03:00
Zuul
74933bf0ba
Merge "Fix workload_stabilization unavailable nodes and instances"
2018-01-24 10:35:25 +00:00
Hidekazu Nakamura
1dae83da57
Add zone migration strategy
...
This patch adds hardware maintenance goal, efficacy and zone
migration strategy.
Change-Id: I5bfee421780233ffeea8c1539aba720ae554983d
Implements: blueprint zone-migration-strategy
2018-01-24 19:33:22 +09:00
Zuul
5ec8932182
Merge "Add storage capacity balance Strategy"
2018-01-24 10:22:25 +00:00
Alexander Chadin
701b258dc7
Fix workload_stabilization unavailable nodes and instances
...
This patch set excludes nodes and instances from auditing
if appropriate metrics aren't available.
Change-Id: I87c6c249e3962f45d082f92d7e6e0be04e101799
Closes-Bug: #1736982
2018-01-24 11:37:43 +03:00