Skip to content

Conversation

@lmiccini
Copy link
Contributor

@lmiccini lmiccini commented Oct 23, 2025

Octavia and Designate have special configmaps storing ip addresses that are internally managed.

$ oc get configmaps octavia-hmport-map -o yaml
apiVersion: v1
data:
hm_worker-0: 172.23.0.103
hm_worker-1: 172.23.0.105
hm_worker-2: 172.23.0.107
rsyslog_worker-0: 172.23.0.104
rsyslog_worker-1: 172.23.0.106
rsyslog_worker-2: 172.23.0.108
kind: ConfigMap
metadata:
name: octavia-hmport-map
namespace: openstack

oc get cm designate-bind-ip-map -o yaml
apiVersion: v1
data:
bind_address_0: 172.67.0.100
bind_address_1: 172.67.0.101
bind_address_2: 172.67.0.102

$ oc get cm designate-mdns-ip-map -o yaml
apiVersion: v1
data:
mdns_address_0: 172.67.0.97
mdns_address_1: 172.67.0.98
mdns_address_2: 172.67.0.99

These IPs should also be advertised in addition to the network-attachment-definitions for each pod.

This change watches pods for the presence of a predictableip label, if this is found it appends the ip to the already-existing frrconfiguration created for the network-attachment-definition ip.

Jira: https://issues.redhat.com/browse/OSPRH-20083

Assisted-by: claude-4.5-sonnet

@openshift-ci openshift-ci bot requested review from abays and olliewalsh October 23, 2025 07:21
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Oct 23, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lmiccini

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Octavia and Designate have special configmaps storing ip addresses that are internally managed.

$ oc get configmaps octavia-hmport-map -o yaml
apiVersion: v1
data:
  hm_worker-0: 172.23.0.103
  hm_worker-1: 172.23.0.105
  hm_worker-2: 172.23.0.107
  rsyslog_worker-0: 172.23.0.104
  rsyslog_worker-1: 172.23.0.106
  rsyslog_worker-2: 172.23.0.108
kind: ConfigMap
metadata:
  name: octavia-hmport-map
  namespace: openstack

oc get cm designate-bind-ip-map -o yaml
apiVersion: v1
data:
  bind_address_0: 172.67.0.100
  bind_address_1: 172.67.0.101
  bind_address_2: 172.67.0.102

$ oc get cm designate-mdns-ip-map -o yaml
apiVersion: v1
data:
  mdns_address_0: 172.67.0.97
  mdns_address_1: 172.67.0.98
  mdns_address_2: 172.67.0.99

These IPs should also be advertised in addition to the network-attachment-definitions for each pod.

This change watches pods for the presence of a predictableip label, if
this is found it appends the ip to the already-existing frrconfiguration
created for the network-attachment-definition ip.

Jira: https://issues.redhat.com/browse/OSPRH-20083

Assisted-by: claude-4.5-sonnet
@softwarefactory-project-zuul
Copy link

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/ed643de796014bcebbf6f3bb601bc12d

✔️ openstack-k8s-operators-content-provider SUCCESS in 1h 08m 23s
podified-multinode-edpm-deployment-crc FAILURE in 32m 59s
cifmw-crc-podified-edpm-baremetal FAILURE in 44m 56s

@lmiccini
Copy link
Contributor Author

/test infra-operator-build-deploy-kuttl

@lmiccini
Copy link
Contributor Author

recheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant