74 Commits

Author SHA1 Message Date
Xicheng Chang
34e734f474 Revert "Merge "fix compasss.sh""
This reverts commit 35472d1f153fb20393c6d6fb6dffc1b83db5355b, reversing
changes made to 5a929be775bb4513560b87f5da314e12421df665.

Change-Id: Ie5f2f92473489bb5be981b97e17597e91ff1cbf9
2017-01-03 12:08:01 -08:00
Jenkins
35472d1f15 Merge "fix compasss.sh" 2016-12-30 00:14:41 +00:00
Xicheng Chang
f51d0b1424 Purge xenial related files since it does not follow valid file structure.
All os support should be included in different releases of OpenStack.
We do not explicitly show an OS type in adapters.

Change-Id: Idac20aac2cd5e6cd90d20414467fb8191f7fb1a7
2016-12-21 18:05:07 -08:00
chenshuai
5a929be775 add switch for openstack network node's components high availability
Change-Id: I555fc334b8429f4741bf0a8eec3ea3c02fcb5ae1
Signed-off-by: chenshuai <chenshuai@huawei.com>
2016-11-03 03:41:03 -04:00
Xicheng Chang
8ba3e5ccb5 support osp9 and newton
Change-Id: I721168db32e9a8bea84361dd2ee39efbb421b0bb
2016-10-27 14:39:54 -04:00
Xicheng Chang
9c03171433 Support rhel7 and osp9
Change-Id: I1e25df2f57753aa4038f49d0c10958c68c248f31
2016-10-26 21:09:53 -04:00
liyuenan
5672aecc31 Add the conf & tmpl file for OpenStack Newton
JIRA: COMPASS-491

Change-Id: Id82eb73ff6bab2a60a8940a36301840d8ad18adb
Signed-off-by: liyuenan <liyuenan@huawei.com>
2016-10-11 14:14:00 +08:00
Yifei Xue
545f1499ea Add odl sfc configuration
Change-Id: I332532d7fd5a70ac4caaca7d923e6bdefd8f6772
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-09-07 23:37:05 +08:00
Xicheng Chang
682ca408d1 fix the bug caused by hostname.
Change-Id: Id43088aa49ebe76107e8e9a62318b908ea3b384a
2016-08-31 12:58:05 -04:00
chenshuai
b1904a4e15 add moon enable flag
Change-Id: I80bda5359ef9b6ea61f411ec7272fe43d9668cd7
Signed-off-by: chenshuai <chenshuai@huawei.com>
2016-07-22 02:50:20 -04:00
Yifei Xue
cb66a26868 Add onos sfc support
Change-Id: If12d493593b1c12cbc09e2373f7d4825759c8589
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-07-20 01:16:59 +08:00
chenshuai
6133285926 Support ubuntu 16.04 and mitaka
Change-Id: Ib10d84c1737f2159d2702fc3f07205ca8d11504d
Signed-off-by: chenshuai <chenshuai@huawei.com>
2016-07-16 01:02:59 -04:00
chenshuai
3cad9c1ad9 Support ubuntu16.04 and ubuntu14.04 in one ISO file
Change-Id: I13747aa19a7786b732a60d65a9922b452f1a9c88
Signed-off-by: chenshuai <chenshuai@huawei.com>
2016-07-15 04:14:19 -04:00
Xicheng Chang
0b8659d790 enable remote-deploy
Change-Id: I44177e7f212a7f6f3c76ebed49574e4d537bcd8f
2016-07-06 14:36:35 -04:00
Yifei Xue
934f59818c Add aodh passwd
Change-Id: I30a8915b5faabed188382a5d2ad90f23e8527e1b
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-05-20 17:04:14 +08:00
Yifei Xue
92eda50285 Update conf for Mitaka
Change-Id: I38f8c501dac6da49777c6ab91a59ee78d86a9785
Signed-off-by: Yifei Xue <xueyifei@huawei.com>
2016-05-16 11:03:37 +08:00
baigk
59eee063a9 add odl_l3_agent enable flag
Change-Id: Ib2fe2c9ae31e44c6af921fcef3ce56fb494c7562
Signed-off-by: baigk <baiguoku@huawei.com>
2016-02-18 18:55:01 +08:00
baigk
3e2394006c bugfix: add opencontrail
add opencontrail in inventory file

Change-Id: Ief853ae2d9712a5232696bdd6d04f820d476ca9a
Signed-off-by: baigk <baiguoku@huawei.com>
2016-01-25 20:46:18 +08:00
baigk
401d3c7d47 add opencontrail role
add the config of role,flavor,inventory about opencontrail

Change-Id: I2d3d42078040f6e698d165a6d3def38d30150da2
Signed-off-by: baigk <baiguoku@huawei.com>
2016-01-25 03:28:41 +00:00
grakiss
b1a732f641 add ceph groups to control process of ceph deployment
Change-Id: I1545ee70953d5c165eae9cd761820d2cf5c27563
Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2016-01-18 09:53:19 +08:00
baigk
2fd269037e update config file of password
update config file of password

Change-Id: I114fa23a79421c524049ef82ffe6055fc32d9bb2
Signed-off-by: baigk <baiguoku@huawei.com>
2015-12-30 16:09:22 +08:00
baigk
affb60d84e add openstack password config
add network, indentity service and console password

Change-Id: Ie3168dcdab0a8c4867ef8e2cfc2f10c7d474e6bf
Signed-off-by: baigk <baiguoku@huawei.com>
2015-12-29 10:49:24 +08:00
baigk
ff4feeb30d install compass-core in centos7
modify config files so that can install compass-core in centos7 1511

Change-Id: Ic656e8ab088f1dac4bb6c558d3f596a47a1bc6b8
Signed-off-by: baigk <baiguoku@huawei.com>
2015-12-18 14:50:28 +08:00
baigk
cd714d175a set ssh parameter ControlMaster
set ssh parameter ControlMaster so that disable SSH Multiplexing

Change-Id: I3c66e7f70c36fa660a43650c701cae1a63c2149d
Signed-off-by: baigk <baiguoku@huawei.com>
2015-12-18 09:00:43 +08:00
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
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
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
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
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
xiaodongwang
a18bdbf92b update cluster state to error when deployment fails
Change-Id: I54fb25d6151679118cf648b5c2192d56f7d95957
2015-04-29 23:40: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
Xicheng Chang
b599f60020 Add support for ansible: openstack-juno
Change-Id: I41fc56862073af6f925248244870b32c8cd2c8e8
2015-04-07 12:01:58 -07:00
xiaodongwang
6e1738ee9b dd unique dns name for all no management interfaces
Change-Id: Ibb86af89ce542e236aaf58dd6120f29420c324b9
2015-04-02 14:29:47 -07: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
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
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
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
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
xiaodongwang
a8b54b2258 delete cluster and set cluster_id in chef server env
Change-Id: I33b7d978a0f2cfabd1a6e3b0177dfec059dc9666
2014-10-25 11:57:14 -07:00
xiaodongwang
e775a00786 disable proxy when use proxy
Change-Id: I34ee2a6b1ff3ac754c3d07e34abbed2c1b2e8185
2014-10-22 17:28:12 -07:00