Commit Graph

817 Commits

Author SHA1 Message Date
OpenDev Sysadmins 8f6419693a OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:51:56 +00:00
Andreas Jaeger 20daf3a4d3 Remove unused linters tox target
This is not needed anymore, remove it.

Change-Id: I5a163f8d7b4efab345156ed3f8aa0f4d8b01c2ea
2017-07-02 12:51:26 +02:00
Andreas Jaeger b480383729 Sync requirements
Manual sync with global requirements file to use current python
packages.

To reproduce, run from requirements repo:
update-requirements -v -H -s ../terracotta

Change-Id: I0daab86cfc223b4d0ff1c7fae9ab3492c4613042
2017-07-02 12:51:15 +02:00
Andreas Jaeger a1c8b14e6a Remove openstackdocstheme
This repo is not using openstackdocstheme, remove from
test-requirements.txt.

Also update hacking requirement and remove extra flake8 requires,
hacking requires flake8 - this is needed for passing tests.

Change-Id: I2ae3cb4fcc1f0c8a1200bc624d1904f908a9c2b6
2017-07-02 12:48:55 +02:00
liusheng 23476404c4 Fix the wrong i18n domain definition
Change-Id: Ie139524a843f0751defb3a0783d61348f3e0a41e
2016-03-24 10:01:17 +08:00
Andreas Jaeger 15a9334518 Make pep8 *the* linting interface
According to the PTI (=Python Test Interface,
http://governance.openstack.org/reference/cti/python_cti.html), pep8
is the interface for codestyle checks. Move all tests from linters to
pep8.

This change will be followed by a change to project-config to use pep8
for testing in the gate.

Needed-By: I8d83c049165cfffd165b2e83b2ed37c1407849e3
Change-Id: Iab513d7f3a087ff7042be5cf00be4a4d2677e2cd
2016-02-10 22:27:08 +01:00
liusheng 977b5d1e7d Use oslo-config-generator to sync config file
Keep consistent with other projects.

Change-Id: Id9639050fe9cf90b963165d3421f603e912be276
2016-02-06 09:43:27 +08:00
liusheng 908cbc3216 Clean the unused files of the obsolete oslo-incubator
blueprint refactoring-terracotta-as-per-requires-of-openstack-project
Change-Id: I203fa1de80767257c1c680717e524b91d970b6d4
2016-02-04 09:46:30 +00:00
Jenkins 58d1009f5c Merge "Use oslo.service" 2016-02-04 09:23:54 +00:00
wangxiyuan 441bb5560d Use oslo-config-generator to sync config file
Make terracotta support oslo-config-generator.

Change-Id: I68ce58f95dda5cc5fb19136f0d9109460885b8db
2016-02-04 17:05:18 +08:00
liusheng 2a80e4d9d0 Use oslo.service
blueprint refactoring-terracotta-as-per-requires-of-openstack-project
Change-Id: Ia1f15be9f82a8c5c425c9d0ea917a082d848bda7
2016-02-04 16:55:58 +08:00
Kevin_Zheng 70fc4850d0 fix tox
Change-Id: I3f77424c3d41fb21b9d562ee1bb82ea0e869b773
2016-02-04 14:21:40 +08:00
Kevin_Zheng feaa33b8c4 Make changes for jenkins jobs
Change-Id: I769216fc1c11e2bad33437ed116d637bda94f201
2016-02-02 14:18:39 +08:00
Jenkins c8bba0fafb Merge "Add context to make api working" 2016-01-18 07:14:27 +00:00
Kevin_Zheng 874b9ec081 Trival fix a collector bug
Trival fix of a collector bug.

Change-Id: Ic993b3b90e1f7d67cfd75558046733b14a087739
2016-01-08 15:18:25 +08:00
Kevin_Zheng 2774b93d6a Add context to make api working
Add context to make api working.

Change-Id: Iedf92706cc1fbc624035d6b99050df79d8fda328
Implements: blueprint refactoring-terracotta-as-per-requires-of-openstack-project
2016-01-08 06:17:02 +00:00
Kevin_Zheng f158a2e5de Fix bugs in global manager to make it running.
We use oslo_config now, it will transform a string of
host names seperated using comma to a list of strings,
so the previous common.parse_compute_hosts causes
error and should be removed.

Change-Id: Icce103f0e0553f3c3d1d96184d6b0eb37c87eb72
Implementes: blueprint refactoring-terracotta-as-per-requires-of-openstack-project
2016-01-07 12:07:36 +08:00
Jenkins bce6704e95 Merge "Update README.md for Terracotta" 2016-01-07 01:24:33 +00:00
Kevin_Zheng 8194118843 Fix bugs in load config options
The config options in DEFAULT section  are not registered
before use.

This patch also fixed the order of import to avoid pep8 failure.

Change-Id: Iadde365d5bac235423bbe9b3d9f72df11f32e30d
Implements: blueprint refactoring-terracotta-as-per-requires-of-openstack-project
2016-01-06 19:53:43 +08:00
wanghao df8a3efc71 Update README.md for Terracotta
Update the README.md to make the objective of
this project more clear.

Implements: blueprint
refactoring-terracotta-as-per-requires-of-openstack-project

Change-Id: If1a52b9ce86780462224214cb3b2f4a504d84f54
2016-01-06 17:43:07 +08:00
Jenkins 887a7d155e Merge "Add launch script for each service" 2016-01-06 08:53:29 +00:00
Kevin_Zheng 3541df20a7 Add launch script for each service
Separate launch script for each terracotta service
as they meant to be running on different hosts.
It will be also better for developing and tests.

Change-Id: I6ec8a8c97e9e045a2b1d3fd143e99ace2fe56f62
2016-01-06 16:40:15 +08:00
Kevin_Zheng a7b7c86738 Use oslo_messaging instead of oslo.messaging
Import oslo_messaging instead of from oslo import
messaging to make api launch correctly.

Change-Id: Icfab7187c23f75341878946c45aa2860d8f6d4d4
2016-01-04 19:21:05 +08:00
Jeremy Stanley 73a818e55f Update .gitreview for new namespace
Change-Id: If6c3f03ea1c84e696907d13daca8478c62e0798e
2015-10-17 22:41:13 +00:00
LingxianKong 8ed471cd59 Modify the readme.md
Change-Id: I0f8bd7d036a8dfb01b187b3b9323c645c4f02714
2015-05-30 09:19:39 +08:00
LingxianKong a090881fbf Make local manager work
Change-Id: I3d084fed2442ec435a0ced85945f43d28af98fe9
2015-05-12 21:29:43 +08:00
LingxianKong e7a701446b refactor-at-the-very-early-age
Change-Id: I327d1d646cae065896ad2caa40b68a951f9405ee
2015-05-08 16:53:30 +08:00
wanghao dbb69e5e51 Resolve the db api confilct against master
Change-Id: I29d077122b345fec09913bb2b640ba6aacce4cc3
2015-05-08 16:05:44 +08:00
wanghao 7fb1df7d04 Add resource DB model definition
Add models:
1.Host
2.HostResourceUsage
3.VM
4.VmResourceUsage
5.VmMigration
6.HostState
7.HostOverload

Change-Id: Icfa44e9eb74961e0db12d46b5907f7126d22abf2
2015-05-07 20:38:13 +08:00
wanghao 219d6c1b23 Add sqlalchemy support to db
Add sqlalchemy support to db

Change-Id: Ibea0b3d71f05dbcd59311baa2e78b69bae616663
2015-05-06 17:55:39 +08:00
Jenkins 03e384689c Merge "Refactor db operstaions for terracotta" 2015-05-06 09:45:21 +00:00
Jenkins f009826949 Merge "Fix_config_invoke" 2015-05-06 09:41:42 +00:00
wangxiyuan c9ff9c3750 Fix_config_invoke
fix some invoke error in terracotta.and adjust structure of
the config file

Change-Id: I18fdec5976a77e0d6b059fad7ecd5e55582247e0
2015-05-06 17:20:18 +08:00
LingxianKong 04cea053bd Fix method invoking way in Collector instance
We should use self.func() instead of func()

Change-Id: I9a22491b3abb7f3f1870d548b8704de5ec797888
2015-05-06 16:13:33 +08:00
Jenkins 1c2c083ef8 Merge "Fix config items in project" 2015-05-05 05:15:37 +00:00
LingxianKong 1916ff862a Refactor
Change-Id: I8fc0018f57563e9ae0becd5c4be56a9ee16023d2
2015-05-05 13:12:07 +08:00
wangxiyuan af556495d0 Fix config items in project
Fix some bug in config.py and remote some useless format
transformation.

Change-Id: Ice5a52523fe594436f299278b77ccfa8083ca034
2015-05-05 12:17:11 +08:00
LingxianKong c402b72d2f Remove contract package dependency
Change-Id: I16f8430289447575b4c22b809a7a7da6521f2db8
2015-05-05 12:10:48 +08:00
wangxiyuan b135bb8e7c Refactor the config file
We should use oslo.config instead of the old one.This patch complete
the config file:config.py

Change-Id: Id47324d06370a96edaadeead7e8b9608acd15c4f
2015-05-05 08:55:46 +08:00
wanghao fb66e85380 Refactor db operstaions for terracotta
Add db adstraction api for db operstaions and using
sqlalchemy to implement ORM.

Change-Id: Ie72942c96ccdab378a48b8f593f66b5c346a82d2
2015-05-04 17:51:29 +08:00
LingxianKong 4699a0a0e9 Update package requirement
Change-Id: I658c4ab6c0d5f035a908617950bc00f0a8ca77b2
2015-05-04 17:37:20 +08:00
LingxianKong f8391cc9fd Remove PyContracts dependency
Change-Id: I74e73a13e7efa53086bfdcfa997b115e99a13905
2015-05-04 17:27:26 +08:00
LingxianKong 7e9c515ac7 Add openstack common dir
Change-Id: I46bf75319b0ab2ceb6fa055a321d3a3e84bb5d89
2015-05-04 16:53:39 +08:00
LingxianKong d1877662a4 Refactor api service
Change-Id: Id77ce5b6e4225a7fe6554575ae899ac7fd86a00b
2015-05-04 16:40:32 +08:00
kong 45b10f82ec Refactor collector service
Change-Id: I6d5cbfa89d9e52e2be31eba2f509062a565e4ecd
2015-05-03 23:43:59 +08:00
kong b58b966f50 Refactor local manager
Change-Id: I1d17780079b2c08f3436c32b9e3bad44ddbc0eb9
2015-05-03 00:00:13 +08:00
kong 149b1ca0f7 Refactor global manager
Change-Id: I9e3fa343e9974576f816c5d4f625064b304969fa
2015-05-01 23:58:06 +08:00
LingxianKong 1d285abb17 Refactor the whole project structure to make it OpenStack-Style
Change-Id: Ideb01dfa0b011143bf301b35e28791b834c598f6
2015-04-30 17:24:40 +08:00
Jenkins 4edb23ef27 Merge "Fix vm_by_host bug" 2015-04-29 12:49:24 +00:00
Jenkins b0c0cc78e5 Merge "Change the default value of block_migration" 2015-04-29 12:49:18 +00:00