aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles
AgeCommit message (Collapse)AuthorFilesLines
2016-08-09Merge "Change cleanup to destroy as cleanup is a misnomer"Jenkins8-11/+11
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 DeCapite8-11/+11
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"Jenkins5-29/+25
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 "Correct mistral-executor image name"Jenkins1-1/+1
2016-08-05Merge "Cleanup images as part of kolla-ansible cleanup"Jenkins4-0/+17
2016-08-05Merge "Enable central logging without deploying elasticsearch/kibana"Jenkins2-2/+4
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-03Enable central logging without deploying elasticsearch/kibanaChristian Berendt2-2/+4
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"Jenkins5-14/+66
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-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-01Merge "Add empty upgrade.yml file to ceilometer role"Jenkins1-0/+1
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
2016-08-01Fix undefined error for cinder templateliyingjun1-1/+1
openstack_service_worker should be openstack_service_workers Change-Id: Id4fb54bc1d4363cfa056851d1a32ee56411e7ba8 Closes-bug: #1607482
2016-07-28Enable kolla k8s to override bind api bind address in genconfigMichal (inc0) Jastrzebski2-6/+11
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-28Merge "Use lbaas alias instead of the class name"Jenkins1-1/+1
2016-07-27External Ceph - Implementation NovaMathias Ewald5-14/+66
Introduced nova backend selection flag for Ceph and priority if multiple backends are configured Add mechanism to deploy arbitrary ceph.conf and keyring files into nova-compute and nova-libvirt containers Added documentation Change-Id: Id010ca9cc2d914e5358ef79edeb600a28220dd4b Implements: blueprint external-ceph
2016-07-27Merge "Consistent external Ceph configuration for Glance"Jenkins3-4/+4
2016-07-27Use a lower number of the workersJeffrey Zhang7-0/+16
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-27Fix the neutron-lbaas-agent container issuesJeffrey Zhang4-11/+9
* copy the ml2_conf.ini file to the container * map the host /etc/localtime file to the container * remove the output_file and wrap_with options in the lbaas_agent.ini file, which are useless * remove the interface_driver in the lbaas_agent, which is configured in the neutron.conf file * install net-tools package into the container, which is used by the neutron-lbaas Change-Id: Ia58d825e41d3b843d8c6e6b3c9ee1756c1aed1ac Closes-Bug: #1606755
2016-07-27Make the enable_isolated_metadata and force_metadata to yes in defaultJeffrey Zhang1-0/+2
The cloud-init will not work when those two value are no in a none router environment Closes-Bug: #1606756 Change-Id: I2436a8a512b3190605ba97c22b350ea0478b7a84
2016-07-27Use the node_custom_config variable in the config.yml fileJeffrey Zhang2-6/+6
Fixed the ceilometer and neutron lbaas agent. TrivialFix Change-Id: Ie06826eb358e1a6487f96a978d8f191d79a0e054
2016-07-26Merge "Allow custom configurations for ceilometer"Jenkins1-0/+2
2016-07-25Merge "Pull tgtd image when need"Jenkins1-0/+7
2016-07-25Simplify the Cinder LVM backendJeffrey Zhang5-29/+25
Remove the unnecessary option in the group_vars/all.yml file. * removed some cinder.conf options like volume_backend_name, iscsi_helper, iscsi_protocol etc. these value can be configured by custom cinder.conf file, no need export as global variables. * remove meaningless iscsi_ip_addess, which is not used in LVM driver * force start iscsi relate when enable_cinder_backend_lvm is yes TrivialFix Change-Id: Ifcbfdad15e4d68bc5f20fc77e0315a09983ef022
2016-07-25Pull tgtd image when needJeffrey Zhang1-0/+7
TrivialFix Change-Id: Ib9812d5c4f26f87bba1f42d809caf6c9233aa8f2
2016-07-24Add empty upgrade.yml file to ceilometer roleChristian Berendt1-0/+1
TrivialFix Change-Id: Iab9cb7e188f441a0583464df64d006d1fb75ba43
2016-07-24Consistent external Ceph configuration for GlanceMathias Ewald3-4/+4
Made glance follow the <service>_backend_ceph configuration pattern. Change-Id: I7bc2b3b35d96bd297d520750dccd7333fa68d941 Closes-Bug: #1605962
2016-07-23Allow custom configurations for ceilometerChristian Berendt1-0/+2
TrivialFix Change-Id: I47f3ca22a814b6dbe3761cff6c63c60df8bc55d0
2016-07-22Add Watcher ansible roles and templatesDave Walker (Daviey)21-0/+441
Previous work on Watcher added the Docker images, this change adds the ansible configuration. There is support for HA, via haproxy to balance across the Watcher API hosts. There is also a hook into nova.conf to conditionally add Nova compute Host metrics via Ceilometer if Watcher is enabled. This defaults to enabled false. Change-Id: I8763528bb6ff12943b810212c71396d2d7cf6836 Partial-bug: #1598929 Partially-implements: bp watcher Signed-off-by: Dave Walker (Daviey) <email@daviey.com>
2016-07-22Merge "implement Ansible Tempest role"Jenkins11-0/+225
2016-07-22Use lbaas alias instead of the class nameJeffrey Zhang1-1/+1
Plugin alias is recommended to use. TrivialFix Change-Id: I2b8cb9a8e70e6310000bf6b9ad731f85cbf9e04b
2016-07-22Merge "Bind the ceilometer-api process to the api_interface only"Jenkins1-0/+4
2016-07-22Merge "Added ceilometer decision in neutron.conf for event notifications"Jenkins1-0/+5