7225 Commits

Author SHA1 Message Date
Eduardo Gonzalez
ab4b1ff785 Support OSprofile usage
OSprofile allows user/devs trace OpenStack requests.

Implements: blueprint enable-osprofiler
Co-Authored-By: Bertrand Lallau <bertrand.lallau@gmail.com>
Change-Id: I82ea85d726011ef6cbf99380f395452d6d7f8053
2017-06-02 22:41:33 +02:00
Eduardo Gonzalez
973145f88f Fix unrecognized --limit option
Kolla-ansible does not have as its allowed parameters
ansible's limit.

Change-Id: I86821fe39e6f0f61e513a0677bf177234c203103
Closes-Bug: #1693801
2017-06-02 15:52:12 +02:00
Jenkins
62972a6c8e Merge "Fix zun deployment" 2017-06-02 12:35:21 +00:00
Jenkins
daef9ddf93 Merge "Fix vnc_enabled warning" 2017-06-02 12:34:31 +00:00
Jenkins
e8c0ed8b7e Merge "Add kolla-ansible bash completion script" 2017-06-02 11:05:44 +00:00
Dai Dang Van
f127da3cb1 Mixing binary and source images for D*, G* and H* projects
In case Kolla's users want to deploy with both of
binary and source image, we should have a variable
install type that define install type for each project.

We also add specific image tag for each Openstack project.

This commit is implemented for Designate, Gnocchi and Heat projects.

Change-Id: I07451750e70e0e6305dca451422e33cd31ce8a4c
Implements: blueprint mixing-binary-and-source-image
2017-06-02 17:17:06 +07:00
Dai Dang Van
d463b05cfa Mixing binary and source images for C* projects
In case Kolla's users want to deploy with both of
binary and source image, we should have a variable
install type that define install type for each project.

We also add specific image tag for each Openstack project.

This commit is implemented for Ceilometer, Ceph
Cinder, Cloudkitty and Congress projects.

Change-Id: I560ab84545db2e034abe03613c4e7cb407e64ab2
Implements: blueprint mixing-binary-and-source-image
2017-06-02 17:16:14 +07:00
Dai Dang Van
a02e597e58 Mixing binary and source images for A* and B* projects
In case Kolla's users want to deploy with both of
binary and source image, we should have a variable
install type that define install type for each project.

We also add specific image tag for each Openstack project.

This commit is implemented for Aodh, Barbican and Bifrost projects.

Change-Id: I926c9631c860b527941c40addc68896dd27bd1cc
Implements: blueprint mixing-binary-and-source-image
2017-06-02 17:13:44 +07:00
Dai Dang Van
5a935cc251 Mixing binary and source images for Glance
In case Kolla's users want to deploy with both of
binary and source image, we should have a variable
install type that define install type for each project.

We also add specific image tag for each Openstack project.

Change-Id: I07af4fe56e00b7d0bbf1d5216b0a508806f04d7d
Implements: blueprint mixing-binary-and-source-image
2017-06-02 10:11:57 +00:00
Jenkins
5cf0e85bdb Merge "Fix vagrant development environment" 2017-06-02 09:55:33 +00:00
Jenkins
b10ab47592 Merge "Fix some wording issues on a comment" 2017-06-02 09:48:35 +00:00
Jenkins
dc6f7579d5 Merge "Missing ExecStart in docker.service" 2017-06-02 09:45:22 +00:00
Hanxi_Liu
2b22c52c43 Stop using old gnocchi reference
Gnocchi is being moved outside OpenStack to gnocchixyz.
Stop using its OpenStack reference.

Change-Id: I0bd8b1a79329505e3eca73f49ed415dde54f3c8b
2017-06-02 09:41:55 +00:00
Jenkins
18214d95a3 Merge "Add cinder-backup config to external-ceph-guide" 2017-06-02 09:41:14 +00:00
Jenkins
b378e0e3c0 Merge "Fix invalid literal for int in swift_proxy_server" 2017-06-02 09:34:03 +00:00
Duong Ha-Quang
dbedf6b659 Rewrite haproxy precheck conditions to not use string interpolation
In Ansible 2.3.0 when statements should not include jinja2 templating
delimiters such as {{ }} or {% %}

This patchset fixes all condition in precheck task of haproxy.

