4546 Commits

Author SHA1 Message Date
Jeffrey Zhang
05ed43e335 Fix the memcache location value in horizon local settings
When setting multi memcached servers, the value should be a list
rather then a comma joined string

This patch set I586ce1c6c3300254c4e2a398ff46645df576aeb0 set it in
wrong

TrivialFix

Change-Id: Ic612658ab0310c6764310bbca92c925da6d47f6c
2016-08-14 17:16:24 +08: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
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
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
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
Serguei Bezverkhi
41ec75b567 Introduce a script to launch ovsdb-server process
The reason for introducing this script is to be able
to launch ovsdb-server and initialize it (create external bridge and plug
external interface) in one shot. It is applicable ONLY to Kubernetes environment
and it is required for Kubernetes DaemonSet usage. The behavior in classical
Kolla has not been changed.

TrivialFix

Change-Id: I54897cc2c0f2bcaaf0411822f3409bf96e92833d
2016-08-09 19:03:20 -04:00
Jenkins
559631815a Merge "Cinder-backup requires iscsid running on the same host" 2016-08-09 18:15:22 +00:00
Duong Ha-Quang
34975e291e Port with_ loop variable syntax to Ansbile 2
Migrate to full variable syntax in with_ loop
instead of bare variables for:
- ceph
- ceilometer
- glance
- heat
- horizon
- keystone
- mariadb
- memcached
- neutron
- nova
- rabbitmq

Change-Id: Ib925b4ecea47ac758a77739c9c7e140f06933b08
Partial-Implements: blueprint ansible2
2016-08-09 23:23:21 +07:00
Christian Berendt
057c92fe06 Document the use of external Ceph journal drives
Change-Id: I3f0873f425f49514e6f086a6baa25dc3a3ee1dd5
Closes-bug: #1560049
2016-08-09 16:36:58 +02:00
Vladislav Belogrudov
807827346d Cinder-backup requires iscsid running on the same host
Cinder-backup containers require iscsid to mount iscsi volumes
to backup if the volumes are on different storage host.

Change-Id: Ifc0a30584a4f086b71278616d34bf87863d3e6e5
Closes-Bug: 1611330
2016-08-09 13:55:25 +03:00
Robin Naundorf
fc91ce7d2f Change Quickstart to follow code conventions
* Remove the -y for every occurance of package install
  * Replace `source` with `.`

according to
http://docs.openstack.org/contributor-guide/writing-style/code-conventions.html

Change-Id: I977c5dd58207be67a5bfc96d5ae1f9958b46089a
2016-08-09 12:50:26 +02:00
Jenkins
8f90e62b48 Merge "Vagrant plugin check" 2016-08-09 10:09:24 +00:00
Jenkins
88f0fb20dc Merge "Make Cinder access glance in round robin fashion" 2016-08-09 09:59:35 +00:00
Jenkins
0c87d4256a Merge "Fix inconsistencies in git url" 2016-08-09 09:57:04 +00:00
Jenkins
4b735e2bf2 Merge "Make the enable_isolated_metadata and force_metadata to yes in default" 2016-08-09 04:29:08 +00:00
Jenkins
2dcffe5340 Merge "Doc wording update" 2016-08-09 03:57:12 +00:00
Jenkins
05ccaaf19d Merge "Fix typo in doc" 2016-08-09 02:45:23 +00:00
Jenkins
3082b2da69 Merge "Remove files from /var/lib/apt/lists when cleaning up on Ubuntu/Debian" 2016-08-09 02:37:05 +00:00
Jenkins
661c6a059f Merge "Change cleanup to destroy as cleanup is a misnomer" 2016-08-09 02:35:43 +00:00
Jenkins
969fccdede Merge "Reducing disk footprint for Ubuntu/Debian images" 2016-08-09 02:34:49 +00:00
Xinyuan Huang
1bbd6b250c Fix typo in doc
TrivialFix

Change-Id: I74d6c763116adeda620b281fec87e595df82b796
2016-08-08 16:41:25 -07:00
Duane DeCapite
6d45786d59 Change cleanup to destroy as cleanup is a misnomer
The cleanup command in the external API is a misnomer and should
be called destroy.

Change-Id: I083e80699e09bb24266ce1bf549772a5de92a49e
Closes-Bug: 1610364
2016-08-08 13:37:10 -04:00
Jenkins
aa5864fc40 Merge "Fix prechecks of a vip address" 2016-08-08 16:16:42 +00:00
OpenStack Proposal Bot
4e8887ce3e Updated from global requirements
Change-Id: Ia8e8bf86b8512cac7a3c0b200d690b5286012813
2016-08-08 04:32:19 +00:00
Hiroki Ito
9c69d4b2e0 Fix prechecks of a vip address
In the case of a single node environment without haproxy, the var
"kolla_internal_vip_adress" in global.yml should be the ip address
of the host. However, the prechecks will fail, because this ip
address is used by the host node and is pingable.

This commit fixes the prechecks of a vip address properly.
When the var "enable_haproxy" is "no", this fix will skip prechecks
for a vip address.

Change-Id: I0b752f179d20f82e3d6331047ee0bd802ab99a4b
Closes-Bug: #1570935
2016-08-08 10:03:05 +09:00