aboutsummaryrefslogtreecommitdiff
path: root/ansible
AgeCommit message (Collapse)AuthorFilesLines
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) Jastrzebski3-6/+28
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 Ewald6-14/+73
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"Jenkins4-6/+11
2016-07-27Use a lower number of the workersJeffrey Zhang8-0/+18
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-27Merge "Use the node_custom_config variable in the config.yml file"Jenkins2-6/+6
2016-07-26Merge "Python 3: dict.iteritems()"Jenkins1-4/+4
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-26Python 3: dict.iteritems()qinchunhua1-4/+4
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-25Merge "Pull tgtd image when need"Jenkins1-0/+7
2016-07-25Simplify the Cinder LVM backendJeffrey Zhang7-37/+28
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 Ewald4-6/+11
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)23-0/+455
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"Jenkins16-0/+247
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
2016-07-21Bind the ceilometer-api process to the api_interface onlyJeffrey Zhang1-0/+4
TrivialFix Change-Id: If8590b0f053844b8f68e4e2b0a73c1b3c34f23ed
2016-07-21Merge "Configurable policy.json for keystone"Jenkins2-0/+18
2016-07-20Added ceilometer decision in neutron.conf for event notificationsDennis Mueller1-0/+5
Changes the oslo_messaging_notifications driver of neutron if ceilometer is enabled Change-Id: I16667ceb6fe75aff7f324d342e5075e1b028c70e Closes-Bug: 1604793
2016-07-20Merge "Fix the failure to create instance snapshot"Jenkins1-0/+1
2016-07-20implement Ansible Tempest roleJeffrey Zhang16-0/+247
DocImpact Implments: blueprint ansible-tempest Change-Id: Iadd86d9d91438f056c433b9a2016f32587c92878
2016-07-19Fix the failure to create instance snapshotJeffrey Zhang1-0/+1
When making snapshot for instance with ceph enabled, nova will use upate image api to create the snapshot directly. with the patchset I7284dee828bc8ca00747bc7668b37fa7176afc85 in Glance, the show_multiple_locations must be True. Change-Id: Ic9612566e2ab8f641030fef97b519f11d942a915 Closes-Bug: #1604464
2016-07-19Merge "Fix 'reconfigure' command of kolla"Jenkins8-16/+16
2016-07-19Configurable policy.json for keystoneNenad Radojevic2-0/+18
Copy custom policy.json into keystone container Change-Id: I58787c3dd7adbeff47d0898c23db95f5919510d3 Closes-Bug: #1604431
2016-07-19External Ceph - Implementation CinderMathias Ewald8-45/+74
This patch adds support for external Ceph clusters for Cinder. For clean integration the backend configuration mechanism had to be slightly adjusted. We now have the option to enable multiple backends for Cinder independently. Currently, the flags cinder_backend_iscsi and cinder_backend_ceph are used to toggle backends. Documentation on how to use external ceph was added. Change-Id: I7e0267b90d62d6d881f24f063cdb894422ec8618 Partially-Implements: Blueprint: external-ceph
2016-07-19Merge "Change rgw frontend interface"Jenkins1-1/+1
2016-07-19Merge "Add missing configuration files for ceilometer"Jenkins6-0/+701
2016-07-19Add missing configuration files for ceilometerDennis Mueller6-0/+701
Added pipeline.yaml, event_pipeline.yaml and event_definitions.yaml based on sample files in OpenStack documentation Edited haproxy.cfg for ceilometer support Edited ceilometer-base dockerfile for missing dependency Change-Id: I6ade05255e7e1aa7dbcffd026fad5869036d0d32 Closes-Bug: #1604004
2016-07-19Merge "Add pull.yml to the ceilometer"Jenkins1-0/+28
2016-07-18Merge "Remove notification_driver option"Jenkins1-1/+0
2016-07-18Merge "Support Keystone Domain specific files"Jenkins3-0/+33
2016-07-18Change rgw frontend interfaceBartłomiej Daca1-1/+1
Change the rgw frontend interface (from storage_interface to api_interface) to make it consistent with the one specified in the haproxy configuration. Closes-Bug: #1603885 Change-Id: I8537f05575382faeac3ab915feaaad4af9b29565
2016-07-18Fix 'reconfigure' command of kollaBartłomiej Daca8-16/+16
Changed the order of the 'when' statements in "remove/restart containers" tasks. It will fix the reconfiguration problem when deploying different components on different hosts. Change-Id: Ibee9dd56b6128b664144deb1d9eb7ec32e39fd5c Closes-Bug: #1603943
2016-07-18Remove notification_driver optionZhongShengping1-1/+0
The Ceilometer integration for Nova uses notification_driver parameter at the moment. According to the logs this is deprecated: Option "notification_driver" from group "DEFAULT" is deprecated. Use option "driver" from group "oslo_messaging_notifications". Change-Id: Ifb60a7a5945838bb8d12092d811956f84775df27 Closes-Bug: 1602667
2016-07-18Merge "Set the privsep_osbrick.helper_command in nova and cinder"Jenkins2-0/+6
2016-07-17Add pull.yml to the ceilometerJeffrey Zhang1-0/+28
TrivialFix Change-Id: I2ac311fd3a47fff9a30ef934839bf19a460af1bf
2016-07-15Merge "Add 'optional' param for mariadb heka conf"Jenkins1-1/+2
2016-07-15Merge "TrivialFix:modify the spelling mistakes"Jenkins1-1/+1
2016-07-15Add 'optional' param for mariadb heka confPaul Bourke1-1/+2
If one is using an existing or alternative mysql deployment and sets enable_mariadb to false, heka would fail to deploy. TrivialFix Change-Id: Ieb793e11a40358e5d4fc1f3955f200e2cddef4f5
2016-07-15TrivialFix:modify the spelling mistakesJing Sun1-1/+1
Change-Id: Ida7742920051db7120f953a04243e3b03629b975
2016-07-14Merge "External Ceph support - Implementation Glance"3.0.0.0b2Jenkins5-15/+32
2016-07-14Merge "Keystones openstack_auth was undefined"Jenkins1-0/+2