4573 Commits

Author SHA1 Message Date
Paul Bourke
731f0bb114 Add force flag to cleanup-images
TrivialFix

Change-Id: I83dfca7d0ad38411ac43ca89de439705a8e5aa12
2016-08-17 10:28:38 +00:00
Jenkins
e415f3a3ba Merge "Add jq" 2016-08-17 09:08:32 +00:00
Jenkins
bed0f0f8d7 Merge "enhancements to install_packages macro" 2016-08-16 17:02:27 +00:00
Kevin Fox
b234976a80 Add jq
Add the jq tool that allows easy manipulation and data extraction
from json documents.

This is intended to be used by kolla-kubernetes.

Change-Id: I478be7ec403e3444a412e1bcd47fd52f3a4e8095
2016-08-16 09:23:49 -07:00
Jenkins
e3ca26f9e5 Merge "Customizations for Swift" 2016-08-16 11:20:30 +00:00
Kenny Johnston
856d0a866c Minor formatting change to CONTRIBUTING.rst
Removed numbered list formatting from single
item list.

Change-Id: Ifc9722e620eefc2580da921bc0c3084b9c25142c
2016-08-15 11:49:36 -05:00
Jenkins
f63568ed3c Merge "Add heka custom config to define user's log pipline" 2016-08-15 15:55:40 +00:00
Jenkins
06c09562d9 Merge "Customizations for Ceph" 2016-08-15 15:54:04 +00:00
Jenkins
ec569e752d Merge "Fix the neutron-lbaas-agent container issues" 2016-08-15 15:53:34 +00:00
Jenkins
55ddbad92a Merge "Modify some spelling mistakes" 2016-08-15 15:42:22 +00:00
Jenkins
4adc366d92 Merge "Dockerfiles for Networking-SFC Container" 2016-08-15 15:37:18 +00:00
Jenkins
ea3891075c Merge "Customizations for Tgtd" 2016-08-15 15:16:03 +00:00
Abe Music
29fcb04cf3 enhancements to install_packages macro
- Adds debian_package_install method to the jinja environment
  that will return the necessary set of commands needed to
  install packages via apt-get and/or URLs to .deb packages
- Updates install_packages macro to make use of the method
  above

Change-Id: Ie9318a7def54b5034ba91375fd8fd3b589d18349
Partially-implements: blueprint third-party-plugin-support
2016-08-15 08:17:13 -05:00
Jenkins
6ea99983fc Merge "Customizations for Tempest" 2016-08-14 14:14:48 +00:00
Jenkins
1f899e1c99 Merge "Minor Readability Adjustments to Operating Kolla" 2016-08-14 14:08:10 +00:00
Jenkins
c2e578b375 Merge "Add upgrade tasks for Ceilometer" 2016-08-14 14:08:03 +00:00
Jenkins
143adac58a Merge "Add --user-domain when adding heat role admin" 2016-08-14 13:57:04 +00:00
Jenkins
349f46950b Merge "iscsi initiator names must be unique among hosts" 2016-08-13 03:04:43 +00:00
Jenkins
b7f61a2f35 Merge "Customizations for kolla-toolbox" 2016-08-13 02:52:05 +00:00
Jenkins
e764041f69 Merge "Customizations for Glance" 2016-08-12 15:46:09 +00:00
Jenkins
a4cd16eb60 Merge "Keystone interface address and memcached override" 2016-08-12 15:45:35 +00:00
Jenkins
aa38185331 Merge "Customizations for Kuryr" 2016-08-12 15:38:31 +00:00
Jenkins
4953b3822f Merge "Customizations for Designate" 2016-08-12 15:37:59 +00:00
Jenkins
eda1159a86 Merge "Fix LVM2 in Ubuntu section in Cinder guide" 2016-08-12 15:32:55 +00:00
Duong Ha-Quang
0faf91c6eb Fix LVM2 in Ubuntu section in Cinder guide
- Fix mount option for configfs
- Add note about open-iscsi service in Ubuntu

Change-Id: I8df90dd8cd626ee01456be104ed01c4a0fe624b2
Closes-Bug: #1612170
2016-08-13 00:18:19 +07:00
Jenkins
5f4ef0d84b Merge "Customizations for OpenStack Base" 2016-08-12 15:32:46 +00:00
Jenkins
be18f37107 Merge "Updated from global requirements" 2016-08-12 11:14:32 +00:00
Shaun Smekel
6d84d8616b Customizations for Tgtd
This patchset contains customization of Dockerfile of the Tgtd
container.

