Skip to content

Commit 4c90382

Browse files
authored
Merge pull request #777 from stackhpc/zed-yoga-merge
zed: yoga merge
2 parents f8c8b06 + 47dc799 commit 4c90382

File tree

8 files changed

+75
-4
lines changed

8 files changed

+75
-4
lines changed

doc/source/operations/octavia.rst

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,55 @@ when building new images.
3838

3939
To rollback an image update, simply delete the old image. The next newest image with
4040
a tag matching ``amp_image_tag`` will be selected.
41+
42+
Manually deleting broken load balancers
43+
=======================================
44+
45+
Sometimes, a load balancer will get stuck in a broken state of ``PENDING_CREATE`` or ``PENDING_UPDATE``.
46+
When in this state, the load balancer cannot be deleted; you will see the error ``Invalid state PENDING_CREATE of loadbalancer resource``.
47+
To delete a load balancer in this state, you will need to manually update its provisioning status in the database.
48+
49+
Find the database password:
50+
51+
.. code-block:: console
52+
53+
ansible-vault view --vault-password-file <path-to-vault-pw> $KOLLA_CONFIG_PATH/passwords.yml
54+
55+
# Search for database_password with:
56+
/^database
57+
58+
Access the database from a controller:
59+
60+
.. code-block:: console
61+
62+
docker exec -it mariadb bash
63+
mysql -u root -p octavia
64+
# Enter the database password when promted.
65+
66+
List the load balancers to find the ID of the broken one(s):
67+
68+
.. code-block:: console
69+
70+
SELECT * FROM load_balancer;
71+
72+
Set the provisioning status to ERROR for any broken load balancer:
73+
74+
.. code-block:: console
75+
76+
UPDATE load_balancer SET provisioning_status='ERROR' WHERE id='<id>';
77+
78+
Delete the load balancer from the OpenStack CLI, cascading if any stray
79+
Amphorae are hanging around:
80+
81+
.. code-block:: console
82+
83+
openstack loadbalancer delete <id> --cascade
84+
85+
86+
Sometimes, Amphora may also fail to delete if they are stuck in state
87+
``BOOTING``. These can be resolved entirely from the OpenStack CLI:
88+
89+
.. code-block:: console
90+
91+
openstack loadbalancer amphora configure <amphora-id>
92+
openstack loadbalancer amphora delete <amphora-id>

etc/kayobe/ansible/growroot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
vars:
7878
pv: "{{ pvs.stdout | from_json }}"
7979
disk_tmp: "{{ pv.report[0].pv[0].pv_name[:-1] }}"
80-
disk: "{{ disk_tmp[:-1] if disk_tmp[-1] == 'p' else disk_tmp }}"
80+
disk: "{{ disk_tmp[:-1] if disk_tmp[-1] == 'p' and disk_tmp[:4] == 'nvme' else disk_tmp }}"
8181
part_num: "{{ pv.report[0].pv[0].pv_name[-1] }}"
8282
become: true
8383
failed_when: "growpart.rc != 0 and 'NOCHANGE' not in growpart.stdout"

etc/kayobe/cephadm.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ cephadm_commands_post: "{{ cephadm_commands_post_default + cephadm_commands_post
9292
cephadm_commands_pre_default: []
9393
cephadm_commands_pre_extra: []
9494

95-
cephadm_commands_post_default: "{{ ['mgr module enable prometheus'] if kolla_enable_prometheus_ceph_mgr_exporter | bool else [] }}"
95+
cephadm_commands_post_default: "{{ ['mgr module enable prometheus'] if kolla_enable_prometheus_ceph_mgr_exporter | default(False) | bool else [] }}"
9696
cephadm_commands_post_extra: []
9797

9898
###############################################################################

etc/kayobe/inventory/group_vars/all/vault

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ seed_hashicorp_registry_password: "{{ stackhpc_docker_registry_password if stack
1010
seed_consul_docker_image: "{{ stackhpc_docker_registry ~ '/' if stackhpc_sync_hashicorp_images | bool else '' }}hashicorp/consul"
1111

1212
# Seed Consul container image tag.
13-
seed_consul_docker_tag: "1.16.1"
13+
seed_consul_docker_tag: "1.16.3"
1414

1515
# Seed Vault container image.
1616
seed_vault_docker_image: "{{ stackhpc_docker_registry ~ '/' if stackhpc_sync_hashicorp_images | bool else '' }}hashicorp/vault"
1717

1818
# Seed Vault container image tag.
19-
seed_vault_docker_tag: "1.14.1"
19+
seed_vault_docker_tag: "1.14.6"
2020

2121
# Seed Vault PKI Role name
2222
seed_vault_pki_role_name: "ServerCert"

etc/kayobe/kolla/globals.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,14 @@ kayobe_image_tags:
2020
ovn:
2121
rocky: zed-rocky-9-20230925T132313
2222
ubuntu: zed-ubuntu-jammy-20230821T155947
23+
cloudkitty:
24+
rocky: zed-rocky-9-20231114T124701
25+
ubuntu: zed-ubuntu-jammy-20231114T124701
2326

2427
openstack_tag: "{% raw %}{{ kayobe_image_tags['openstack'][kolla_base_distro] }}{% endraw %}"
2528
bifrost_tag: "{% raw %}{{ kayobe_image_tags['bifrost'][kolla_base_distro] }}{% endraw %}"
2629
ovn_tag: "{% raw %}{{ kayobe_image_tags['ovn'][kolla_base_distro] }}{% endraw %}"
30+
cliudkitty_tag: "{% raw %}{{ kayobe_image_tags['cloudkitty'][kolla_base_distro] }}{% endraw %}"
2731

2832
om_enable_rabbitmq_high_availability: true
2933

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
upgrade:
3+
- |
4+
Updates Consul to 1.16.3 and Vault to 1.14.6.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes the bulk API of CloudKitty so that it now supports the migration
5+
from Elasticsearch to OpenSearch.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes an issue with the growroot playbook where disks such as 'sdp' would
5+
become 'sd' due to the removal of the trailing 'p' when dealing with nvme
6+
devices.

0 commit comments

Comments
 (0)