Change-Id: I5ad234cf24133efe342956c1b7ab1b947f96b20f
Partial-Bug: #1695142
2017-06-02 09:22:07 +00:00
shaofeng_cheng
10531d71e4 Fix vnc_enabled warning
Remove option vnc_enabled from group default.
Add option enabled in group vnc.

Change-Id: Ia48b335fd9d160b53bc2ec98b7e3bc5b89b9c553
Closes-Bug: #1695181
2017-06-02 17:15:27 +08:00
Jenkins
5683b71845 Merge "Fix nova fake driver support" 2017-06-02 09:15:06 +00:00
Jenkins
5b98751aa8 Merge "Fix rabbitmq prechecks broken due to Ansible upgrade" 2017-06-02 09:11:23 +00:00
msimonin
8e9cd4d278 Fix nova fake driver support
Recent code updates[1][2] broke the support for nova fake drivers.
in [1], nova_services dict is introduce but the change is not refected
in nova.conf.j2[3] when dealing with its elements.
in [2], two typos make neutron handlers to fail.

[1]: https://review.openstack.org/#/c/407416/
[2]: https://review.openstack.org/#/c/424504/
[3]:
https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/nova/templates/nova.conf.j2#L35

Change-Id: Ie32c76c4c902f1d95a1b4c97f8cbdb7ab101e48b
Closes-bug: #1695218
2017-06-02 10:48:54 +02:00
Sercan Acar
88684547e7 Missing ExecStart in docker.service
docker.service requires extra ExecStart to clear "settings"

Change-Id: Ica9b8b5f7f57e1c8c87adc62df766c101bb03d2b
2017-06-02 09:42:44 +01:00
Kuo-tung Kao
52d9158dfa missing rbd_serect_uuid in cinder.conf in doc
rbd_serect_uuid is needed even if using external ceph
update cinder configuration in doc/external-ceph-guide.rst

Change-Id: I19f626812e94afa3d8d2d2d9ccfae196e347f873
2017-06-02 15:32:38 +08:00
Duong Ha-Quang
4738c75ab3 Fix rabbitmq prechecks broken due to Ansible upgrade
In Ansible 2.3.0 when statements should not include jinja2 templating
delimiters such as {{ }} or {% %}, and gate is broken with Ansible 2.3.1.

This patchset rewrite when statement in rabbitmq precheck task to not use
string interpolation.

Change-Id: Ie2f1666cc8ced7cf20ceba40c7c7aaec750778f9
Closes-Bug: #1695111
2017-06-02 07:02:45 +00:00
Jenkins
e972a45d99 Merge "Remove show_multiple_locations in glance-api" 2017-06-02 02:12:50 +00:00
Eduardo Gonzalez
27b577c484 Fix zun deployment
Configure zun-api to use apache.
Fix zun endpoint (tenant_id) causes a 404 error.
Fix zun.conf options
Change zun port, correct port is 9517
Zun compute need privileged and mount docker lib volume

Change-Id: Id9455e7dde62e1994a3f6ae8f30d378e5cda4262
Closes-Bug: #1682165
2017-06-01 14:26:13 +00:00
Jenkins
f0c404e6bc Merge "Avoid facts gathered twice when deploying with --limit" 2017-06-01 14:21:44 +00:00
Juan J. Martinez
8fe43171ce Fix vagrant development environment
After the repo split into kolla and kolla-ansible the Vagrant
development environment was broken.

With this change Vagrant will run from kolla-ansible and kolla
repo is expected to be in the same directory level so the
bootstrap can include it inside the VM.

 - Modified the bootstrap code to copy both repos into the VM.
 - Added one configuration token to specify kolla-ansible location
   inside the VM.
 - Updated the docs.

Change-Id: I6b56822d50472f8eda6fc60f69196d3c9b8b6cf8
Closes-Bug: 1693847
2017-05-31 14:19:09 +01:00
Jenkins
841bc75ae2 Merge "Revert "Add jinja2-py version check in pre_checks"" 2017-05-30 17:39:17 +00:00
Eduardo Gonzalez
15a5d2cce9 Revert "Add jinja2-py version check in pre_checks"
This reverts commit 64999de5b93e393518771f86ddc8673cc7dd4e55.

