4430 Commits

Author SHA1 Message Date
Ken Wronkiewicz
85db94e5b7 Glance interface address, memcached override, and glance 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, memcached pools, and glance registry
host 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 with this Kolla-Kubernetes globals.yml file:

api_interface_address: "0.0.0.0"

memcached_servers: "memcached"

keystone_database_address: "mariadb"
keystone_admin_url: "http://keystone-admin:35357/v3"
keystone_internal_url: "http://keystone-public:5000/v3"
keystone_public_url: "http://keystone-public:5000/v3"
glance_registry_host: "glance-registry"

Two tings to note:
 * This depends on a kolla-kubernetes patch, so that it won't be merged
   until it's safe for glance to bind to 0.0.0.0.  It's OK to bind to
   0.0.0.0 in the Kubernetes world because the network fabric controls
   access.
 * In Kolla-Kubernetes, the global.yml file doesn't do var substitution
   so you have to be explicit about the URLs, otherwise Keystone will
   look like it was provisioned but it won't quite be provisioned right.

Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>
Change-Id: Ic87566118a1d4f552748392ff394b9b121c91887
Partially-implements: blueprint api-interface-bind-address-override
Depends-On: I586ce1c6c3300254c4e2a398ff46645df576aeb0
2016-08-02 12:39:26 -04:00
Ken Wronkiewicz
a6d89f44e9 Horizon 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 with this Kolla-Kubernetes globals.yml file:

api_interface_address: "0.0.0.0"

memcached_servers: "memcached"

keystone_database_address: "mariadb"
keystone_admin_url: "http://keystone-admin:35357/v3"
keystone_internal_url: "http://keystone-public:5000/v3"
keystone_public_url: "http://keystone-public:5000/v3"

Three tings to note:
 * In Kolla-Kubernetes, the service is not using net=host, so a
   0.0.0.0 interface address is totally OK.  That patch has been merged.
 * In Kolla-Kubernetes, the global.yml file doesn't do var substitution
   so you have to be explicit about the URLs, otherwise Keystone will
   look like it was provisioned but it won't quite be provisioned right.
 * In order to not duplicate tons of code, moved the keystone_admin_url /
   keystone_internal_url / keystone_public_url to the common defaults
   from the keystone defaults.

Co-Authored-By: Ryan Hallisey <rhallise@redhat.com>
Change-Id: I586ce1c6c3300254c4e2a398ff46645df576aeb0
Partially-implements: blueprint api-interface-bind-address-override
2016-08-02 12:39:22 -04:00
Ken Wronkiewicz
492411f267 Fix interface address for memcached atop kubernetes
Change-Id: I0fdbef7c5a2bfc13e01c26d8107c7ad03881b520
Partially-implements: blueprint api-interface-bind-address-override
Depends-On: Ia0e4951c327be01b717aebb86ef4c3a4e7ed170e
2016-08-02 12:39:15 -04:00
Jenkins
5ce4de6b2b Merge "Change config for lbaas service_plugins" 2016-08-02 12:41:50 +00:00
Jenkins
6d6cf1dc4c Merge "Add empty upgrade.yml file to ceilometer role" 2016-08-01 12:59:02 +00:00
Jenkins
8c30943688 Merge "Add "Programming Language :: Python :: 3" to setup config file" 2016-08-01 12:49:42 +00:00
Jenkins
4dfed6a07c Merge "Fix undefined error for cinder template" 2016-08-01 12:15:26 +00:00
liyingjun
fc97ff1021 Change config for lbaas service_plugins
Lbaasv2 is used by default, we should change service_plugins for lbaas
from 'lbaas' to
'neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2'
as suggested in networking-guide:
http://docs.openstack.org/mitaka/networking-guide/adv-config-lbaas.html#configuring-lbaas-v2-with-an-agent

Change-Id: I49a24500403bd2717fcad49742830c6ceaaf210b
Closes-bug: #1608344
2016-08-01 11:48:01 +08:00
liyingjun
ae3d381de7 Fix undefined error for cinder template
openstack_service_worker should be openstack_service_workers

Change-Id: Id4fb54bc1d4363cfa056851d1a32ee56411e7ba8
Closes-bug: #1607482
2016-08-01 10:01:53 +08:00
Christian Berendt
18fb1b2412 Add "Programming Language :: Python :: 3" to setup config file
TrivialFix

Change-Id: Ifd7a60d4cf25e7ec628ad6913803539b8edc83e8
2016-08-01 01:48:40 +02:00
Mathias Ewald
e5ca547f37 Added telegraf container
Extended base container to include influxdb repositories

Added telegraf container with package from influxdb repo

