112 Commits

Author SHA1 Message Date
grakiss
227bc55878 modify host ip to mgmt ip
add some varibles to obtain mgmt ip cidr
modify hosts ip to mgmt ip

Change-Id: I6bd10857ec3abc56b0430b33627af2dc47b6863b
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2015-12-15 08:56:39 +00:00
baigk
59566a58bf add sec-patch and ceph-osd-node role
add sec-patch and ceph-osd-node role in role config files
so that can excute expansion in openstack kilo and liberty

Change-Id: Id4084271d184b06abd31bfcf2c6878f7dee4d171
Signed-off-by: baigk <baiguoku@huawei.com>
2015-12-12 14:23:24 +08:00
baigk
b4130d3957 support openstack liberty deployment
add config files of liberty so that can deploy openstack liberty
using compass

Change-Id: I617b415a5293484598326959580958550fd11adc
Signed-off-by: baigk <baiguoku@huawei.com>
2015-12-11 11:24:16 +08:00
Xicheng Chang
a05ce06169 Add expansion and role patching features.
1. also updated templates and confs with latest adapter conf.

Change-Id: Id261c0243e8536f7b866807359260ef482a11791
2015-12-07 17:34:28 -08:00
baigk
378a49712e add flavor mapping file
add openstack-juno and openstack-kilo flavor mapping file
so that can install openstack using compass-web

Change-Id: I9ad1882a615c15defd0efc81f619d036b96e9772
Signed-off-by: baigk <baiguoku@huawei.com>
2015-11-24 14:33:34 -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
Carl Li
a165bbe6bc Seperate chef installer as a plugin (move chef tests to plugin directory)
Closes-Bug: #1506700

This is the 4th change list of a series of changes that will eventually
convert chef installer as a plugin.
It moves chef installer related tests to plugins directory
extract a method get_plugins_config_files from load_config in util.py,
this function might be used directly, add a unit test for this function

Change-Id: Idbd54ce11ab4489b356b402d176c9df2f688acc2
2015-11-10 22:34:10 -08:00
Carl Li
b073a7837f Seperate chef installer as a plugin (move chef templates to plugins directory)
Bug: 1506700

This is the second change list of a series of changes that will eventually
convert chef installer as a plugin.
It moves chef installer related templates files to the plugins/chef_installer/templats
PLUGINS_DIR was introduced to indicate where the plugins directory will be, it may be in /etc/compass or in a different place util.py's load_configs will use it when reading plugins configs.

Change-Id: Ieb599e3e7c8cecd8355e77d89e3da8548f78a93a
2015-10-24 18:05:39 -07:00
Weidong Shao
8eae6d8048 Remove chef related adapter and support of OpenStack IceHouse.
This will be moved to a separate plugin repo.

Change-Id: I697eff67764661557892c8432c61282e41612079
2015-09-16 05:45:45 +00:00
xiaodongwang
14ad281057 move adapter from db to memory
Change-Id: I366052e23d72dd94229513d6a0992338d0d44638
2015-08-04 10:45:24 -07:00
Xicheng Chang
2fb2edb35c Support rally in docker
Change-Id: If9b8ac1a4269ab750684174e092f80fb795abc38
2015-06-17 15:51:56 -07:00
xiaodongwang
5479928d2e add fusionsphere support
Change-Id: If28b7b56b5feeeae67c2991fde56c5fb916ed044
2015-06-15 16:14:31 -07:00
Xicheng Chang
6881c732b4 Now ansible takes credentials passed by compass
But compass doesn't take them from UI. It provides
hard-coded values to package installers. We should
consider fixing this.

Change-Id: I7062e45ec4c7b1cc98ebfd63cbc96149d83beb05
2015-05-26 14:29:34 -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
Lei Lei
e412446bac Update config files for ui package metadata.
Change-Id: Ic8f09237e869db54f37a6b702ec68bde5f57cdc1
2015-04-30 11:32:58 -07:00
xiaodongwang
a18bdbf92b update cluster state to error when deployment fails
Change-Id: I54fb25d6151679118cf648b5c2192d56f7d95957
2015-04-29 23:40:00 -07:00
Jenkins
ea5fb8ad4f Merge "Enable to get flavor_metadata without creating cluster." into dev/experimental 2015-04-30 02:15:54 +00:00
Lei Lei
5345a81470 Enable to get flavor_metadata without creating cluster.
1.Add "list_flavors" and "get_flavor" in api.
2.User "get_flavor" to get flavor name.
3.Add unittest for the new api function.
4.remove "ha_proxy" from package_matadata/openstack.conf
5.add flavor_config_validates

Change-Id: Ib17b851f5d8ac14b6d2bb13b0f44b575936c9f74
2015-04-27 15:10:00 -07:00
Xicheng Chang
99c5f2dbf2 add "juno-cloud-archive" to templates
Change-Id: Iee347c90bb2d706675620599d21711a0a48e886f
2015-04-24 15:48:41 -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
ada7d4e4bf Add "cluster_name" to ansible global variables.
Change-Id: I774a1d7c3182d6fe1d217728e494dc7f43c47325
2015-04-21 17:29:20 -07:00
Xicheng Chang
a43fb4c8d9 fix typos in templates
Change-Id: Ief27f9d2abb4d6a190f775b144a94ed68d3055c5
2015-04-17 22:06:36 -07:00
Lei Lei
e1fa18e33f Fix timezone pattern in config file.
Change-Id: Ifaa8232f47b9048e121adc768a69e19b73dab400
2015-04-15 17:50:06 -07:00
root
a59bc2f953 Add flavor metadata and convert to ui metadata
Change-Id: I22423d9852580ff5da033f67c04b07efea74b5ee
2015-04-15 11:06:33 -07:00
Xicheng Chang
00a9989fe1 Remove "global_files" from ansible config.
Directory doesn't exist in ansible playbook repo anymore.