Change-Id: I3a9ba82026fb7f596384885360339f67dc10495c
Partially-implements: blueprint third-party-plugin-support
2016-08-12 21:10:06 +10:00
Jenkins
dd853d0c47 Merge "Revert "Remove files from /var/lib/apt/lists when cleaning up on Ubuntu/Debian"" 2016-08-12 10:08:28 +00:00
Jenkins
a2e369982d Merge "Fix interface address for Neutron-server" 2016-08-12 10:02:44 +00:00
OpenStack Proposal Bot
de7e8bc00b Updated from global requirements
Change-Id: Ibbb49c8964aa0af663ad15874dea7959dd5cabcb
2016-08-12 09:56:30 +00:00
Jenkins
ecf1876ee9 Merge "Document the use of external Ceph journal drives" 2016-08-12 09:54:03 +00:00
Eduardo Gonzalez
d2215eab04 Customizations for Designate
This patchset contains customization of Dockerfile of designate
containers

Change-Id: I846437df7c3c417846f1c771883e5eb266b78a37
Partially-implements: blueprint third-party-plugin-support
Signed-off-by: Eduardo Gonzalez <dabarren@gmail.com>
2016-08-12 11:29:28 +02:00
Shaun Smekel
c2f6cb1573 Customizations for Kuryr
This patchset contains customization of Dockerfile of the Kuryr
container.

Change-Id: I254befb427530949284f645c9d61c54331aba53a
Partially-implements: blueprint third-party-plugin-support
2016-08-12 08:04:22 +10:00
Shaun Smekel
9b265dd112 Customizations for OpenStack Base
This patchset contains customization of Dockerfile of the
OpenStack Base container.

Change-Id: I20ce24a296ace45169131463c992f6f0e9b4d131
Partially-implements: blueprint third-party-plugin-support
2016-08-12 07:44:48 +10:00
Shaun Smekel
503120657e Customizations for Swift
This patchset contains customization of Dockerfile of Swift
containers.

Change-Id: I69250c4d9f6cc3949c9b9b52ea4b0cc2aec0231e
Partially-implements: blueprint third-party-plugin-support
2016-08-12 07:16:19 +10:00
Shaun Smekel
43d2a0b78f Customizations for Tempest
This patchset contains customization of Dockerfile of the Tempest
container.

Change-Id: I32751bdd400978336d29e3a1c5c758d33316edfa
Partially-implements: blueprint third-party-plugin-support
2016-08-12 07:02:39 +10:00
Jenkins
56cab3c7ea Merge "Customizations for Watcher" 2016-08-11 20:50:33 +00:00
Eduardo Gonzalez
b9a2839da8 Customizations for Watcher
This patchset contains customization of Dockerfile of Watcher
containers

Change-Id: I4d3f2af3e1d622b94d20f3d1f48a972afcff81b8
Partially-implements: blueprint third-party-plugin-support
Signed-off-by: Eduardo Gonzalez <dabarren@gmail.com>
2016-08-11 15:42:25 +02:00
Kirill Shileev
8306864e28 Customizations for Glance
This patchset contains customization of Dockerfile of Glance
containers

Also removed mkdir /etc/ceph as obsolete.

Change-Id: I3ba6e0d2dca1ecf72cf9f1b00e05e6955611c361
Partially-implements: blueprint third-party-plugin-support
2016-08-11 14:04:41 +03:00
Ken Wronkiewicz
37b3c8c354 Keystone interface address and memcached override
Note: This should not result in any behavior changes in regular Kolla,
just Kolla-Kubernetes and only when you've overridden stuff in globals.yml

Allows override of interface address and memcached pools, so that
Kubernetes can do the right thing.

There are some significant architectural issues involved in
memcached pooling in the Kolla-kubernetes world.  Avoiding them right
now.

Current working Kolla-Kubernetes globals.yml file, assuming that your
memcached servers are available under the DNS alias "memcached":

api_interface_address: "0.0.0.0"

memcached_servers: "memcached"

keystone_database_address: "mariadb"
keystone_admin_url: "{{ admin_protocol }}://keystone-admin:{{ keystone_admin_port }}/v3"
keystone_internal_url: "{{ internal_protocol }}://keystone-public:{{ keystone_public_port }}/v3"
keystone_public_url: "{{ public_protocol }}://keystone-public:{{ keystone_public_port }}/v3"

Co-authored-by: Ryan Hallisey <rhallise@redhat.com>
Change-Id: I5126f81da7b4d48001b87f73d58bbbfad658209c
Partially-implements: blueprint api-interface-bind-address-override
2016-08-11 05:33:56 -04:00
Ken Wronkiewicz
99a1662f61 Fix interface address for Neutron-server
Note: This should not result in any behavior changes in regular Kolla, just Kolla-Kubernetes and only when you've overridden stuff in globals.yml

Binds to the api_interface_address variable and uses the keystone and memcached facts we defined in earlier patches.