Change-Id: I6ccf952d7b42eabe8ff7bdbd6471e395db86aa02
Partially-Implements: Blueprint performance-monitoring
2016-07-29 13:19:40 +00:00
Jenkins
74ea96bacf Merge "Clean up Glance image after sanity check" 2016-07-29 12:17:04 +00:00
Jenkins
1ae2b3c904 Merge "Use /etc file to overwrite the docker.service file" 2016-07-29 12:07:46 +00:00
Jenkins
d1f61dfa04 Merge "Enable kolla k8s to override bind api bind address in genconfig" 2016-07-29 11:59:01 +00:00
Jeffrey Zhang
08985a0d79 Use /etc file to overwrite the docker.service file
Docker engine is updated to 1.12. The docker.service in the rpm is
change. Use the /etc/systemd/system/docker.service.d/kolla.conf file to
overwrite the default parameters

TrivialFix

Change-Id: Ice56808f4a1ce1ee57bf5e48c779d033ea6c759c
2016-07-29 17:30:10 +08:00
Jenkins
6ffab8e65f Merge "Fixing crond crashing with centos/source" 2016-07-28 20:52:31 +00:00
Michal (inc0) Jastrzebski
5838bd0b3c Enable kolla k8s to override bind api bind address in genconfig
It's good if k8s reuses ansible templates, but we need to abstract all
ansible specific variables to achieve that.

- Implements ansible override variable api_interface_address.
- Adds api_interface_address setting and comments to globals.yml
- Makes changes to mariadb templates to accept this new setting.
- Disabled Galera when api_interface_address==0.0.0.0 in the
  case of Kubernetes.  Otherwise, mariadb fails to start.
- Tested with and without setting to ensure kolla genconfig output
  does not change when setting is disabled or undefined.

Change-Id: Ia0e4951c327be01b717aebb86ef4c3a4e7ed170e
Partially-implements: blueprint api-interface-bind-address-override
Co-authored-by: David Wang <dcwangmit01@gmail.com>
Co-authored-by: Ryan Hallisey <rhallise@redhat.com>
Co-authored-by: Kevin Fox <kevin@efox.cc>
2016-07-28 11:59:28 -04:00
Jenkins
be77c38cfb Merge "Make kolla-build list-dependencies option work" 2016-07-28 15:34:57 +00:00
Serguei Bezverkhi
2df3d25019 Fixing crond crashing with centos/source
This PS address the issue encountered with the latest master, crond
container's docker file did not have any logic for source type of
installation as a result no binaries were install causing container's
constant restart. Fixing logic in cron's docker file.

Change-Id: I318aa9cb16517e21e0fe58393ee577701331b077
Closes-Bug: #1607336
2016-07-28 08:06:31 -04:00
Jenkins
c895034030 Merge "Use lbaas alias instead of the class name" 2016-07-28 11:38:27 +00:00
OpenStack Proposal Bot
e504dade71 Updated from global requirements
Change-Id: Ic62e67fe10e551a673d809fb02c3d99592645926
2016-07-28 06:02:22 +00:00
Jenkins
9aa0acb65b Merge "Consistent external Ceph configuration for Glance" 2016-07-27 19:28:13 +00:00
Jenkins
d3c7c08062 Merge "Customizations for rally" 2016-07-27 17:56:04 +00:00
Jenkins
3f065d8171 Merge "Use a lower number of the workers" 2016-07-27 17:55:08 +00:00
Jenkins
00d9bbf554 Merge "Customizations for openvswitch" 2016-07-27 12:01:29 +00:00
Jeffrey Zhang
3c3b0288b4 Use a lower number of the workers
Use a lower number of workers rather than the default value, which is
equal to the number of the cpu. Otherwise, in a multi cpu environment,
the number of the processes will very high.

In this PS, we use min(5, << number of cpu >>) as the default worker
count.

Closes-Bug: #1582254
Change-Id: I1c32cf0db794b43b8fb8be18f39190422ca5846f
2016-07-27 16:36:25 +08:00
Swapnil Kulkarni (coolsvap)
843f934ede Make kolla-build list-dependencies option work
Change-Id: I465cc8a79b12c188569c9537e14763a6bef8dd43
Closes-Bug:#1606450
2016-07-27 12:37:11 +05:30
qinchunhua
9f596ffe4f Fix dict.values() PY3 compatible
The dict.values()[0] will raise a TypeError in PY3
as dict.values() doesn't return a list any more in PY3
but a view of list.

TrivialFix.

Change-Id: I01297bb68e45db4d15800d2d42e08560da7346bd
2016-07-27 03:55:51 +00:00
Jenkins
02b2280323 Merge "Use the node_custom_config variable in the config.yml file" 2016-07-27 02:29:50 +00:00
riwinter
f96458fcbf Customizations for openvswitch
This patchset contains customization of Dockerfiles
of openvswitch containers

