aboutsummaryrefslogtreecommitdiff
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
2016-08-10Merge "Port with_ loop variable syntax to Ansbile 2"Jenkins13-58/+58
2016-08-10Merge "Remove unused project_yaml parameter from role metadata files"Jenkins4-4/+4
2016-08-10Merge "Introduce a script to launch ovsdb-server process"Jenkins1-1/+1
2016-08-09Introduce a script to launch ovsdb-server processSerguei Bezverkhi1-1/+1
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-09Merge "Cinder-backup requires iscsid running on the same host"Jenkins2-0/+2
2016-08-09Port with_ loop variable syntax to Ansbile 2Duong Ha-Quang13-58/+58
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-09Cinder-backup requires iscsid running on the same hostVladislav Belogrudov2-0/+2
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-09Merge "Make Cinder access glance in round robin fashion"Jenkins1-1/+3
2016-08-09Merge "Fix inconsistencies in git url"Jenkins1-1/+1
2016-08-09Merge "Make the enable_isolated_metadata and force_metadata to yes in default"Jenkins1-0/+2
2016-08-09Optimize horizon cache and compress for http responseJeffrey Zhang1-0/+44
Leverage the browser cache and compress to speed up the file transfer. In RHEL based image, the expire and deflate module are enabled in default. In the Debian based image, only the deflate is enabled * Enable expire module on the Debian based image * Enable the expire for the assets resource * Enable the deflate for the http response Closes-Bug: #1605907 Change-Id: If25decc38a10a21929f72a89cdb350d4ac64a5a9
2016-08-09Merge "Change cleanup to destroy as cleanup is a misnomer"Jenkins9-12/+12
2016-08-08Add heka custom config to define user's log piplinejackning2-0/+17
Kolla's default heka pipline may not satisfy user's requirements, for example, sending openstack log to outer log analyze system. So it is necessary to add heka custom configuration for define user's encoders, outputs and other plugins. Change-Id: I48bd8d7e0afbc2d023c49c83041f87a04970bbb6 Closes-Bug: #1611164
2016-08-08Replace horizon default config with custom configjackning1-5/+11
Ansible's template action supports replacing horizon default config with custom config, it should only add with_first_found param to config.yml to support this. Change-Id: I45b8eed5b8d6c4d42672d99e41bc4eff7023a26f Closes-Bug: #1570677
2016-08-08Change cleanup to destroy as cleanup is a misnomerDuane DeCapite9-12/+12
The cleanup command in the external API is a misnomer and should be called destroy. Change-Id: I083e80699e09bb24266ce1bf549772a5de92a49e Closes-Bug: 1610364
2016-08-08Merge "Fix prechecks of a vip address"Jenkins1-0/+2
2016-08-08Fix prechecks of a vip addressHiroki Ito1-0/+2
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-07Remove unused project_yaml parameter from role metadata filesChristian Berendt4-4/+4
TrivialFix Change-Id: I7ff752fffe47e9571ea15acdad3edd4835f9e612
2016-08-07Enable the nova microversion apiJeffrey Zhang3-9/+18
* Use the nova microversion api for compute service * Use the legacy nova api for compute_legacy service * Update the nova service and endpoint during the upgrade stage This is what the devstack used now[0] [0] https://github.com/openstack-dev/devstack/blob/e777bbce3b18ce50abe683a2d96394e96a3b70bc/lib/nova#L408,L422 TrivialFix Change-Id: I0574a3116b1dd1702b4eccb2394538866675c4c1
2016-08-06Merge "Simplify the Cinder LVM backend"Jenkins7-37/+28
2016-08-06Fix inconsistencies in git urlRobin Naundorf1-1/+1
Github is just a mirror of the OpenStack git-repo. Changed from Github to OpenStack git url wherever possible. Change-Id: I7941ef86967de4efe7f23ff9fb11ec86c793901e
2016-08-06Merge "Replace keystone's wsgi config with custom config"Jenkins1-1/+5
2016-08-05Merge "Add Watcher default settings"Jenkins2-1/+26
2016-08-05Add Watcher default settingsDave Walker (Daviey)2-1/+26
This adds: - AIO and multinode inventory samples - Password (blank) fields for default password.yml - Default to not enabled, in globals.yml This is the last changeset in the series to add basic Watcher functionality to Kolla. Change-Id: I9daec0eadc8dad3d37e03e7d69783af003af0916 Closes-bug: #1598929 Partially-implements: blueprint watcher Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2016-08-05Merge "Fix the evaluating conditional for enable es and kibana"Jenkins1-2/+2
2016-08-05Merge "Correct mistral-executor image name"Jenkins1-1/+1
2016-08-05Fix the evaluating conditional for enable es and kibanaJeffrey Zhang1-2/+2
Fix the wrong if condition for enable_elasticsearch and enable_kibana TrivialFix Change-Id: I3d649d39b9eafb4526d8919f1cb962f6378815c7
2016-08-05Merge "Fix the kolla_docker issue with docker 1.12"Jenkins1-1/+4
2016-08-05Merge "Cleanup images as part of kolla-ansible cleanup"Jenkins4-0/+17
2016-08-05Merge "Change workers to be static when using kubernates"Jenkins1-1/+1
2016-08-05Merge "Enable central logging without deploying elasticsearch/kibana"Jenkins4-4/+16
2016-08-04Merge "Volume specification for ironic-api was invalid."Jenkins1-1/+2
2016-08-05Volume specification for ironic-api was invalid.Will Rouesnel1-1/+2
This prevented deploying ironic-api using kolla. Changing to a single entry list fixes the problem and allows the deploy to succeed. Closes-Bug: #1606702 Change-Id: I98c2b06ab08e3b8afcaeb712be377cb363220283
2016-08-04Replace keystone's wsgi config with custom configjackning1-1/+5
Ansible's template action supports replacing keystone's wsgi default config with custom config, it should only add with_first_found param to config.yml to support this. Change-Id: Id66302802db9a57188067982ea697f16faa1d8eb Closes-Bug: #1609655
2016-08-04Add upgrade tasks for CeilometerZhongShengping1-0/+6
Change-Id: I195363ab543f21bc9ac7f0b92d474dc9668ecb7b Closes-Bug: 1608519
2016-08-04Correct mistral-executor image nameMD NADEEM1-1/+1
TrivialFix Change-Id: I24838b3487baa97d8a03bbde2ecdfb42c29ebb80
2016-08-04Modify some spelling mistakesLu lei2-4/+5
Fix a spelling error, and modify some words. TrivialFix Change-Id: Ieb55bd2679291ab61080b55feaaaf3c494939978
2016-08-03Enable central logging without deploying elasticsearch/kibanaChristian Berendt4-4/+16
This changed introduces 4 new parameters to be able to use an existing elasticsearch service for central logging. * elasticsearch_address - address of elasticsearch server * elasticsearch_protocol - protocol (HTTP/HTTPS) used by elasticsearch server * enable_elasticsearch - deploy elasticsearch container * enable_kibana - deploy kibana container Closes-bug: #1584861 Change-Id: Ia1ff9ae8b6d9929c3826da02693d1e2fc9ea2522
2016-08-03Merge "External Ceph - Implementation Nova"Jenkins6-14/+73
2016-08-03Cleanup images as part of kolla-ansible cleanupPaul Bourke4-0/+17
TrivialFix Change-Id: I88004f08c75e7d648a615e64d59ccf655b6a1a13
2016-08-03Correct permissions to /etc/keystone/domainsMathias Ewald1-1/+1
Set permission for /etc/keystone/domains/ directory to 0700 instead of 0600 which is required for Keystone to be able to list directory contents. Change-Id: I7536cc3f0bcbc8aea298ad76713e45cbb93a4b27 Closes-Bug: #1609319
2016-08-03Change workers to be static when using kubernatesTakeaki Matsumoto1-1/+1
When orchestration engine is Kubernates, ansible_processor_vcpus is not defined. This patch changes workers to be static when using kubernates Change-Id: I4d77b2e48ea24c4ca8b86ec5b7e6029c054b247a Closes-Bug: #1609206
2016-08-02Glance interface address, memcached override, and glance override.Ken Wronkiewicz3-9/+27
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-02Horizon interface address and memcached overrideKen Wronkiewicz4-8/+16
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-02Fix interface address for memcached atop kubernetesKen Wronkiewicz1-1/+1
Change-Id: I0fdbef7c5a2bfc13e01c26d8107c7ad03881b520 Partially-implements: blueprint api-interface-bind-address-override Depends-On: Ia0e4951c327be01b717aebb86ef4c3a4e7ed170e
2016-08-02Merge "Change config for lbaas service_plugins"Jenkins1-1/+1
2016-08-02Fix the variable name mismatchMD NADEEM1-5/+5
Change-Id: I354d7350671bf6a6d6fb432b074144b4e02cd154 Closes-Bug: #1608841
2016-08-01Merge "Add empty upgrade.yml file to ceilometer role"Jenkins1-0/+1
2016-08-01Fix the kolla_docker issue with docker 1.12Jeffrey Zhang1-1/+4
After docker 1.12, the RepoTags will be None rather than [] in the image list API. This PS will handle the both case. Change-Id: Ie2da44b44229c2f190550755b50876f607f9cc0c Closes-Bug: #1608358
2016-08-01Change config for lbaas service_pluginsliyingjun1-1/+1
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