Xicheng Chang
34e734f474
Revert "Merge "fix compasss.sh""
...
This reverts commit 35472d1f15
, reversing
changes made to 5a929be775
.
Change-Id: Ie5f2f92473489bb5be981b97e17597e91ff1cbf9
2017-01-03 12:08:01 -08:00
Xicheng Chang
0e61a12c76
Make compass work on both remote and local install.
...
Change-Id: I7a9b03bcf5fa6e2a4686a4e2a68dbcc2654cb93d
2016-09-14 11:33:20 -07:00
Xicheng Chang
0b8659d790
enable remote-deploy
...
Change-Id: I44177e7f212a7f6f3c76ebed49574e4d537bcd8f
2016-07-06 14:36:35 -04:00
baigk
e557d06fd4
bugfix install compass onto centos7
...
1. change mariadb to mysql
2. delete the "exit 0" in cobbler.sh
3. enable rabbitmq service in dependency.sh
Change-Id: I56ac94460c772edd54b0ee6e28392964aa5aa582
Signed-off-by: baigk <baiguoku@huawei.com>
2015-12-19 15:13:07 +08:00
Xicheng Chang
de164df670
Support install.sh for installing compass onto centos7
...
Change-Id: I2f652482ff112624d82cdca26a14ac3f83dd5045
2015-12-18 16:37:19 -08:00
baigk
47d8d49133
Merge branch " https://github.com/baigk/compass-core.git into dev/opnfv
...
Change-Id: Ie2be5756f0c425a5d40e3092f52f245709fccbf3
Signed-off-by: baigk <baiguoku@huawei.com>
2015-11-18 17:32:25 -08:00
xiaodongwang
14ad281057
move adapter from db to memory
...
Change-Id: I366052e23d72dd94229513d6a0992338d0d44638
2015-08-04 10:45:24 -07:00
Xicheng Chang
c946aeb254
Update Readme
...
Change-Id: I0bdd1808fce344156f2791e38832122a9aad30f0
2015-06-29 11:26:01 -07:00
Xicheng Chang
3d4e5d0af6
Changed ansible directory structure
...
Moved roles to the parent directory
so that different adapters don't have
to have duplicated roles in their
respective paths.
patch2: fix some code to follow new pep8 standards.
Change-Id: I748c1730be8045c1cb83f91eaa9f0f551cd20a6f
2015-05-22 17:06:47 -07:00
xiaodongwang
a18bdbf92b
update cluster state to error when deployment fails
...
Change-Id: I54fb25d6151679118cf648b5c2192d56f7d95957
2015-04-29 23:40:00 -07:00
Xicheng Chang
3a0c895920
Use template to generate ansible.cfg instead of writing files
...
1. add removing ansible run env in refresh.sh
2. update ansible_installer.py for generate ansible.cfg
Change-Id: I5da9cec07f063a4879262f7a726270439031ec1d
2015-04-22 18:17:42 -07:00
Xicheng Chang
5d5ad29ec1
Add ansible callback plugins to report cluster states back.
...
you need to specify the callback plugin path in ansible.cfg
before running ansible-playbook. will add ansible.cfg related
config template in a separate CL.
Change-Id: I5f933970e7409aaf485d502998262d9d18ac5c44
2015-04-21 12:52:14 -07:00
Xicheng Chang
625b8264a7
Fix some bugs in client.py
...
Change-Id: I4024ea4b8aaf04e00c180fc2510c3f3fe12033b5
2015-04-15 16:36:01 -07:00
xiaodongwang
ae58e8e4e5
make refresh call sync function to wait action finish
...
Change-Id: I3c67b110d572ff6a4fc80250214790e82362a7ed
2015-02-09 17:00:22 -08:00
Lei Lei
913b04b7f9
Passing user variable as kwarg.
...
Change-Id: Idc8f995715c032b4a57a763e336ac512afce3c81
2015-02-05 15:58:19 -08:00
xiaodongwang
03a25013d5
refactor delete cluster code to make it clean
...
Change-Id: I60264674d51151f70986182c8edac9314ce459f7
2014-11-20 05:09:44 +00:00
xiaodongwang
fd41871603
kill redis server before restart redis
...
remove force download local repo
enable compass check
Change-Id: I6d0682fe027f283d194e7173215618a8b75b14d4
2014-11-04 00:40:40 -08:00
xiaodongwang
ce07c3b7dc
clean installers when refresh
...
Change-Id: I86c27b0d9be0af6ef58748d97938a2df54b297c3
2014-10-30 00:21:41 -07: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
f560aa8cef
fail early when deployment action fails.
...
Change-Id: I44d6f1bc7e9d9c00f48f3c0d1daf5b482a720d1f
2014-10-13 09:21:08 -07:00
xiaodongwang
fc96f79cdb
add local repo support in regtest
...
Change-Id: I1ab9fe97ff53d072848015f2299faab645ec3d14
2014-10-06 13:42:52 -07:00
xiaodongwang
88eb112683
make init db, load adapters/metadatas lazy initialization
...
Change-Id: I7f32732a9a2a1bc9ec721dad6e0c43ceef8c5f11
2014-10-05 11:29:43 -07:00
xiaodongwang
6413d34aa7
add ubuntu os only regtest conf
...
Change-Id: Id5e72cad18cc9b864336ecc1febae23aa19e7e36
2014-09-27 23:56:05 -07:00
xiaodongwang
5b969f98cd
make compass support os only cluster
...
Change-Id: Ia6e8d1bde05822a6d8d98018ff0e3126e6a31323
2014-09-22 12:24:46 -07:00
xiaodongwang
bc79ddd5f9
add delete clusters utility script
...
Change-Id: Ic9e1a861b9cc67bfd7d6fbe98a2a9ab719c810ec
2014-09-18 23:41:33 +00:00
zhaoxinyu
c4674360ef
add regtest script and conf
...
Change-Id: Ieb82235bd6b436b6716992c1b45698b083d03d86
remove pre-existing chef files before uploading new chef files.
having legacy stale chef roles/cookbooks/databags in the knife
source directory will result in possible failure of dependency check,
so gurantee we have the latest code in that directory.
clean installation logs when refresh database.
Change-Id: I6609e90e51d8ca3560f1848f2de62e148f0c5b49
2014-09-17 11:46:07 -07:00
grace.yu
4b013f01b9
update switch state to 'under_monitoring'
...
after inserting all machines
Change-Id: If96c9a5cd67e30c60e9f0c2daabc885714c1593e
2014-09-11 16:43:35 -07:00
Jenkins
3ad84430d2
Merge "add client script to install openstack by script." into dev/experimental
2014-09-10 04:44:13 +00:00
xiaodongwang
e8efc9210d
add client script to install openstack by script.
...
Change-Id: Iab9e234050c602211258f76e328a69a53d1c173c
2014-09-09 16:32:51 -07:00
xiaodongwang
37a334a7b7
clean cobbler and chef when refresh
...
Change-Id: I15d24c3e8b08956710de4c86083def4dd55cf0cf
2014-09-08 11:55:50 -07:00
xiaodongwang
cc0274c7ab
restart mysqld when refresh
...
Change-Id: I0a0b5d2cde85523ea77aa457606f05f54d9f523b
2014-09-07 10:35:10 -07:00
xiaodongwang
9a51828a87
make our utility script switch to virtual env before running.
...
Change-Id: I76a214a81e72d08b3d00704b78e92b450943ddc4
2014-09-05 13:16:47 -07:00
xiaodongwang
28451394e4
update log analyzor code and fix some api bug.
...
Change-Id: I1247cd89e4dc44559016451e509e55f0541de480
2014-08-29 14:27:36 -07:00
xiaodongwang
359f20489e
add flavor support
...
Change-Id: I9dd49c4302c7b1a82a88f08e2d1b439bb26176bf
2014-08-14 22:58:27 -07:00
xiaodongwang
9b1ca0ae9d
/var/chef/roles file suffix changed.
...
Change-Id: I1f4e4923984e69509cb6d4d884f01fcc09799513
2014-08-07 16:59:47 -07:00
zhaoxinyu
d9d3a65518
make refresh.sh exit on errors
...
Change-Id: Ief301c621994fa00a9333d604b4d38a347778d8c
2014-08-06 18:28:26 -07:00
zhaoxinyu
a044f9f3c5
Install Compass in virtual env
...
Create virtualenv for compass, point compass site packages to virtualenv,
make virtualenv accessable for apache.
Change compass executable scripts to use python in env to be virtualenv
compatible.
Make progress_update daemon use virtualenv.
Comment out some health checks that use packages not available to pip, eg,
yum, apt since we have other ways to check packages any way.
Conflicts:
conf/compassd
install/compass.sh
install/dependency.sh
install/prepare.sh
misc/apache/compass.wsgi
requirements.txt
Change-Id: Ib48633601bf238ffc660c4694834897edbe45e07
2014-07-31 19:50:49 -07:00
xiaodongwang
d945029151
update api code
...
Change-Id: I70e7636cdfcbc5c5195e5a91b5cc7a401b6c9d72
2014-07-31 16:13:53 -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
xiaodongwang
36a7843d6d
support testmode in chef
...
Change-Id: I9c43ff2aaf3ae96aa4ef826e0a0caddffffbaba2
2014-04-18 18:19:03 +00:00
grace.yu
4c69d120cd
Add initial code for user authentication
...
Change-Id: Ie0c439244f1ae3af707b73ef64b1a411c2aede20
2014-04-14 18:13:04 -07:00
zhaoxinyu
0deff5f1fe
Set number of poll switch retries to 5
...
Take number of retries into account, set default to 5.
Change-Id: I820074d87b9e82a6b51cc63ecc70d0cc179a244c
2014-04-09 03:44:29 +00:00
xiaodongwang
8065a459ff
add option to ignore poll switches by env variable USE_POLL_SWITCHES
...
Change-Id: I9c7f4fef481314a8616ddb89b0da7fec0a6797c9
2014-04-08 16:55:30 -07:00
zhaoxinyu
a60b5d2ccd
Change some static values to dynamic and add minimal test config
...
Also fixed some typos and add teardown after test
Change-Id: If279d8c59d32a6eef0e6dded726ead99d4c644e6
2014-04-05 03:39:03 +00:00
xiaodongwang
74f1bc08a4
add regtest framework
...
Change-Id: Iee78d5445f1c8e2687e527d3505a191074d69776
2014-04-02 15:07:45 -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
Weidong Shao
6fea8d4b01
Add a utility command to add switch(es) and retrieve attached server information.
...
Change-Id: Idcd3362cb5ec4529c9247b41ce55d6950e9120fa
2014-02-25 20:10:22 +00:00
grace.yu
7c4ef4a0d6
Add suppport for CSV import and deployment
...
also add tow packages to requirements.txt and test-requirements.txt.
Change-Id: I591e3958b4897537f9dba8c0ab38e7fe0159f11f
2014-02-21 15:29:50 -08:00