9137 Commits

Author SHA1 Message Date
wu.chunyang
d59e61a90f update sahara.conf file for kolla
The use of [keystone_authtoken] credentials for trust creation is now
 deprecated. refer to [1][2][3]

[1] d16f07ea3c/releasenotes/notes/trustee-conf-section-5994dcd48a9744d7.yaml
[2] https://docs.openstack.org/sahara/latest/configuration/descriptionconfig.html
[3] d60a3b152b/sahara/utils/openstack/keystone.py (L116)

Change-Id: I75002c6221268a3371585cf270dee18186471ef5
2018-06-08 15:47:20 +00:00
Zuul
ad3e99f901 Merge "Update the description for Heat" 2018-06-08 14:32:24 +00:00
Ha Manh Dong
30be04ea91 Specify 'become' for all tasks that use kolla_docker module
Add become to all tasks that use the module "kolla_docker"

Change-Id: I4309c4011687b88ec31d739fd8f834fe2326ff10
Partial-Implements: blueprint ansible-specific-task-become
2018-06-08 12:39:24 +00:00
chenxing
67675a5740 Remove openstackdocstheme from test-requirements.txt file
The openstackdocstheme is included by ``doc/requirements.txt``. We
move all doc requirements to ``doc/requirements.txt``.

Change-Id: I3e3acf07826a496b3d8514941afa908624fb74f4
2018-06-08 18:29:44 +08:00
wu.chunyang
31a6de01f3 dev mode: Add support for sahara
Provide support fot kolla dev mode in sahara. When
'kolla_dev_mode' or 'sahara_dev_mode' variables are
enabled, source code of sahara  project will be  cloned
and  mounted automatically

Partially implements: blueprint mount-sources

Change-Id: I496ea4443ec8ffc4dc9d0f0d3e6a4514d16ed336
Co-Authored-By: zhulingjie <easyzlj@gmail.com>
2018-06-08 02:40:10 +00:00
Borne Mace
c7c61fca06 Avoid removing kolla-cli directories on destroy
When running the kolla-ansible destroy playbook most of the files
under /etc/kolla are cleaned up.  This change will cause the
clean-up to skip the kolla-cli related directories.  When running
the deployment code in a container or a separate VM this is not
an issue, but when doing an all-in-one or running the deployment
process from one of the systems being deployed onto it would have
previously destroyed the kolla-cli inventory and any generated
certificates used for TLS.

Change-Id: Icd62e177964b8fb31052131785c6d7b138975a28
2018-06-07 13:44:24 -07:00
zhulingjie
7f11d35b0d Fix the pep8 warning
Change-Id: Ia07e1644ff0db2baabf721a64b4f41af465b6f0e
2018-06-07 12:53:44 -04:00
zhulingjie
6e5bab314c Update the description for Heat
refer to https://docs.openstack.org/heat/latest/install/install-rdo.html

Change-Id: I714c0e643631755802901a33d739963c54054191
2018-06-07 15:26:36 +00:00
Zuul
e88b9a7ad4 Merge "osprofiler support redis" 2018-06-07 11:27:55 +00:00
Liping Mao (limao)
01be6a3b4e remove unused template file in baremetal role
Change-Id: I5f8598368ad93530d159816c004f27765b165afc
2018-06-07 16:37:24 +08:00
Jorge Niedbalski
640dd55e06 Fix usage of openstack_ceph_rgw_auth
Patch [0] left 2 variables for authentication one is
openstack_swift_auth and the other (inexistent) openstack_ceph_rgw_auth
for the ceph_rgw start_keystone task.

This patch leaves only openstack_ceph_rgw_auth.

Closes-Bug: #1769463

[0] 84ade4e149

Change-Id: I1cc522d91f8258f4ca23afc10a0a2a2b35c1ff68
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
2018-06-06 23:29:31 +00:00
Zuul
74d239bb88 Merge "[kibana] enforce index creation for ELK > 5 (debian)" 7.0.0.0b2 2018-06-06 15:49:52 +00:00
Kien Nguyen
d2f4055ce0 Add support for Ceilometer custom polling.yaml
By default, Ceilometer uses polling.yaml as cfg_file [1][2] that defines
the limit default numbers of metrics polled. Users may want to define
their own polled metrics.

[1] https://github.com/openstack/ceilometer/blob/master/ceilometer/polling/manager.py#L54
[2] https://github.com/openstack/ceilometer/blob/master/etc/ceilometer/polling.yaml

