- Jul 11, 2019
-
-
Mark Goddard authored
Since https://review.opendev.org/647699/, we lost the logic to only deploy glance-api on a single host when using the file backend. This code was always a bit custom, and would be better supported by using the 'host_in_groups' pattern we have in a few other places where a single group name does not describe the placement of containers for a service. Change-Id: I21ce4a3b0beee0009ac69fecd0ce24efebaf158d Closes-Bug: #1836151
-
- Jun 27, 2019
-
-
Mark Goddard authored
Currently, we have a lot of logic for checking if a handler should run, depending on whether config files have changed and whether the container configuration has changed. As rm_work pointed out during the recent haproxy refactor, these conditionals are typically unnecessary - we can rely on Ansible's handler notification system to only trigger handlers when they need to run. This removes a lot of error prone code. This patch removes conditional handler logic for all services. It is important to ensure that we no longer trigger handlers when unnecessary, because without these checks in place it will trigger a restart of the containers. Implements: blueprint simplify-handlers Change-Id: I4f1aa03e9a9faaf8aecd556dfeafdb834042e4cd
-
- Nov 21, 2018
-
-
caoyuan authored
A spec to Deprecate the Glance Registry Service[0] was accepted in Newton, but it contained the ambiguous statement, "Mark the service as deprecated and ready for removal in the Q release." kolla-ansible disable the glance-registry in Q release[1], and since we are in S now, remove glance-registry is safe. [0]: http://specs.openstack.org/openstack/glance-specs/specs/newton/approved/glance/deprecate-registry.html [1]: https://review.openstack.org/#/c/566804/ Change-Id: I48f794029e97aa6f76bbd500e33f28f51a3f2ac4
-
Eduardo Gonzalez authored
Glance cache is used to keep a locally cache image in the glance_api service. Is an usefull service when an image is commonly used to speed times between pulling from storage backend and send to nova. Change-Id: I8e684cc10e4fee1cb52c17a126e3b11f69576cf6
-
- Oct 10, 2018
-
-
Mark Goddard authored
If upgrading the nova, cinder or manila services via 'kolla-ansible upgrade', the Ceph config files are not generated. Users will expect that these files are generated, to pull in any changes from their configuration or the base kolla configuration. This change moves Ceph tasks inside config.yml to ensure that they are performed during deploy, reconfigure and upgrade. This has been done for nova, cinder, gnocchi and manila - glance already does this. Change-Id: Ic75692c2bcba9b81dee922ff6fbbccd160e7fa19 Closes-Bug: #1794275
-
- Jul 25, 2018
-
-
Lakshmi Prasanna Goutham Pratapa authored
This commit is to apply resource-constraints only to few OpenStack services. Commit to apply constraints to other services will be made in coming commits. Partially-Implements: blueprint resource-constraints Change-Id: Icafa54baca24d2de64238222a5677b9d8b90e2aa
-
Jeffrey Zhang authored
include is marked as deprecated since ansible 2.4[0] [0] https://docs.ansible.com/ansible/2.4/include_module.html#deprecated Co-Authored-By:
confi-surya <singh.surya64mnnit@gmail.com> Change-Id: Ic9d71e1865d1c728890625aeddf424a5734c0a8a
-
- Jul 18, 2018
-
-
Adam Harwell authored
In this patch, the glance-registry service was disabled: https://review.openstack.org/#/c/566804/ However, the config task still tries to copy files for it, which will break due to path errors. Change-Id: If39bb12bf830e6559342037ae2a2b99a784ee503
-
- Jun 24, 2018
-
-
Mark Duggan authored
Adding the capability to configure settings for http_proxy https_proxy and no_proxy inside glance_api container. This is required when import images from external http resources behind a proxy. Co-Authored-By:
Paul Bourke <paul.bourke@oracle.com> Closes-bug: #1775815 Change-Id: I85661f04311d5671adecc84c470f2e4db07cfe1d
-
- Jun 08, 2018
-
-
Ha Manh Dong authored
Add become to all tasks that use the module "kolla_docker" Change-Id: I4309c4011687b88ec31d739fd8f834fe2326ff10 Partial-Implements: blueprint ansible-specific-task-become
-
- May 11, 2018
-
-
Jeffrey Zhang authored
- rename action and serial to kolla_ansible and kolla_serial - use become instead of "sudo <command>" in shell - Remove quota for failed_when and changed_when in rabbitmq tasks Change-Id: I78cb60168aaa40bb6439198283546b7faf33917c Implements: blueprint migrate-to-ansible-2-2-0
-
- Apr 22, 2018
-
-
caoyuan authored
Avoid creating an empty volume[0] when not use dev mode for glance. [0]: https://github.com/openstack/kolla-ansible/blob/master/ansible/roles/glance/defaults/main.yml#L14 Change-Id: Ib27489abe20fb562acbc28263f7680e39d9dab44
-
- Apr 06, 2018
-
-
Joshua Harlow authored
This makes it so that the file copied has the same perms as the other copied files and that become is used so that the copy works (otherwise it does not). Change-Id: I22f39ef30760701e174f304de6ff959ff60607ad
-
- Mar 26, 2018
-
-
Eduardo Gonzalez authored
This patchset implements yamllint test to all *.yml files. Also fixes syntax errors to make jobs to pass. Change-Id: I3186adf9835b4d0cada272d156b17d1bc9c2b799
-
- Mar 22, 2018
-
-
Joshua Harlow authored
This is currently using the full path for the destination which doesn't appear to be what is wanted; instead the actual file name should be used. Closes-Bug: 1757532 Change-Id: If85e98097a0d0e0b55d0b2993185c8591e6dd10e
-
- Jan 29, 2018
-
-
Dai Dang Van authored
- Keystone - Glance - Nova - Cinder This will copy only yaml or json policy file if they exist. Change-Id: I4a9415d82322aed68c9b7650bdf346f58fa49e2a Implements: blueprint support-custom-policy-yaml Co-authored-By:
Duong Ha-Quang <duonghq@vn.fujitsu.com>
-
- Nov 21, 2017
-
-
Mark Goddard authored
Previously the glance ceph backend was only being configured during the deploy and reconfigure commands. This change ensures that it is configured during the upgrade and genconfig commands as well. Some of the related host/group selection logic has been cleaned up, as it was a little tautolgous. Change-Id: Ibfc2bfaaf2e24fb3a0697925e7723794046787fa Closes-Bug: #1728060
-
- Oct 31, 2017
-
-
Duong Ha-Quang authored
Add become to only neccesary tasks in roles: - glance - heat - horizon - keystone - neutron - nova - openvswitch Gate is also updated to use 'become' feature Change-Id: I2f3f27306e9f384148e1ad4d54d8da2ebef34d00 Partial-Implements: blueprint ansible-specific-task-become
-
- Sep 13, 2017
-
-
Bertrand Lallau authored
Actually Openstack services configuration can be overriden using many files: - /etc/kolla/config/<< service name >>/<< config file >> - /etc/kolla/config/<< service name >>/<<host>>/<< config file >> - /etc/kolla/config/global.conf - /etc/kolla/config/database.conf - /etc/kolla/config/messaging.conf Only per-service configuration is actually documented here: https://github.com/openstack/kolla-ansible/blob/master/doc/advanced-configuration.rst#L164 Allowing to globally modify service configuration can be perform too, but it can be done in 3 different manners, all not documented: - /etc/kolla/config/global.conf - /etc/kolla/config/database.conf - /etc/kolla/config/messaging.conf database.conf and messaging.conf seems redundant with global.conf. In order to simplify codebase it seems logical to remove them. Documentation has been added for overriding configuration globally and release note has been added too. Closes-Bug: #1682479 Change-Id: I5d922dfc0d938173bad34ac64e490b78db1b7e31
-
- Aug 17, 2017
-
-
guochao authored
Support setting Swift as Glance storage backend. Change-Id: Idddbf2ce741e0486d60e1de88c77a7f0332a5a2b
-
- Jul 05, 2017
-
-
Bertrand Lallau authored
In order to speed up deployment time some "local" actions should be run only once using 'run_once: True'. This will decrease deployment time in case of multihost configuration. Change-Id: I6015d772d35c15e96c52f577013b6e41197cb41a
-
- Jun 15, 2017
-
-
Jeffrey Zhang authored
Ansible task support vars directive, no need implement another one in merge_config. This patch remove the vars directive in merge_config action plugin. Change-Id: I33648a2b6e39b4d49ce76eb66fbf2522721f8c68
-
- Feb 14, 2017
-
-
caoyuan authored
- add "item.value.enabled | bool" - add "| bool" to keystone - add group check for searchlight Change-Id: Id4555a0a96ea1670e99c88a1da9d3e07bf253497
-
- Jan 24, 2017
-
-
Borne Mace authored
A config generation check was added to a few services but the action name checked was "genconfig" where the kolla-ansible genconfig command actually uses the action name "config". Stop run the handlers when action is "config". Co-Authored-By:
Jeffrey Zhang <jeffrey.zhang@99cloud.net> Partially-implements: blueprint better-reconfigure Change-Id: I9d3be2f674087f340108b176c8e8e2209ffa8806
-
- Jan 05, 2017
-
-
Michal (inc0) Jastrzebski authored
Genconfig doesn't require running containers or even docker installed. This caused issues in kolla-k8s gates. Let's limit this task to reconfigure. Change-Id: I41265ea8d255aca59d73c1582486ed1e7885a829
-
- Jan 02, 2017
-
-
Jeffrey Zhang authored
Partically-implements: blueprint better-reconfigure Change-Id: I89e30e8b87f24a621c521d915842a4af0042d6fe
-
- Nov 29, 2016
-
-
Duong Ha-Quang authored
Currently, policy.json is put in "{{ node_config_directory }}/{{ service_name }}" in target nodes. Relocation policy.json to "{{ node_config_directory }}/{{ item }}" with item is corresponding service compoment config directory. Currently, the policy.json is copied to all services, but it should be reviewed and left only in neccesary service (at many cases, only API service needs that). Redundant files will be removed in follow up patchset. Change-Id: I0e997dccf4ec438c9c0436db71ec2fd06650f50d Closes-Bug: #1639686
-
- Oct 28, 2016
-
-
Eduardo Gonzalez authored
Allow operators to use their custom policy files. Avoid maintain policy files in kolla repos, only copying the files when an operator add their custom config. Implements: blueprint custom-policies Change-Id: Icf3c961b87cbc7a1f1dd2ffbfffcf271d151d862
-
- Oct 19, 2016
-
-
Jeffrey Zhang authored
TrivialFix Change-Id: I817aa52caf56b7d54b266e553db6db1ceb38b773 Signed-off-by:
Jeffrey Zhang <zhang.lei.fly@gmail.com>
-
- Aug 02, 2016
-
-
Ken Wronkiewicz authored
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
-
- May 23, 2016
-
-
Ryan Hallisey authored
An operator may want to specify the location of custom config files so that kolla can detect their location and merge them with the default configs generated. Partially implements: blueprint multi-project-config Change-Id: Ibfb38d07a36dfa7fe25381adc34cc1d3cbe7d1e1
-
- Mar 28, 2016
-
-
Jeffrey Zhang authored
Add a glance_service_groups variable containers the container name, service name and group name. In this way, we can remove lots of duplicated lines. TrivialFix Change-Id: I9beb7509ad7221cd495e3211a2e67d986486aac6
-
Jeffrey Zhang authored
Only copy the necessary config files when it _really_ needed. This will make the config file safer Partial-Bug: #1559122 Change-Id: I5f5df54c688fb4f6b0ee68815116e2418d5742f7
-
- Mar 17, 2016
-
-
SamYaple authored
This type of per node configuration is required to support things like availability zones for nova. As always, if this file doesnt exist it doesnt get used so this change is safe. TrivialFix Change-Id: Iff8172af522c2c96e5f2c173b24a5dfd4d522ed2
-
SamYaple authored
This now matches the way we copy confis in other services. TrivialFix Change-Id: Ia9c6d5f9a633c0b20b4d9a697863bd2753d39443
-
- Dec 22, 2015
-
-
SamYaple authored
Convert config creation from a playbook to an action_plugin. This reduces the complexity and confusion while retaining the same augment structure and flexibility. This allows us to remove the 0-byte files as requirements. They will still be used if they are present (this means we require additional documentation around them). DocImpact Closes-Bug: #1528430 Change-Id: I2c789f6be9f195c7771ca093a6d59499564b4740
-
- Sep 18, 2015
-
-
rthallisey authored
Change-Id: I14187db31a009c150424ea28b854a78c9ae3941d Partially-Implements: blueprint replace-config-external
-
- Aug 12, 2015
-
-
Ryan Hallisey authored
Change-Id: Ibf20d74f2ea5583bc1c183d14329e37661c20721 Closes-Bug: #1483793
-
- Jul 09, 2015
-
-
Sam Yaple authored
Adds support for glance in ansible Partially-Implements: blueprint ansible-service Change-Id: I2d162e79f85877116b0e33b1843de6ccb62a445a
-