Commit Graph

2540 Commits

Author SHA1 Message Date
Jenkins
a809b8d52c Merge "Added missing super call in DefaultApplier's init" 2015-11-27 16:36:11 +00:00
Gábor Antal
4ee06a4417 Added missing super call in DefaultApplier's init
Added the missing super() call in the DefaultApplier class
__init__() method, as it was requested.

Change-Id: I58be9671e9635d800d63480043e2e4cd752d45fd
Closes-Bug: #1520524
2015-11-27 17:25:02 +01:00
Jenkins
9d153e13a3 Merge "AMQP Channel have to be set espacially to 'watcher'" 2015-11-27 15:42:12 +00:00
David TARDIVEL
aa1b1da759 AMQP Channel have to be set espacially to 'watcher'
Default channel used is named 'openstack'. But Watcher AMQP topics are
bound to 'watcher' channel. So, on RCPClient init, we have to set
the channel name to 'watcher' for the target.

Change-Id: Ifdbb187f1ee60f898ef0340e0c037891350ce815
Closes-Bug: #1520599
2015-11-27 16:13:03 +01:00
Vincent Françoise
5f8a601c63 Updated the config sample file generation command
Following the update of the project requirements, we should now
use the oslo.config namespace of oslo.log when generating ou
Watcher config sample file.

Change-Id: I7a1f3d555534b40c041b7f042f19fae231b7e80c
Closes-Bug: #1518297
2015-11-27 15:46:49 +01:00
Vincent Françoise
eb3870a4b3 Code refactoring - Watcher Decision Engine package
This patchset is there to change the code structure.
The objective is to flatten the project file tree by merging
'api/' and 'framework/' into a single package. This also contains
some tidy ups in package naming (like using only singular nouns).

This should only affect file/folder names and their subsequent
import paths wherever they were used.

Change-Id: Ie903ba20ca5cf03b0b42efa60131d1b919b0c2c9
2015-11-26 12:06:28 +01:00
Jenkins
6e81a31bd8 Merge "Update requirements from OS Global Requirements." 2015-11-25 14:58:59 +00:00
Vincent Françoise
3a03eb930c Strategy plugins documentation
Following https://review.openstack.org/#/c/245903, this patchset
documents the implementation and integration of custom Strategies
with Watcher.

Change-Id: I573758695d67d523834f145824b6f6cfdd8997fe
2015-11-24 18:02:06 +01:00
David TARDIVEL
7c8acebcb2 Update requirements from OS Global Requirements.
Update requirements.txt and test-requirements.txt from Global Requirements
defined into openstack/requirements project (stable/liberty).

Change-Id: I9ecbf5a7fb2c38624cc4f52b13515f8af75a4889
Closes-Bug: #1513118
2015-11-24 15:56:53 +01:00
Jenkins
7c52a1448d Merge "Update configuration file sample." 2015-11-23 17:23:59 +00:00
Vincent Françoise
f8a80938ef Made Decision Engine extensible via stevedore
The objective for this is to give the ability to extend the default
set of placement algorithms (i.e. strategies) currently available
in Watcher using Stevedore.

Now, you can add your new strategy as an entry point under the
'[watcher_strategies]' section.

Change-Id: I4aecf629015e41b0389d07e47220333e50bbbe1a
2015-11-23 17:38:03 +01:00
Jean-Emile DARTOIS
827563608f Integration of Ceilometer in Watcher
In current implementation is not easy to use ceilometer.
Watcher must query metrics from the Telemetry v2 API to allow an easiest integration with OpenStack components (especially devstack).

blueprint telemetry-integration
Change-Id: Ide515472f1d160925d9f4aabf48c96dea4f6bc05
2015-11-23 15:29:28 +01:00
David TARDIVEL
b754dd0095 Update configuration file sample.
Configuration file sample must be synchronized with source code updates,
and especially with bug/1516701 fix.

Change-Id: I8773539c88340a4cde0015c7a5c7c7204a47609b
2015-11-23 12:34:42 +01:00
Jean-Emile DARTOIS
6a55914b05 Fix config loading when running the watcher-api
This regression was caused when we upgrade the version of olso.
Unfortunately this issue wasn't picked up with the unit tests as
the cmds doesn't have unit tests yet.

Error message: "watcher-api fail with NoSuchOptError: no such option:debug"

This patchset implements unit tests for:

- 'watcher-api' command
- 'watcher-db-manage' command (and sub-command)
- 'watcher-applier' command

Change-Id: I2bea8aee28dec913ebc45f2824bf474f86652642
2015-11-23 10:49:21 +01:00
Jenkins
4d2d73aa98 Merge "Avoid dividing zero" 2015-11-19 09:01:27 +00:00
Lin Yang
0e0461de74 Fix tiny typo on configuration doc
Typically the project name for the services is "service", not
"services".

Change-Id: I4414befff39663f1c205daef381d719042d938af
2015-11-18 04:08:49 +08:00
Zhenzan Zhou
a6db530c77 Avoid dividing zero
Some flavors may set disk size 0 byte, so disk_capacity may be 0.