Change-Id: Iadd627ca3c767453e71c8a0c2044f00f30055f16
2018-06-06 22:12:30 +07:00
Zuul
5155cd1f93 Merge "Fix the ceph warning after upgrade to luminous" 2018-06-06 14:20:23 +00:00
Zuul
25dfc8895f Merge "Document the China registry mirror" 2018-06-06 14:13:34 +00:00
wu.chunyang
176a72e656 fix sahara service-type
the sahara service-type is data-processing,not data_processing
if use data_processing,the sahara client will take mistake.
refer to [1]

[1] https://docs.openstack.org/sahara/latest/install/installation-guide.html#common-installation-steps
Co-Authored-By: zhulingjie <easyzlj@gmail.com>

Change-Id: I4c6704a81921bf713073451dc4e93e44234e5a7c
2018-06-06 11:36:39 +00:00
chenxing
6017d11e48 Document the China registry mirror
Kolla always fails to pull kolla images. This patch is to document
how to use the China registry mirror to avoid the failure of pulling
kolla images.

Change-Id: Ib31b3ee6183c12467df4f28f8dff438ed6e9d41c
2018-06-06 16:17:18 +08:00
Zuul
77054d81ea Merge "Use its own host gruop for ceilometer" 2018-06-06 07:13:25 +00:00
chenxing
ab79c3ee28 Fix the ceph warning after upgrade to luminous
Change-Id: Ia94c10ca8292d803bc20650fb1d496002455338f
Closes-Bug: #1771968
2018-06-06 10:36:20 +08:00
Clint Byrum
59460c9318 Make it possible to override chrony bindaddress
We still default to kolla_internal_vip_address. However, in some cases
this won't work, such as when kolla_internal_vip_address is a hostname,
not an IP. This way users can override it in globals.

Change-Id: I393a2a41ed3bf91f325042cca2310175927bdb40
2018-06-05 15:22:06 -07:00
Wonil Choi
7c16c1b664 Rename wrong ovsdpdk precheck file
task file name for prechecks is precheck.yml so rename prechecks.yml to
precheck.yml for ovsdpdk.

Closes-Bug: #1774758

Change-Id: I51415ae4dd0f0fcbe45310ba27cad479ba62bac6
Signed-off-by: Wonil Choi <wonil22.choi@samsung.com>
2018-06-05 09:38:28 +00:00
Zuul
9579fa8ddf Merge "dev mode: Add support for ironic" 2018-06-05 08:31:31 +00:00
Zuul
e3494638a2 Merge "Compatible with ubuntu 18.04" 2018-06-05 02:30:54 +00:00
wu.chunyang
291c04c87f dev mode: Add support for ironic
Allows users to develop on ironic using Kolla.

Partially implements: blueprint mount-sources

Change-Id: I74540f5bcbf723f097f3dea96dcaf067834c493a
2018-06-04 13:06:02 +00:00
Zuul
353e20b926 Merge "Following the new PTI for document build" 2018-06-04 11:17:49 +00:00
Zuul
682df77af8 Merge "Add freezer-scheduler hosts into site.yml" 2018-06-04 11:14:53 +00:00
Zuul
9c4d3e01f8 Merge "dev mode: Add support for barbican" 2018-06-04 09:51:13 +00:00
Zuul
b77e66bf33 Merge "Use multipathd hostgroup in the multipathd role" 2018-06-04 08:17:12 +00:00
Gary Kotton
0ef27dd076 Add support for NSXV3
NSXV3 is the OpenStack support for the NSX Transformers platform.
This is supported from neutron in the Mitaka version. This patch
adds Kolla support

This adds a new neutron_plugin_agent type 'vmware_nsxv3'. The plugin
does not run any neutron agents.

Change-Id: I1ecd7e5f3471e4ff03cfe8c9a3aff17af3fe1842
2018-06-03 15:03:04 +03:00
Zuul
f7950466e3 Merge "Rabbitmq bootstrap enhancement" 2018-06-01 16:56:11 +00:00
Zuul
0dc608ee37 Merge "dev mode: Add support for mistral" 2018-06-01 08:15:28 +00:00
MinSun
ddc564d21f Rabbitmq bootstrap enhancement
Using rabbitmq service defined in default when
boot rabbitmq_bootstrap.
Not a bug here, just an enhancement.