Change-Id: I9404fbee8552d5218ac57abf8a01bf259db729f5
Partially-implements: blueprint third-party-plugin-support
2016-07-26 19:26:48 -04:00
Jenkins
4f3c213cbf Merge "Python 3: dict.iteritems()" 2016-07-26 17:49:28 +00:00
Jeffrey Zhang
5fe1676f72 Use the node_custom_config variable in the config.yml file
Fixed the ceilometer and neutron lbaas agent.

TrivialFix

Change-Id: Ie06826eb358e1a6487f96a978d8f191d79a0e054
2016-07-27 00:22:27 +08:00
Jenkins
27e7f4bc5d Merge "Allow custom configurations for ceilometer" 2016-07-26 16:02:25 +00:00
Patrick Powell
4f3efd7d4b Clean up Glance image after sanity check
The sanity check creates an image that needs to be
deleted after in order for the sanity check to
pass so that we complete deployment with a clean
enviroment.
Closes-bug: #1606580

Change-Id: Ib347f69b69229e39925f0c1ff11069b15afcf192
2016-07-26 10:12:43 -04:00
qinchunhua
1bddef94cb Python 3: dict.iteritems()
Replace dict.iteritems() with dict.items(). The Python 3 dict
type has no iteritems() method, the old iteritems() method was
renamed to items().

TrivialFix.

Change-Id: I2137e72554fd16d2c70e50306e4f57d27e35bcd3
2016-07-26 12:42:07 +00:00
Jenkins
b44abe078f Merge "Fixes Dockerfile for neutron-lbaas-agent" 2016-07-26 09:43:42 +00:00
liyingjun
9cbceda259 Fixes Dockerfile for neutron-lbaas-agent
Remove the extra '\' after RUN command for ubuntu, otherwise the later
COPY will not run correctly for ubuntu image.

Change-Id: Ie7de201711c6e684f58665027888c34f4c245487
Closes-bug: #1605453
2016-07-26 16:06:41 +08:00
Jenkins
9b704e99b5 Merge "Added unit test for volume operations" 2016-07-26 07:53:22 +00:00
Jenkins
73ac202563 Merge "Fix Wording and Typos in Deployment Philosophy" 2016-07-26 03:35:22 +00:00
Jenkins
7a48b61e89 Merge "Customizations for cron" 2016-07-26 03:30:59 +00:00
Kenny Johnston
c4f825f37e Fix Wording and Typos in Deployment Philosophy
Improved readability and comprehension of
deployment philosophy doc.

Change-Id: I3e735d20c64f6a44b927e856116ff8d15cfb7292
2016-07-25 15:12:06 -05:00
Eduardo Gonzalez
c5149a017d Customizations for rally
This patchset contains customization of Dockerfile of rally containers

Change-Id: I8b22525320939dc3235c9fd3af7e04356125c1ca
Partially-implements: blueprint third-party-plugin-support
Signed-off-by: Eduardo Gonzalez <dabarren@gmail.com>
2016-07-25 19:20:46 +01:00
Jenkins
a06a57ba54 Merge "Fix typo in cinder guide" 2016-07-25 16:58:02 +00:00
Abe Music
9ad412a418 Customizations for cron
This patchset contains customization of Dockerfile
of cron container

Change-Id: I7066b281d2a546e52ab0fdc2722da2e0026fc3a7
Partially-implements: blueprint third-party-plugin-support
2016-07-25 09:41:40 -05:00
Jenkins
b2d69946c7 Merge "Pull tgtd image when need" 2016-07-25 12:01:36 +00:00
Yongfeng Du
8cfd14d932 Fix typo in cinder guide
TrivialFix

Change-Id: I49b702d2b2494ca3a9fac81248faa9e21ca2e4f0
2016-07-25 17:44:54 +08:00
Jeffrey Zhang
618d5d20cc Pull tgtd image when need
TrivialFix

Change-Id: Ib9812d5c4f26f87bba1f42d809caf6c9233aa8f2
2016-07-25 09:48:44 +08:00
Christian Berendt
2730005c47 Add empty upgrade.yml file to ceilometer role
TrivialFix

Change-Id: Iab9cb7e188f441a0583464df64d006d1fb75ba43
2016-07-24 20:56:54 +02:00
Mathias Ewald
a66f0076ea Consistent external Ceph configuration for Glance
Made glance follow the <service>_backend_ceph configuration pattern.

Change-Id: I7bc2b3b35d96bd297d520750dccd7333fa68d941
Closes-Bug: #1605962
2016-07-24 07:04:05 +00:00
Jenkins
0ff90a6f10 Merge "Add Watcher ansible roles and templates" 2016-07-23 12:35:53 +00:00