Change-Id: I0f2cfd5ce9f64cd94e7b6ded7865384cb2b1e190
Closes-Bug: #1517033
2015-11-17 22:04:32 +08:00
Kevin_Zheng
8920fe0649 Should use watcher/common/context.py for consistency
Use watcher/common/context.py in watcher/common/service.py
for consistency

Change-Id: I0dc99e04a3e936c3da38598bd9aac469d79a793b
2015-11-17 14:32:04 +08:00
Kevin_Zheng
f7ac53c04c Update policy.py
Update watcher/openstack/common/policy.py to keep
up with other openstack components.

Change-Id: Ia6cd00363e0fbf0c72a24b3bb9bb5468e17a71e9
2015-11-17 11:32:33 +08:00
David TARDIVEL
c7e5dc5dcd Watcher notification listener is associated with an executor which integrates
the listener with a specific I/O handling framework. blocking executor should be
the default one.

Change-Id: I10431fefa5f9d4dff3f8482a38c534f1263e67e8
2015-11-14 19:23:35 +01:00
David TARDIVEL
cef629eef3 Update Rabbit MQ server configuration extract.
Change-Id: I827ca80cea9f20d326d9cc74d4cf8554a23e8fbd
2015-11-13 19:58:35 +01:00
Jenkins
2ae17a11eb Merge "Use a single command to create the 3 watcher endpoints." 2015-11-16 10:53:27 +00:00
David TARDIVEL
1fa2d93928 Use a single command to create the 3 watcher endpoints.
--internalurl, --publicurl and --adminurl options are now
mandatory for creation of service endpoints into Keystone, by
using openstack CLI.

Change-Id: Ic5da04e20931de77e747a8bace8833a1850d9dae
Closes-Bug: #1515413
2015-11-13 19:35:11 +01:00
wangxiyuan
57be02dcd2 Use i18n directly
We should use i18n directly rather than openstack/common.

Change-Id: I64d3abce4ee2747b670bc921ffbb03d76defd42c
2015-11-13 16:55:34 +08:00
unknown
0c348313a4 Use olso.log directly
As the openstack/common is deprecated, Watcher should use oslo lib
directly to run in the openstack env. So there is much work to do
with oslo. This patch fixed the log part.

Change-Id: I3145a842fe3a22b3d08fec60d180329073edd50f
2015-11-12 16:06:11 +08:00
David TARDIVEL
f763d6c608 refactoring documentation
Change-Id: I47ac167a3d96497fe4211e8a24ec97d0d32db35c
2015-10-29 17:54:58 +01:00
Jenkins
2ca823c2cd Merge "use https instead of http for doc link" 2015-10-23 10:13:21 +00:00
Jean-Emile DARTOIS
0991107850 Change stackforge to openstack, corrected some heading underlines
Change-Id: I5629e273cf13467b76d746be1a33a9e7c07f584c
2015-10-23 09:17:08 +02:00
Antoine Cabot
fc1e7f9569 use https instead of http for doc link
Change-Id: I40ddfcc15c894215d6a20918a0d920946feed99c
2015-10-23 09:14:19 +02:00
Jenkins
4f0b9d7629 Merge "consolidation of watcher" 2015-10-22 16:32:11 +00:00
Jenkins
970c9c0c64 Merge "update config file sample" 2015-10-22 16:32:08 +00:00
Jenkins
63b00e35af Merge "update documentation" 2015-10-22 16:29:32 +00:00
Antoine Cabot
7aea29fc4a update Watcher mission
Change-Id: I6ab6e3cebd14947c33989d327aa75e9b74b25059
2015-10-22 18:20:03 +02:00
Jean-Emile DARTOIS
74160c5e78 consolidation of watcher
Change-Id: I9c82ef4d8a81af98afdfc34f5ad496bcade4af6a
2015-10-22 17:04:14 +02:00
Jean-Emile DARTOIS
8c76c7fbef update config file sample
Change-Id: Ib30538514826819f09c8a2f9322bf8f00896c2eb
2015-10-22 17:01:23 +02:00
Jean-Emile DARTOIS
ed225621f9 update documentation
Change-Id: I0a3dd67587ac0c78cd9f2a77aee1fe1b917c5f4a
2015-10-22 17:01:02 +02:00
Jean-Emile DARTOIS
77fcefbfbb fix dependencies version
Change-Id: I5fc4b3e8193232379a6aa2b6cc4ef6457f0a6ef1
2015-10-22 16:34:14 +02:00
David TARDIVEL
38d7fcdc68 Documention fixes
Replace HTTP bad links on README.rst file.

Change-Id: I0dc1393c75c9b79aa4f4ae9f7449cf388d27c44c
2015-06-29 09:16:58 +02:00
David TARDIVEL
d14e057da1 initial version
Change-Id: I699e0ab082657880998d8618fe29eb7f56c6c661
2015-06-04 15:27:57 +02:00
OpenStack Project Creator
073c6e49cb Added .gitreview 2015-05-19 18:45:48 +00:00