Change-Id: Iedef3a2b288139da8cf10372c263d426b784ba69
2015-04-09 22:21:44 -07:00
Lei Lei
2e6fac527e fix typo in conf/os_mapping/os_mapping.conf
Change-Id: I8c9c5c747f673b3ad19d69c299546422ba1b1db5
2015-04-09 11:57:43 -07:00
Xicheng Chang
b599f60020 Add support for ansible: openstack-juno
Change-Id: I41fc56862073af6f925248244870b32c8cd2c8e8
2015-04-07 12:01:58 -07:00
Jenkins
3e9c75ff81 Merge "Modify config for ui metadata" into dev/experimental 2015-04-06 17:46:36 +00:00
Lei Lei
45a9093b91 Modify config for ui metadata
Change-Id: Ib05acc1a57d96ecd6421b2b3dda01925a23919b8
2015-04-03 16:43:17 -07:00
xiaodongwang
31c4395e19 update ubuntu14.04 log pattern
Change-Id: I0020b2a7ec7c2042347cc7438c1c8f8f1d3a6874
2015-04-03 10:33:59 -07:00
xiaodongwang
6e1738ee9b dd unique dns name for all no management interfaces
Change-Id: Ibb86af89ce542e236aaf58dd6120f29420c324b9
2015-04-02 14:29:47 -07:00
Lei Lei
8c68fb6f4c Add api to convert os metadata to ui os metadata
Change-Id: Iad5938a5e34a44506c82afb6cf5f8bea0610105e
2015-03-30 14:22:52 -07:00
xiaodongwang
c7dd14ae3f fix sles11sp3 name which will refer to the template dir
Change-Id: I9c14dbf71fe8863b054eca226292e6cf4e30e782
2015-03-06 14:44:08 -08:00
Jenkins
c1b95d8d85 Merge "add sles11sp3 support for os only version" into dev/experimental 2015-03-06 19:42:12 +00:00
Lei Lei
80b9d87c29 Add log analyzor for CentOS7
Change-Id: Id31df5b1d2c7be887ff738f7fad998cc5174fadf
2015-03-04 15:08:33 -08:00
xiaodongwang
0edadbd925 add sles11sp3 support for os only version
Change-Id: Ia3e133f76971e0b3c01025a55cfa79da488ed920
2015-03-03 22:51:30 -08:00
grace.yu
51364fe942 Modified template to support neutron configuration input
Change-Id: I3dc57f3cc413fc36763ff5f75d7dd11b84b3d322
2015-02-09 18:18:05 -08:00
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
91c349350f remove unused local repo download
Change-Id: I4ad43d9b6b864ec3e631a3ebb9fb5998053c9835
2015-01-24 21:21:22 -08:00
Jenkins
4419a6d17e Merge "Load dns_name to all interfaces instead of just mgmt" into dev/experimental 2015-01-15 18:27:40 +00:00
xiaodongwang
090c2d40a2 serve centos6.5 images/ppa_repo in local
Change-Id: I464afdf87b8250ac9b5632934d8393f56bb1f956
2015-01-08 22:44:48 -08:00
xiaodongwang
7c65b99d98 add multi os version support in compass installation
Change-Id: Ide2988ad571b66036491195e6b22428c016d9b57
Partial-Bug: 1404040
2015-01-05 19:02:02 -08:00
Jenkins
7423682471 Merge "fix neutron configuration conflict in environment template" into dev/experimental 2015-01-04 07:27:02 +00:00
Xicheng Chang
53567439ca Load dns_name to all interfaces instead of just mgmt
Otherwise, cobbler would fail if dns_name is just set in mgmt interface
Closes-bug: #1407146

Change-Id: I3e1e1275f1227b458424275d57c7789230daef63
2015-01-02 11:38:42 -08:00
Lei Lei
acba93ec1c Move config data in progress_calculator.py to an isolated config file
Change-Id: If8909be51c69a18f01fadb0c00ce2b6a95b9d2d4
2014-12-31 15:56:17 -08:00
Jerry Zhao
55aa8caafa fix neutron configuration conflict in environment template
in gre tunnel mode, bridge mappings should be null and vlan, or flat
mode, bridge mappings with bridge and a physical nic port.

Change-Id: I61ab71e65ac8e75c46d52453df12df4ecac1f675
Closes-bug: #1406710
2014-12-31 01:44:52 -08:00
Lei Lei
3fe0d59558 Add integration test for update_progress.py
Change-Id: Ie7a359b6028dafc706c2213b8745e45c9bf414a2
2014-12-29 14:58:26 -08:00
grace.yu
15ffc5e1aa Fix rabbitmq username/password hardcoded
Fix Rabbitmq/mysql username/password hardcoded. At the same time, more
fields in template will be dynamic filled such as neutron config according
to user input.

Change-Id: I8d69be0dd1289401fee7fc3f4ec1675b9109ed60
Closes-bug: #1393959
2014-12-08 12:05:37 -08:00
grace.yu
586cc72b3b Render chef environment from base and specific template
Chef environment will be rendered from base template and the specific
template configured in adapter flavor config file. Base template contains
general configs for an adapter, whereas the specific template can
override/add configs according to different flavors of the adapters.

Change-Id: Id9caf6dc6513b5f11daad4b58a935948d80c691a
2014-12-04 13:23:44 -08:00
grace.yu
b93544704c modify config_manager and add openstack ha tmpl
Change-Id: Ib9b0cac53a4a33ec4fe133de24dc9361b5a15dab
2014-11-10 13:47:32 -08:00