Co-authored-by: Ryan Hallisey <rhallise@redhat.com>
Change-Id: I8610f4adaa557a21fedd05601e10f5c308fd7ce3
Partially-implements: blueprint api-interface-bind-address-override
2016-08-11 05:33:32 -04:00
Ross Krumbeck
e4259f805b Fix designate bootstrap.
According to
http://docs.openstack.org/developer/designate/getting-started.html#initialize-start-the-central-service
designate database bootstrap to be done by designate-manage database sync.
Was also missing designate-manage pool_manager_cache sync.
designate-manage command is packaged with designate-central.
Boot strap commands moved to designate-central.
Added creation of log directories.
Added python2-oslo-reports and python2-suds for bootstrap to complete.

Change-Id: I3896064b0abb31c96307b16005a340fc193aac3c
Closes-Bug: 1610795
2016-08-11 11:03:27 +10:00
Dave Walker (Daviey)
c14636c61f Add --user-domain when adding heat role admin
The --user-domain parameter is required when adding the role for
Heat.  Without it, the command fails and the bootstrap
container exits early with the error message:

"No user with a name or ID of 'heat_domain_admin' exists."

Change-Id: I6f813edde3f437bca3ef521a43454146082bc5f5
Closes-bug: #1611768
Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2016-08-11 00:31:19 +01:00
Vladislav Belogrudov
19a40963f7 iscsi initiator names must be unique among hosts
Initiator names are generated during image build and therefore are
not unique in multi-host environment. Instead the names should be
autogenerated during first start of iscsid containers.

Change-Id: Ia439b1563c9c9d6c26d8a314fe2817ba493dacb5
Closes-Bug: 1611775
2016-08-10 17:09:50 +03:00
Ken Wronkiewicz
cc4150292c Fix intf address for RabbitMQ and disable cluster for Kube
enable_rabbitmq_cluster is now a "yes" by default but you can set it
to "no" if you want to disable clustering under any circumstances.

The agreement made at OpenStack in Austin was that Kolla-Kubernetes
would concentrate on RabbitMQ and MariaDB without clustering but
with persistent storage and workload migration, then examine how to
do proper distributed functionality as the project progresses, so I
am just following what we'd already agreed upon.

First, it helps us deal with issues of version upgrades without
dealing with clustered version upgrades and the synchronization
thereof.

Second, it provides an alternative model for durability when used in
Kubernetes.  Understand that, if we disable RabbitMQ's clustering,
Kubernetes is still able to re-schedule the queue off of a failed node
in ways that Kolla-Ansible is not.  There are known issues with
RabbitMQ clustering, especially with auto-heal turned on.  For many
small-to-mid-sized clusters, it's going to provide for a better
operator experience to have the known potential for a 30 second blip
after RabbitMQ node failure than it is to have the known potential
for partition and data loss and/or manual operations after you've
turned off auto-heal.

Kolla-kubernetes has already turned off host networking for the
RabbitMQ pod; it's safe to set the interface address in the
Kubernetes context.

The question was asked why don't I just set the RabbitMQ cluster to be
a single instance.  It's unlikely that Kubernetes RabbitMQ with a
PetSet will be clustered in the same declaritive fashion as the
rabbitmq-clusterer plugin. Easier to just disable it and worry about
how to configure the kube-friendly clustered RabbitMQ at a later point
in time.  Furthermore, it's an entirely valid case for many OpenStack
control planes hosted atop Kolla-Kubernetes to accept the possibility
of a 30-60 second blip in lieu of the long and questionable history
of RabbitMQ clustering in production.

Co-authored-by: Ryan Hallisey <rhallise@redhat.com>
Change-Id: I7f0cb22d29a418fce4af8d69f63739859173d746
Partially-implements: blueprint api-interface-bind-address-override
2016-08-10 09:40:54 -04:00
Paul Bourke
495a905b80 Revert "Remove files from /var/lib/apt/lists when cleaning up on Ubuntu/Debian"
This reverts commit 4e8bf3f90da2b1b36575528a30926a575bfc4095.

It seems removing /var/lib/apt/lists is having some unintended side
effects causing apt to not find packages [0]

[0] http://logs.openstack.org/87/350587/10/check/gate-kolla-dsvm-build-ubuntu-source/c0a22a3/console.html#_2016-08-09_13_41_14_477480

Change-Id: I89042e5883f19fddbae11d75b788f87ad5d871a1
2016-08-10 11:46:48 +00:00
Jenkins
54c745fc36 Merge "Port with_ loop variable syntax to Ansbile 2" 2016-08-10 06:44:00 +00:00
Jenkins
b649bb7d4a Merge "Remove unused project_yaml parameter from role metadata files" 2016-08-10 05:50:31 +00:00
Jenkins
00c6fa87f7 Merge "Introduce a script to launch ovsdb-server process" 2016-08-10 02:17:55 +00:00