summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2 daysFix release note markupHEADmasterPierre Riteau
Change-Id: I8a9d1db4cba381e44718f663347efa8eba854a63 Notes (review): Code-Review+2: Mark Goddard <mark@stackhpc.com> Workflow+1: Mark Goddard <mark@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 20 Feb 2019 19:50:39 +0000 Reviewed-on: https://review.openstack.org/637551 Project: openstack/kayobe Branch: refs/heads/master
5 daysMerge "Update release notes for stable/rocky"Zuul
5 daysUpdate release notes for stable/rockyMark Goddard
Also updates the release.sh script to support tagging release candidates and development milestones. Adds zuul configuration to trigger a Readthedocs webhook for the release notes. Change-Id: Ia784b34fb0b740998de72599d4921f9303e41cac Notes (review): Code-Review+2: Will Szumski <will@stackhpc.com> Code-Review+2: Doug Szumski <doug@stackhpc.com> Workflow+1: Doug Szumski <doug@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 15 Feb 2019 17:26:54 +0000 Reviewed-on: https://review.openstack.org/637000 Project: openstack/kayobe Branch: refs/heads/master
6 daysMerge "Print output of dump-config in case of errors"Zuul
6 daysMerge "Automatically enable serial consoles on post configure"5.0.0.0rc1Zuul
6 daysPrint output of dump-config in case of errorsPierre Riteau
If Ansible fails to look up variable values, Kayobe exits and only prints this unhelpful message: Kayobe playbook(s) ansible/dump-config.yml exited 2 With this commit, the output is captured and printed in case of errors. For example, when using the hashi_vault lookup module without being authenticated, the output includes: FAILED! => {"msg": "An unhandled exception occurred while running the lookup plugin 'hashi_vault'. Error was a <class 'ansible.errors.AnsibleError'>, original message: No Vault Token specified"} Change-Id: Ia5e33a940bc9c4207c5ea6753614908e47884f4b Story: 2004934 Task: 29326 Notes (review): Code-Review+2: Will Szumski <will@stackhpc.com> Code-Review+2: Mark Goddard <mark@stackhpc.com> Workflow+1: Mark Goddard <mark@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 14 Feb 2019 15:17:01 +0000 Reviewed-on: https://review.openstack.org/635479 Project: openstack/kayobe Branch: refs/heads/master
12 daysMerge "Don't pull registry image from private registry"Zuul
12 daysMerge "Support custom HAProxy config"Zuul
12 daysMerge "Document support for configuring LVM on seed hypervisor"Zuul
12 daysFix generation of globals.ymlPierre Riteau
kolla_inspector_* variables are identified by Jinja as empty strings rather than none, so globals.yml is generated with a syntax error: ironic_dnsmasq_dhcp_range: , ^ here Change-Id: Ic36faaff37333f5af03a130dd97d31b26b7ff97f Notes (review): Code-Review+2: Will Szumski <will@stackhpc.com> Code-Review+2: Mark Goddard <mark@stackhpc.com> Workflow+1: Mark Goddard <mark@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 08 Feb 2019 15:26:04 +0000 Reviewed-on: https://review.openstack.org/635788 Project: openstack/kayobe Branch: refs/heads/master
13 daysMerge "Remove support for deploying cAdvisor"Zuul
13 daysMerge "Remove support for deploying Prometheus node-exporter"Zuul
2019-02-06Document support for configuring LVM on seed hypervisorPierre Riteau
Change-Id: Ib721f8658284ba1419a4f8f81548d1cd88b0a89c Notes (review): Code-Review+2: Mark Goddard <mark@stackhpc.com> Code-Review+2: Will Szumski <will@stackhpc.com> Workflow+1: Will Szumski <will@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 08 Feb 2019 15:44:49 +0000 Reviewed-on: https://review.openstack.org/635223 Project: openstack/kayobe Branch: refs/heads/master
2019-02-05Merge "Don't cd to /tmp in environment-setup.sh"Zuul
2019-02-05Merge "Allocate IPs separately from configuring network"Zuul
2019-02-05Don't cd to /tmp in environment-setup.shMark Goddard
This script is used by developers to activate the kayobe virtual environment and source the configuration's kayobe-env file. A cd to /tmp is an unexpected outcome of running the script. To test the location-independent installation, remove the chdir from the zuul job tasks that execute kayobe commands. Change-Id: I59194952901fa648382489f48dc7aafb03d3a682 Story: 2004252 Task: 29347 Notes (review): Code-Review+2: Will Szumski <will@stackhpc.com> Code-Review+2: Doug Szumski <doug@stackhpc.com> Workflow+1: Doug Szumski <doug@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 05 Feb 2019 20:19:21 +0000 Reviewed-on: https://review.openstack.org/634957 Project: openstack/kayobe Branch: refs/heads/master
2019-02-05Allocate IPs separately from configuring networkPierre Riteau
When running one of the `kayobe <seed|seed hypervisor|overcloud> host configure` commands, in some cases an IP address that is allocated by the ip-allocation.yml playbook fails to be picked up by the network.yml playbook, which uses the address 0.0.0.0 instead. Running ip-allocation.yml separately ensures that the correct IP is used by network.yml. Change-Id: I15529398aef5e21049182b0edc11816876331113 Story: 2004800 Task: 28953 Notes (review): Code-Review+2: Mark Goddard <mark@stackhpc.com> Code-Review+2: Doug Szumski <doug@stackhpc.com> Workflow+1: Doug Szumski <doug@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 05 Feb 2019 17:49:44 +0000 Reviewed-on: https://review.openstack.org/631557 Project: openstack/kayobe Branch: refs/heads/master
2019-02-05Support configuration of yum.confMark Goddard
Options are configured via the 'yum_config' variable. Change-Id: Iaf46dbf22e0ad2b9e43926e899ce454d19662cc3 Story: 2004935 Task: 29327 Notes (review): Code-Review+2: Pierre Riteau <pierre@stackhpc.com> Code-Review+2: Doug Szumski <doug@stackhpc.com> Workflow+1: Doug Szumski <doug@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 05 Feb 2019 17:29:38 +0000 Reviewed-on: https://review.openstack.org/634788 Project: openstack/kayobe Branch: refs/heads/master
2019-02-05Merge "Update development scripts for control plane deployment"Zuul
2019-02-05Support custom HAProxy configDoug Szumski
Note that in the Stein release of Kolla-Ansible haproxy.cfg was refactored and this override will no longer work as expected. Change-Id: Iff5b9f2a33ad2320f62fae7328c097069cb4f416 Notes (review): Code-Review+2: Mark Goddard <mark@stackhpc.com> Code-Review+2: Will Szumski <will@stackhpc.com> Workflow+1: Will Szumski <will@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 08 Feb 2019 17:31:06 +0000 Reviewed-on: https://review.openstack.org/634404 Project: openstack/kayobe Branch: refs/heads/master
2019-02-05Don't pull registry image from private registryMark Goddard
This avoids a potential circular dependency where the registry is the source of its own image. Also fixes up the image building documentation about the default value of kolla_docker_registry. Change-Id: Ia30173abf185329098ace621baf0ad1be75c0b74 Story: 2004820 Task: 29345 Notes (review): Code-Review+2: Pierre Riteau <pierre@stackhpc.com> Code-Review+2: Will Szumski <will@stackhpc.com> Workflow+1: Will Szumski <will@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 08 Feb 2019 17:31:06 +0000 Reviewed-on: https://review.openstack.org/634921 Project: openstack/kayobe Branch: refs/heads/master
2019-02-05Merge "Add commands to run command on hosts"Zuul
2019-02-05Merge "Support including and excluding files from config save"Zuul
2019-02-05Update development scripts for control plane deploymentMark Goddard
This adds support for deploying a virtualised control plane via Tenks, using the Kayobe development scripts tenks-deploy.sh and tenks-teardown.sh. Change-Id: I752455af9eb44cdb0f9921fd0c876fc2dfb50a5c Notes (review): Code-Review+2: Will Szumski <will@stackhpc.com> Code-Review+2: Doug Szumski <doug@stackhpc.com> Workflow+1: Doug Szumski <doug@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 05 Feb 2019 12:59:15 +0000 Reviewed-on: https://review.openstack.org/634274 Project: openstack/kayobe Branch: refs/heads/master
2019-02-04Automatically enable serial consoles on post configureWill Szumski
This functionality is controlled by the flag ironic_serial_console_autoenable, which, when enabled, will configure serial consoles for each of the ironic nodes during the `overcloud post configure` step. This was added to reduce the number of kayobe commands that are needed to be run for a given deployment. Change-Id: I7072e518c29387b964e4e25b08b4559f152d5ecf Story: 2004192 Task: 29325 Notes (review): Code-Review+2: Mark Goddard <mark@stackhpc.com> Code-Review+2: John Garbutt <john@johngarbutt.com> Workflow+1: John Garbutt <john@johngarbutt.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 14 Feb 2019 13:18:52 +0000 Reviewed-on: https://review.openstack.org/614164 Project: openstack/kayobe Branch: refs/heads/master
2019-02-04Add commands to run command on hostsKevin Tibi
Change-Id: I019fc3f5c59c383215febb958f9c4cf8c8b8e4a6 Story: 2003312 Task: 24270 Notes (review): Code-Review+2: Mark Goddard <mark@stackhpc.com> Code-Review+2: Doug Szumski <doug@stackhpc.com> Workflow+1: Doug Szumski <doug@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 05 Feb 2019 11:23:34 +0000 Reviewed-on: https://review.openstack.org/589112 Project: openstack/kayobe Branch: refs/heads/master
2019-02-04Remove support for deploying cAdvisorDoug Szumski
Kolla-Ansible now supports deploying cAdvisor so we no longer need this. Change-Id: I9e37651643c18e06f9143893bb3564ec0e9f2ccd Story: 2004932 Task: 29321 Notes (review): Code-Review+2: Mark Goddard <mark@stackhpc.com> Code-Review+2: Pierre Riteau <pierre@stackhpc.com> Workflow+1: Pierre Riteau <pierre@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 07 Feb 2019 11:23:48 +0000 Reviewed-on: https://review.openstack.org/634690 Project: openstack/kayobe Branch: refs/heads/master
2019-02-04Remove support for deploying Prometheus node-exporterDoug Szumski
Kolla-Ansible now supports deploying Prometheus so we no longer need this. Story: 2004932 Task: 29320 Change-Id: I9242cf1ec7c19b135d7d7bdb9b803718b719ec58 Notes (review): Code-Review+2: Mark Goddard <mark@stackhpc.com> Code-Review+2: Pierre Riteau <pierre@stackhpc.com> Workflow+1: Pierre Riteau <pierre@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 07 Feb 2019 11:15:51 +0000 Reviewed-on: https://review.openstack.org/634689 Project: openstack/kayobe Branch: refs/heads/master
2019-02-04Merge "use include_tasks and import_playbook instead of include"Zuul
2019-02-04Support including and excluding files from config saveMark Goddard
Currently in the upgrade job we are seeing the OOM killer kick in during the 'overcloud service configuration save' command. Ansible is quite inefficient when copying large files around, so excluding the large IPA images should relieve some memory pressure. Change-Id: I3a230b0a699154606ca8faa00a85d45ae815c599 Story: 2004704 Task: 28733 Notes (review): Code-Review+2: Doug Szumski <doug@stackhpc.com> Code-Review+2: Will Szumski <will@stackhpc.com> Workflow+1: Will Szumski <will@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 05 Feb 2019 10:56:53 +0000 Reviewed-on: https://review.openstack.org/629425 Project: openstack/kayobe Branch: refs/heads/master
2019-02-01Merge "Document a backup procedure for the seed"Zuul
2019-02-01Merge "Convert network MTU to an integer"Zuul
2019-02-01Merge "Update stackhpc.libvirt-vm and stackhpc.libvirt-host roles"Zuul
2019-02-01Merge "Fix seed VM provision failure on Ansible 2.6"Zuul
2019-02-01Merge "Update role requirements for CA certificate support"Zuul
2019-02-01Support complete installation of Kayobe as a python packageWill Szumski
This adds the ansible playbooks required by kayobe to the manifest by using the data_files option in setuptools. When using pip to install kayobe into a virtualenv, these files will be placed in <venv>/kayobe/share/. In an editable install, e.g using `pip install -e .`, data_files are not installed into the virtualenv. Instead, we must follow the egg-link file to find out the actual location. Story: 2004252 Task: 27787 Change-Id: Ibef040eceb547476007f83c0d5dcdb2bc6986d1e Notes (review): Code-Review+2: Mark Goddard <mark@stackhpc.com> Code-Review+2: Doug Szumski <doug@stackhpc.com> Workflow+1: Doug Szumski <doug@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 01 Feb 2019 18:58:35 +0000 Reviewed-on: https://review.openstack.org/626882 Project: openstack/kayobe Branch: refs/heads/master
2019-02-01Prune unused Galaxy roles during upgradeMark Goddard
The 'kayobe control host upgrade' command updates the installed Ansible Galaxy roles based on requirements.yml. Sometimes roles are removed from that file, but there is currently no way of removing them from the local system. Normally this causes no problems, but due to the upstream role containing symlinks with whitespace, we are switching out yatesr.timezone to a stackhpc.timezone fork. In order to make upgrades work, we need to ensure the old role is removed. It also makes sense to clean up old roles generally. This change adds support for removing stale roles during control host upgrade, currently including the following roles: stackhpc.os-flavors stackhpc.os-projects stackhpc.parted-1.1 yatesr.timezone Change-Id: I174c7e6f19cbefda56777229a2441bf6469c0982 Story: 2004252 Task: 29166 Notes (review): Code-Review+2: Will Szumski <will@stackhpc.com> Code-Review+2: Doug Szumski <doug@stackhpc.com> Workflow+1: Doug Szumski <doug@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 01 Feb 2019 18:58:33 +0000 Reviewed-on: https://review.openstack.org/633710 Project: openstack/kayobe Branch: refs/heads/master
2019-02-01Use a fork of the yatesr.timezone roleMark Goddard
The yatesr.timezone role has been forked to stackhpc.timezone, since the upstream role includes symlinks which do not play nicely with PBR. Once the PBR issue is fixed, we can revert to using the upstream role. Change-Id: Ib8fe11cdf7e2571f99eb13c0e5ebd3e200c77c6e Story: 2004252 Task: 27787 Notes (review): Code-Review+2: Will Szumski <will@stackhpc.com> Code-Review+2: Doug Szumski <doug@stackhpc.com> Workflow+1: Doug Szumski <doug@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 01 Feb 2019 18:58:31 +0000 Reviewed-on: https://review.openstack.org/633709 Project: openstack/kayobe Branch: refs/heads/master
2019-02-01Update role requirements for CA certificate supportMark Goddard
Updates the following roles to releases with CA certificate support: os-images os-ironic-state os-networks Change-Id: I92368dd09330ca81ad9f9ebcfef541f9469e6e17 Story: 2004911 Task: 29261 Notes (review): Code-Review+2: Will Szumski <will@stackhpc.com> Code-Review+2: Pierre Riteau <pierre@stackhpc.com> Workflow+1: Doug Szumski <doug@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 01 Feb 2019 18:59:59 +0000 Reviewed-on: https://review.openstack.org/634392 Project: openstack/kayobe Branch: refs/heads/master
2019-01-31Merge "Add support for CA certificate parameter"Zuul
2019-01-31Convert network MTU to an integerMark Goddard
This seems to be required for the seed VM, if an MTU is specified. Change-Id: I49d7893ab6900b3bd66eec1f6b03cf89c917e5bd Notes (review): Code-Review+2: Will Szumski <will@stackhpc.com> Code-Review+2: Doug Szumski <doug@stackhpc.com> Workflow+1: Doug Szumski <doug@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 01 Feb 2019 19:14:02 +0000 Reviewed-on: https://review.openstack.org/634273 Project: openstack/kayobe Branch: refs/heads/master
2019-01-31Merge "Modify default of kolla_docker_registry"Zuul
2019-01-31Add support for CA certificate parameterMark Goddard
When using Ansible OpenStack modules, if OS_CACERT is defined, then this will be passed as the cacert module argument. This ensures that non-standard CA certificate paths can be used. Change-Id: I2a2575b1fb0f149cc13c44526fc0167e68e07aab Story: 2004911 Task: 29261 Notes (review): Code-Review+2: Will Szumski <will@stackhpc.com> Code-Review+2: Doug Szumski <doug@stackhpc.com> Workflow+1: Doug Szumski <doug@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 31 Jan 2019 18:57:55 +0000 Reviewed-on: https://review.openstack.org/632512 Project: openstack/kayobe Branch: refs/heads/master
2019-01-31Allow to configure Docker Registry via environment variablesPierre Riteau
Change-Id: Ida7b870e86894bd33e923ae1cc1142d32e052ddc Story: 2004817 Task: 28982 Notes (review): Code-Review+2: Mark Goddard <mark@stackhpc.com> Code-Review+2: Will Szumski <will@stackhpc.com> Workflow+1: Will Szumski <will@stackhpc.com> Code-Review+1: Lev Morgan <morgan.lev@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 31 Jan 2019 16:50:23 +0000 Reviewed-on: https://review.openstack.org/631824 Project: openstack/kayobe Branch: refs/heads/master
2019-01-31Modify default of kolla_docker_registryMark Goddard
Now uses the value of 'docker_registry', the default of which is unset. Change-Id: I564defbc661b6c100e9773826c03e3bc960adea7 Story: 2004873 Task: 29135 Notes (review): Code-Review+2: Pierre Riteau <pierre@stackhpc.com> Code-Review+2: Will Szumski <will@stackhpc.com> Workflow+1: Will Szumski <will@stackhpc.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 31 Jan 2019 16:50:25 +0000 Reviewed-on: https://review.openstack.org/633469 Project: openstack/kayobe Branch: refs/heads/master
2019-01-30Merge "Support configuring LVM on the seed hypervisor"Zuul
2019-01-30Merge "Add docs on building images"Zuul
2019-01-30Merge "Add docs on host configuration"Zuul
2019-01-30Merge "Improve kayobe --version output"Zuul
2019-01-30Merge "Add support for setting defroute"Zuul