chenke
c7800225f1
Increase the unit test coverage of nova_helper.py
...
Increase coverage from 61% to 86%
Change-Id: I639168108e8076b2cccc02902793d77f6e94c1a5
2018-11-16 14:43:59 +08:00
Zuul
8636770253
Merge "Remove unsuitable brackets"
2018-11-14 08:29:03 +00:00
chenke
1e8b63e6f4
Remove unsuitable brackets
...
With these brackets, the statement "raise Exception("Live migration
execution.....") in watcher/common/nova_helper.py, line 379 will never
be executed. So remove it and let the statement make sense.
Change-Id: I42a2fa0c8ffa9c84a918d432c5093470dbd80f82
2018-11-14 09:22:21 +08:00
Zuul
437a958422
Merge "To avoid ambiguity for flavor_id"
2018-11-13 06:17:42 +00:00
Zuul
99dc956681
Merge "Add cover job"
2018-11-13 04:38:53 +00:00
Zuul
3e39e421df
Merge "Imported Translations from Zanata"
2018-11-08 08:33:22 +00:00
Zuul
dab3b3c3c0
Merge "Remove redundant docstring"
2018-11-08 08:33:21 +00:00
OpenStack Proposal Bot
4c3bac142a
Imported Translations from Zanata
...
For more information about this automatic import see:
https://docs.openstack.org/i18n/latest/reviewing-translation-import.html
Change-Id: I20bb708e682551f355cdb38d25f19c7f36ab1ea5
2018-11-08 06:11:23 +00:00
chenke
b6c24ed49b
To avoid ambiguity for flavor_id
...
Change-Id: I34f5281be868a48e64f2e582f28c2b260b0862a1
2018-11-08 11:40:42 +08:00
Zuul
cf31b7fb34
Merge "Fix accessing to optional cinder pool attributes"
2018-11-08 01:14:04 +00:00
Zuul
7118545e97
Merge "Add detailed unit test documentation for watcher"
2018-11-07 11:58:35 +00:00
Tatiana Kholkina
e8c08e2abb
Fix accessing to optional cinder pool attributes
...
Leave storage pool arguments empty if they are not provided
by cinderclient.
Change-Id: I90435146b33465c8eef95a6104e53285f785b014
Closes-Bug: #1800468
2018-11-07 08:31:55 +00:00
Nguyen Hai Truong
e4d4a262cd
Add cover job
...
Insert python coverage job for py-test.
Change-Id: I0811600b2c7fd7e5941fa4a30e7212b536b927cc
2018-11-06 22:27:33 -08:00
Zuul
7c1aeef8cc
Merge "Adjust the same format as above"
2018-11-07 03:20:50 +00:00
Tatiana Kholkina
456ce5a9e0
Remove redundant docstring
...
The method is quite simple and it doesn't need a dostring.
Also existing docstring was incorrect. The name of the expected
parameter is 'name', not 'node'. And it cannot be an object
of the type node.StorageNode
Change-Id: I94124d327c490d45eae4d2ded218beadfbc33ad7
2018-11-06 16:38:11 +03:00
licanwei
8a3d9fc4b2
optimize get_instances_by_node
...
We can set host filed in search_opts.
refer to:
https://developer.openstack.org/api-ref/compute/?expanded=list-servers-detail#list-servers
Change-Id: I36b27167d7223f3bf6bb05995210af41ad01fc6d
2018-11-06 13:25:34 +00:00
chenke
701a248324
Adjust the same format as above
...
Change-Id: I98f6e052c6c37b9756e9bc7750306c8ce821f387
2018-11-06 20:37:59 +08:00
Alexander Chadin
a9393ef29a
Make watcherclient-tempest-functional test non-voting
...
Change-Id: I1ec4d50e944f8684d72284173ca96557074c6285
2018-11-06 13:38:26 +03:00
chenke
d6dc5675e3
Add detailed unit test documentation for watcher
...
Change-Id: Ife4771707223351a84941b462d853c5e49ff55a5
2018-11-06 11:34:11 +08:00
Zuul
59cae3268e
Merge "update datamodel by nova notifications"
2018-11-02 08:50:05 +00:00
Zuul
ffd67c37e6
Merge "Fix parameter type for cinder pool"
2018-11-02 03:23:57 +00:00
Tatiana Kholkina
34523ec285
Fix parameter type for cinder pool
...
The correct type of parameter 'pool' in method build_storage_pool is
<class 'cinderclient.v2.pools.Pool'>
Change-Id: I986f707e4e740ebec94a46c6ee413f9a70197dad
2018-11-01 10:47:47 +03:00
licanwei
a8eed9fc4c
update datamodel by nova notifications
...
Change-Id: Ib2676d6e69eb07644beae66bde22d308bbb836f1
Implements: blueprint update-datamodel-by-nova-notifications
2018-11-01 03:07:23 +00:00
Zuul
3c9a4f86b1
Merge "API Microversioning"
2018-10-31 13:05:51 +00:00
Zuul
e2338b00d0
Merge "add start and end time for continuous audit"
2018-10-31 13:05:50 +00:00
Zuul
1159e0a2ce
Merge "remove set_host_offline"
2018-10-29 11:49:39 +00:00
Zuul
22cfd16354
Merge "Add efficacy indicators for workload_stabilization strategy"
2018-10-29 11:46:48 +00:00
Alexander Chadin
c4a30153f1
API Microversioning
...
This patch set adds API microversion support along
with the first API microversion: start/end time for
CONTINUOUS audits.
APIImpact
Implements: blueprint api-microversioning
Depends-On: I6bb838d777b2c7aa799a70485980e5dc87838456
Change-Id: I17309d80b637f02bc5e6d33294472e02add88f86
2018-10-29 08:45:32 +00:00
Zuul
754674cab2
Merge "Fix oslo_versionedobjects warnings"
2018-10-26 06:27:50 +00:00
Zuul
aa6eac446b
Merge "Don't need nova notifications"
2018-10-25 13:18:39 +00:00
licanwei
f9fe6659db
remove set_host_offline
...
change_node_power_state action can be used to make a host offline.
set_host_offline never be used and the Nova os-hosts API is deprecated.
So remove it
https://developer.openstack.org/api-ref/compute/?expanded=update-host-status-detail#hosts-os-hosts-deprecated
Change-Id: I5f81fc9e2189db39b143d2935540d637bd2d88cc
2018-10-25 19:02:26 +08:00
licanwei
cbaf38519e
Watcher doesn't need paramiko
...
Change-Id: I46a1df82b2b7e4051f1a844ad17d1afa758a1fcb
2018-10-24 16:07:09 +08:00
licanwei
93890fb290
Don't need nova notifications
...
Now we have removed nova legacy notifications in Watcher
and just consume nova versioned notifications,
we don't need notification config in nova.conf
Change-Id: I1c9c141d98d858c36ad8bb7be0b95c38ff1d5752
2018-10-24 14:41:41 +08:00
Zuul
938bd336ca
Merge "Add framework for watcher-status upgrade check"
2018-10-24 03:39:42 +00:00
Alexander Chadin
62b9282b1e
Fix oslo_versionedobjects warnings
...
This patch set fixes warnings regarding invalid UUIDs and
static_root.
Change-Id: Icb0bbca9c05ee97ea9947a31db5e87b7837e42d0
2018-10-23 17:16:50 +03:00
Zuul
d1f946e121
Merge "Use limit -1 for nova servers list"
2018-10-22 10:47:31 +00:00
akhiljain23
d621f72730
Add framework for watcher-status upgrade check
...
This commit adds the functionality of watcher-status CLI for performing
upgrade checks as part of the Stein cycle upgrade-checkers goal.
It only includes a sample check which must be replaced by real checks in
future.
Change-Id: Ic3d066af439797d6f705e805334f729b52ce3aac
Story: 2003657
Task: 26164
2018-10-22 13:51:56 +05:30
Zuul
80754b80cb
Merge "Update documentation regarding DataSource for strategies"
2018-10-17 15:49:40 +00:00
Zuul
133bd3ca69
Merge "Don't quote {posargs} in tox.ini"
2018-10-17 08:46:06 +00:00
Alexander Chadin
7c9a856918
Update documentation regarding DataSource for strategies
...
Change-Id: Ifc82fc06858a4e5a2badef074cd6bb5ce4e216cb
2018-10-16 13:33:24 +03:00
Tatiana Kholkina
e5386aa745
Use limit -1 for nova servers list
...
By default nova has a limit for returned items in a single response [1].
We should pass limit=-1 to get all items.
[1] https://docs.openstack.org/nova/rocky/configuration/config.html
Change-Id: I1fabd909c4c0356ef5fcb7c51718fb4513e6befa
2018-10-16 11:13:49 +03:00
licanwei
b69fc584d8
tenant_id should be project_id in instance element
...
Change-Id: I4e8d35b5dbf62df2c653defb223aca7ec5032e3e
2018-10-12 16:40:09 +08:00
licanwei
c2550e534e
add start and end time for continuous audit
...
Add new start_time and end_time fields in the audit table
Partially Implements: blueprint add-start-end-time-for-continuous-audit
Change-Id: I6bb838d777b2c7aa799a70485980e5dc87838456
2018-10-12 11:21:17 +03:00
Dao Cong Tien
f41adc7e8b
Remove uses of rpc_backend (oslo_config)
...
As rpc_backend config option has been removed from
oslo_config [1], projects should not use it.
Current uses of it cause watcher crash when installing
via devstack.
[1] https://review.openstack.org/#/c/580910/
Change-Id: Iba7471e87e8935f1ea02b363f269e9debdc7cc71
2018-10-10 05:21:31 +00:00
98k
a073c42a9d
Don't quote {posargs} in tox.ini
...
Quotes around {posargs} cause the entire string to be combined into one
arg that gets passed to stestr. This prevents passing multiple args
(e.g. '--concurrency=16 some-regex')
Change-Id: I0371fc2c0878a177c0a9e9c9313ca5b8470bfd98
2018-10-09 21:34:51 +00:00
Zuul
05055b7064
Merge "Fix audit creation with named goal and strategy"
2018-10-05 09:34:05 +00:00
Tatiana Kholkina
f0b96b8a37
Do not pass www_authenticate_uri to RequestContext
...
Change-Id: I0ee32031d714608c33643b12b1e217a04157f5b3
Closes-Bug: #1795613
2018-10-03 12:21:55 +03:00
Zuul
59cadfd2ea
Merge "remove nova legacy notifications"
2018-09-30 02:39:07 +00:00
licanwei
5265b06a9b
remove nova legacy notifications
...
http://lists.openstack.org/pipermail/openstack-dev/2018-August/133071.html
Closes-Bug: #1793048
Change-Id: Id591c8979fd4a6bda674588060eaf51386d937cb
2018-09-30 09:03:00 +08:00
Alexander Chadin
bb2f6d230c
Fix link to Watcher API
...
Change-Id: I64f234257043d8fe2b7932f3b8ddbd01d63957f1
Closes-Bug: #1769084
2018-09-25 16:52:04 +03:00