Change-Id: I79f0f7efe3308ed4eb898b85a6370be1bd637d9a
2018-06-01 13:49:11 +08:00
zhulingjie
894d825c7d Use its own host gruop for ceilometer
Change-Id: I8dca3e04d12c7da97f23ff9a297b692f86bbc85b
2018-06-01 04:36:18 +00:00
Zhangfei Gao
ce809aea23 osprofiler support redis
Currently osprofiler only choose elasticsearch,
which is only supported on x86.
On other platform like aarch64 osprofiler can
not be used since no elasticsearch package.

Enable osprofiler by enable_osprofiler: "yes",
which choose elasticsearch by default.
Choose redis by enable_redis: "yes" & osprofiler_backend: "redis"
On platform without elasticsearch support like aarch64
set enable_elasticsearch: "no"

Change-Id: I68fe7a33e11d28684962fc5d0b3d326e90784d78
2018-06-01 09:34:04 +08:00
Zuul
9568f1c790 Merge "Fix Nova authentication in Cinder configuration file" 2018-05-31 11:58:42 +00:00
Zuul
1b55a093dc Merge "Adds parameter to configure HAProxy defaults balance" 2018-05-31 11:49:58 +00:00
Zuul
ffa5e57f20 Merge "Add support for enabling ipxe boot with ironic" 2018-05-31 11:37:52 +00:00
Zuul
360f2b9464 Merge "Add custom option for docker" 2018-05-31 11:15:40 +00:00
Kevin Tibi
b6bab5b931 Add custom option for docker
Some options can't be add in the daemon.json
The only way to configure daemon is to add option in the service file

Change-Id: I88697951ed6518f62bca30bb52288ad0e487ec03
2018-05-30 17:45:27 +02:00
Zuul
e858650006 Merge "Add cAdvisor for Prometheus monitoring" 2018-05-30 15:05:16 +00:00
zhulingjie
6e033e6377 Add freezer-scheduler hosts into site.yml
freezer-scheduer container will run on freezer-scheduler hosts[0],
but it missing in site.yml, when freezer-api and freezer-scheduler
run on different hosts, it will failed.

[0]: https://github.com/openstack/kolla-ansible/blob/master/ansible/inventory/multinode#L376

Change-Id: I1bd36c7c57345ee63cd153df8bd0603badf0d8a2
2018-05-30 10:30:33 -04:00
Zuul
1336b5e6c8 Merge "Mariadb bootstrap_cluster enhancement" 2018-05-30 13:23:34 +00:00
Zuul
759e4ae634 Merge "check cron container error" 2018-05-30 11:34:02 +00:00
Zuul
2b61d9bf8c Merge "Put upper limit on cmd2 in kolla-toolbox" 2018-05-30 10:16:07 +00:00
Zuul
ed3aff41ee Merge "To avoid creating empty volume for heat" 2018-05-30 09:50:14 +00:00
Jeffrey Zhang
4ab76ed9e1 Put upper limit on cmd2 in kolla-toolbox
This fixes an issue with cmd2 >= 0.9.0 requiring python3.

Change-Id: I5f88f0b0540785f8e7b7ab7c5252c6a51f314922
Closes-Bug: #1773938
2018-05-30 16:00:58 +08:00
MinSun
bee02d36a0 Mariadb bootstrap_cluster enhancement
Using mariadb service defined in default when boot bootstrap_mariadb
Not a bug here, just an enhancement.

Change-Id: I1f8b51fb6177a8524483e600701924dbfc3403cb
2018-05-30 10:49:38 +08:00
MinSun
2e123aedc7 check cron container error
In common role, when check common container for cron restart,
we should use cron_container.changed instead of
check_common_containers.changed

Change-Id: Ifaaa437f5e205e970371fbb3660b68df352eb440
Closes-Bug: #1773923
2018-05-30 09:01:25 +08:00
Zuul
295f6c7ee7 Merge "Remove keystone_authtoken section for aodh" 2018-05-29 15:31:21 +00:00
Mark Giles
41254b6c46 Add cAdvisor for Prometheus monitoring
cAdvisor (Container Advisor) provides metrics on resource usage and
performance characteristics of running containers.  This change
deploys a cadvisor container and configures prometheus to scrape
data from it.

Change-Id: I55dd4fee954f9be68efda397746861ddaaa0a565
Partially-Implements: blueprint prometheus
2018-05-29 08:55:58 -04:00