29 Commits

Author SHA1 Message Date
grace.yu
899be8691c Add health check feature to Compass
Implement health check feature for Compass by Rally. User is able to
check health by sending request after the cluster is deployed successfully.

blueprint rally-acceptance-test

Change-Id: If445ad3a97156bde3b623552d77bf186931b556b
2015-02-03 11:51:43 -08:00
xiaodongwang
dc7272bdf0 make login duration based on the last active request
Closes-Bug: 1395420

Change-Id: Ib3963f2a4a5653f168e868afc79e8dc0ab40392c
2014-12-01 20:45:33 +00:00
xiaodongwang
03a25013d5 refactor delete cluster code to make it clean
Change-Id: I60264674d51151f70986182c8edac9314ce459f7
2014-11-20 05:09:44 +00:00
xiaodongwang
a8b54b2258 delete cluster and set cluster_id in chef server env
Change-Id: I33b7d978a0f2cfabd1a6e3b0177dfec059dc9666
2014-10-25 11:57:14 -07:00
xiaodongwang
97ab3abb39 fix api bugs which are not used in UI
Change-Id: Ia4c719dda4ff47e31e22b0ce7c5744e8b5088670
2014-10-19 20:38:04 -07:00
xiaodongwang
92cda5aa90 fix patch not work bug and add default noproxy
Change-Id: I52b7bc06ccd61d28189821c1d1d301aed58648b8
2014-10-07 12:00:37 -07:00
xiaodongwang
0c94e34af4 ignore some unnecessary fields and refact switch filter code
Change-Id: I75313f3d53f512334496b096fac042019eccd670
2014-09-18 23:41:04 +00:00
xiaodongwang
a7a1fec019 change networks format from list to dict
Change-Id: I765be481a057824b2705c55da6adfde97da97e15
2014-09-05 20:56:03 -07:00
Weidong Shao
37411ed68e Update deployment code to improve debugging
Add some logging for deploy celery task and chef_installer
environment update.

- Fix a bug in chef databag updating logic (missing .tmpl file
  extension in the file path)
- Temporarily comment out databag update due to template mis-config.
- Rename the OpenStack Icehouse flavor config values
  (to fix the mismatch of template names)

Change-Id: I856f7896156158f1c4f5a4cd654c8c93213a2879
2014-09-02 15:43:41 +00:00
xiaodongwang
54a7bf9d09 add proxy suuport and partial success into api
Change-Id: I167d57bfeac1805a2b4bb26f9de52d0ccceeba2b
2014-08-25 11:34:44 -07:00
xiaodongwang
f422ccaee0 add bulk edit hosts api
Change-Id: Ice232add328e8739e733e6775f871b6b4ca3ac1b
2014-08-19 22:38:44 -07:00
xiaodongwang
359f20489e add flavor support
Change-Id: I9dd49c4302c7b1a82a88f08e2d1b439bb26176bf
2014-08-14 22:58:27 -07:00
xiaodongwang
21cc07bed3 update host state when updating clusterhost state.
Change-Id: I9c208870de9cc6e6dd8310c32455a951b1f09585
2014-08-05 23:45:42 -07:00
xiaodongwang
d945029151 update api code
Change-Id: I70e7636cdfcbc5c5195e5a91b5cc7a401b6c9d72
2014-07-31 16:13:53 -07:00
xiaodongwang
e8055850a1 change adapter code
Change-Id: Id5709d8ac723b31596ec97cf251ef09f343372c6
2014-07-27 01:12:13 -07:00
xiaodongwang
35d18ba688 refact api code to make it more clean
Change-Id: I4e520bd55c0a4b1df67bc8c68681437e71e310e6
2014-07-23 16:09:15 -07:00
xiaodongwang
ffed509623 update apiv2 code
Change-Id: I30057083bd29f2324f1ad4c0be34b60b696db2c6
2014-07-22 11:51:30 -07:00
graceyu08
1ef039fca3 add api and db to compass-core
Change-Id: Ic5219943f52848b4e8554023bce21fa1588b27a6
2014-06-02 14:22:11 -07:00
Weidong Shao
bb479aef24 Add initial directory for new API 2014-05-22 21:05:39 +00:00
grace.yu
4c69d120cd Add initial code for user authentication
Change-Id: Ie0c439244f1ae3af707b73ef64b1a411c2aede20
2014-04-14 18:13:04 -07:00
grace.yu
65d9d18c74 Fixed hdsdiscover utils.py bug and updated networking validation
Change-Id: I44488ed2f52f3c1fe9a56050e383176d117ca97f
2014-03-24 17:13:17 -07:00
xiaodongwang
ece0a3e936 add code to match new pep8 style checking and fix bugs.
Change-Id: Id5fd48b8149d3934e4854366e59475f37624ec24
2014-03-11 01:26:42 +00:00
xiaodongwang
7f080e4e51 fix pep8 warning and move major util code from bin to compass dir.
Change-Id: I7baa536888db1ca46cadcdf07ef9cc0a1a3a12fb
2014-02-19 22:25:45 -08:00
grace.yu
5a99dd5076 Update API and add more unit tests
Support to export DB data to CSV files by API
Update 'deploy' action API

Change-Id: Ia6581311ec9a8c1b912b867caf920afe1eb4ff84
2014-02-19 14:13:56 -08:00
grace.yu
4db268c7c4 Updated API and tests
Supported get clusters by querying deploy state
Fixed warning message "baseException.message deprecated in Python 2.6"
Add tests for modified API
Fixed one string concatenation bug
Change-Id: Ifec3854c286929b69bd689407b4ac409f520fac6
2014-02-06 14:30:11 -08:00
grace.yu
9c54d45803 Update API
Change-Id: I9fa5660321cae7312f63ce359d67d9f9276e4d72
2014-01-31 16:00:13 -08:00
grace.yu
12772e95cb Update API, polling_switch and db model
Support filter ports in machines query API
Update polling_switch and db model
Add one more state for switch in model

Change-Id: I0c581ebbfb3c83a84e8af25a02fce2f1c76aff11
2014-01-24 17:47:39 -08:00
grace.yu
b49f814505 Update hdsdiscovery and API
Support pica8 as vendor in hdsdiscovery
Update API and db model
Add more testing

Change-Id: I2a02f25d030967b0b83a16bb24741f2e7a48d46c
2014-01-23 18:11:56 -08:00
syang
cf67d3ad47 Migrate repo of 'compass' to repo of 'compass-core', leave 'compass' to host project homepage 2014-01-08 19:18:04 -08:00