Tuesday, 2025-07-22

opendevreviewMichael Johnson proposed openstack/octavia master: DNM: Testing apparmor issue with rsyslog  https://review.opendev.org/c/openstack/octavia/+/95549500:15
opendevreviewMichael Johnson proposed openstack/octavia master: DNM: Testing apparmor issue with rsyslog  https://review.opendev.org/c/openstack/octavia/+/95549504:06
opendevreviewMichael Johnson proposed openstack/octavia master: DNM: Testing apparmor issue with rsyslog  https://review.opendev.org/c/openstack/octavia/+/95549504:11
opendevreviewMichael Johnson proposed openstack/octavia master: DNM: Testing apparmor issue with rsyslog  https://review.opendev.org/c/openstack/octavia/+/95549506:08
opendevreviewMichael Johnson proposed openstack/octavia master: DNM: Testing apparmor issue with rsyslog  https://review.opendev.org/c/openstack/octavia/+/95549517:05
manumoh Hey .. is there any problem in having multiple subnet in lb-mgmt-net network18:41
manumohI have 2 subnets under lb-mgmt-net ,  I noticed that amphora getting more than on ip from  lb-mgmt-net , one form each subnet 18:43
johnsomYeah, so that setting is an odd setup that one vendor wanted.19:57
johnsomThere is no issue with having more than one lb-mgmt-net, all of the traffic there is routable.19:57
johnsomThe issue is that configuration setting for multiple subnets, attaches them all as that one company needed.19:58
johnsomIt defeats the purpose in my mind19:58
johnsomIdeally we would choose one from the list and if it's full try another one. At least that is how I would have done it.19:59
opendevreviewMichael Johnson proposed openstack/octavia master: DNM: Testing apparmor issue with rsyslog  https://review.opendev.org/c/openstack/octavia/+/95549520:14
manumohjohnsom: But octavia will make a server create call with the network id right or does it perform something in addition ?20:23
johnsommanumoh I am talking about this setting: https://github.com/openstack/octavia/blob/master/octavia/common/config.py#L46420:25
johnsomOh, right, sorry I mis-read your question. Yes, by default nova will attach all subnets on each lb-mgmt-net specified in the above config20:27
johnsomWhich isn't great either20:27
manumohhttps://www.irccloud.com/pastebin/jOIB2KoO/20:29
manumohis there something we can do to avoid this  20:31
manumohI need only 1 ip assigned to the port20:31
johnsomAt the moment, since this is the default behavior of nova (to allocate IPs on all subnets of a network), the only option is to have one subnet on the lb-mgmt-net20:42
manumoh is this applicable only to lb-mgmt-net?  never seen nova creating port like this when a network has multiple subnets in it20:45
manumohthe server create API response clearly shows only single ip got assigned  "addresses": {"octavia-mgmt-net": [{"version": 4, "addr": "192.168.13.22", "OS-EXT-IPS:type": "fixed", "OS-EXT-IPS-MAC:mac_addr": "*******}]}21:05
manumoh2025-07-22 20:00:24.541 182180 DEBUG novaclient.v2.client [-] RESP BODY: {"interfaceAttachments": [{"net_id": "3a201ef5-ec17-45d2-9363-ffc0109163be", "port_id": "d106a19c-2758-4386-b2af-b2fa4a4dbcb9", "mac_addr": "******", "port_state": "ACTIVE", "fixed_ips": [{"subnet_id": "83c68154-1209-4853-9988-b7259722922a", "ip_address": "192.168.13.22"}]}]}21:06
johnsomIt always happens in nova if you pass in a network on server create. Wait until it is fully online and do a server show. You must pass in a network ID on instance create.21:07

Generated by irclog2html.py 4.0.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!