Change-Id: I7d706708d476101bf9cfb43cc4cde9e41e716986
2017-05-30 15:41:16 +00:00
Jenkins
1a21bf2a4d Merge "Add a complete example of configuring a basic 3 nodes Ceph environment." 2017-05-29 21:03:00 +00:00
Jenkins
c93a63195d Merge "Change default permissions in jinja templates." 2017-05-29 10:17:40 +00:00
Jenkins
fe61612ec6 Merge "Enabled pxe_ssh driver in ironic" 2017-05-29 08:10:52 +00:00
Jenkins
c8da11c242 Merge "Add jinja2-py version check in pre_checks" 2017-05-29 07:53:08 +00:00
shaofeng_cheng
0002de6909 Enabled pxe_ssh driver in ironic
XenServer drivers can be used to deploy hosts with Ironic by
using XenServer VMs to simulate bare metal nodes.

Ironic provides support via the pxe_ssh and agent_ssh drivers
for using a XenServer VM as a bare metal target and do provisioning on it.

Change-Id: Icd39f9f4573cf7c8c654591256f0228ef21d6117
2017-05-27 11:41:32 +08:00
Jenkins
ab27d8c9ce Merge "Kibana post_config checks only need to run locally" 2017-05-26 14:57:15 +00:00
James McCarthy
274291463e Change default permissions in jinja templates.
Many of the templates use 600, remove unnecessary permission
on these templates to bring them in line with the others.

Change-Id: I30fe1b3822b9c7bb6ab98729fc519dc1d603db27
2017-05-26 12:29:02 +01:00
David Moreau-Simard
dc71ebe267 gzip the ARA report after generating it
ARA behaves well gzipped and shaves a lot of the size due to it being
composed mostly of text.

Change-Id: I7a3f21af365d13ba783d200a75d18b50429a1488
2017-05-25 16:25:45 -04:00
Bernard Maltais
0635abd510 Add a complete example of configuring a basic 3 nodes Ceph environment.
This should help new users get started quickly by having all of the
needed configuration to accomplish the task in one place.

Change-Id: I3aa1fe1fb735d4c4407ef7545c4eefc4c0820fbf
2017-05-25 14:07:27 +00:00
shaofeng_cheng
7d23bd3712 Fix etc/hosts format with baremetal role
While is not an issue, just an style format,
etc/hosts generated by baremetal role have
some tabs where it shouldn't.

Change-Id: I90d82ea78b3dac7e8ec3f8cc546b67cc61c41536
Closes-Bug: #1692913
2017-05-25 10:43:28 +08:00
Jenkins
95f76faa43 Merge "Fix haproxy restart while genconfig" 2017-05-24 20:58:48 +00:00
Jenkins
57f0a3c4a7 Merge "Optimize reconfigure action for rabbitmq" 2017-05-23 11:24:04 +00:00
Jenkins
f1b7366e78 Merge "Add copy ceph keyring files conditions in cinder" 2017-05-23 11:23:15 +00:00
Jenkins
ae0addb387 Merge "Fix secure_proxy_ssl_header option in nova" 2017-05-23 11:16:41 +00:00
Jenkins
1246266fad Merge "Fix wrong variable used in trove role" 2017-05-23 11:15:31 +00:00
Jenkins
94a9c9173a Merge "Advertise public heat endpoint for wait conditions" 2017-05-23 11:09:28 +00:00
Jenkins
2286330829 Merge "Add VMware DataStore support to glance" 2017-05-23 10:57:03 +00:00
Jenkins
7a94decbdd Merge "Updated from global requirements" 2017-05-23 10:52:49 +00:00
Bertrand Lallau
afdd11b9a2 Generalize api_interface_address variable usage
Useful api_interface_address variable has been define here:
https://github.com/openstack/kolla-ansible/blob/master/ansible/group_vars/all.yml#L57
In order to simplify codebase we must use it as much as possible.

Change-Id: I18fec19bf69e05a22a4142a9cd1165eccd022455
2017-05-23 08:35:15 +00:00
OpenStack Proposal Bot
a62eb96c8f Updated from global requirements
Change-Id: I7e4c7fea9976dc854c212b0a2b79234fa73c1d1b
2017-05-22 15:48:05 +00:00
Jenkins
97614a0960 Merge "Mount cinder volume for cinder-volume and cinder-backup all the time" 2017-05-22 11:17:34 +00:00