Wednesday, 2023-05-10

haleybozzzo: well, it does say you have 4 dead agents, usually that output is a table. either way you should start looking at log files, there00:05
haleybthere's not much to go on in that pasted, and it's eod for me...00:05
ozzzohaleyb: right. That 2nd paste is what I get when I have dead agents. I posted that to contrast it with what I have now (first paste), in which I have no dead agents, and no 2-minute build delay, but still get the "Unable to schedule network" warning02:23
opendevreviewFernando Royo proposed openstack/ovn-octavia-provider master: Replace python-neutronclient with openstacksdk  https://review.opendev.org/c/openstack/ovn-octavia-provider/+/87051407:01
opendevreviewLajos Katona proposed openstack/neutron-specs master: ERSPAN for tap-as-a-service  https://review.opendev.org/c/openstack/neutron-specs/+/88215107:44
opendevreviewElvira García Ruiz proposed openstack/neutron stable/zed: [OVN] Update ovn meter when neutron server reloads  https://review.opendev.org/c/openstack/neutron/+/88268908:02
opendevreviewElvira García Ruiz proposed openstack/neutron stable/yoga: [OVN] Update ovn meter when neutron server reloads  https://review.opendev.org/c/openstack/neutron/+/88252708:04
opendevreviewElvira García Ruiz proposed openstack/neutron stable/wallaby: [OVN] Update ovn meter when neutron server reloads  https://review.opendev.org/c/openstack/neutron/+/88271108:09
opendevreviewElvira García Ruiz proposed openstack/neutron stable/xena: [OVN] Update ovn meter when neutron server reloads  https://review.opendev.org/c/openstack/neutron/+/88280908:10
opendevreviewArnau Verdaguer proposed openstack/neutron master: [OVN trunk][WIP] Add bound info on subport when parent is bound  https://review.opendev.org/c/openstack/neutron/+/88258108:42
opendevreviewRodolfo Alonso proposed openstack/neutron-lib master: Add port hardware offload extension  https://review.opendev.org/c/openstack/neutron-lib/+/88272608:45
obondarevralonsoh: Hi Rodolfo, I apologise for being dumb that I forgot to send bug report for the last week, I got lost in vacation & holidays. Please assign the next vacant shift to me, and one more as a penalty09:21
ralonsohobondarev, no problem, don't worry, for the next cycle 09:21
ralonsohelvira, is doing the triage this week09:21
obondarevand thanks for covering me09:22
ralonsohyw09:24
opendevreviewRodolfo Alonso proposed openstack/neutron master: Replace "tenant_id" with "project_id" in IPAM engine  https://review.opendev.org/c/openstack/neutron/+/87753309:28
opendevreviewMerged openstack/ovn-octavia-provider master: Replace python-neutronclient with openstacksdk  https://review.opendev.org/c/openstack/ovn-octavia-provider/+/87051409:36
opendevreviewFernando Royo proposed openstack/ovn-octavia-provider master: Fix update member action  https://review.opendev.org/c/openstack/ovn-octavia-provider/+/88094509:37
elviraralonsoh: Hmm Wasn't isabek this week? I mean I can do this week with no problem but I think I have next week09:40
ralonsohahh sorry, yes09:40
ralonsohmy bad09:40
elviranp :)09:40
opendevreviewMerged openstack/ovn-octavia-provider master: Update doc about ovn-octavia HM type limitation  https://review.opendev.org/c/openstack/ovn-octavia-provider/+/87997810:02
opendevreviewFelix Huettner proposed openstack/neutron-dynamic-routing master: fix unittest issues caused by neutron rbac changes  https://review.opendev.org/c/openstack/neutron-dynamic-routing/+/88281510:17
ralonsohslaweq, ^^ because of https://review.opendev.org/c/openstack/neutron/+/87982710:32
ralonsohwe should push a new neutron release today10:32
ralonsohthis change is important enough to be released asap10:32
slaweqralonsoh we are in the M-1 week of Bobcat cycle so we can do M1 release 10:34
ralonsohexactly10:34
ralonsohI'll push the change now10:34
ralonsohand thank for the confirmation10:34
slaweqthank You10:38
lajoskatonaslaweq, ralonsoh: thanks for the coming neutron release as I see other stadiums also affected10:52
opendevreviewSlawek Kaplonski proposed openstack/neutron-tempest-plugin master: [S-RBAC] Update DSCP marking rule create API test  https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/88281810:52
ralonsohI'm asking in openstack-release10:52
ralonsohjust to be sure10:52
opendevreviewSlawek Kaplonski proposed openstack/neutron master: [S-RBAC] Get QoS rule types API available for READER role  https://review.opendev.org/c/openstack/neutron/+/88241410:53
slaweqralonsoh ^^ now I think it should be finally green with all QoS related tests :)10:53
ralonsohslaweq, checking now10:53
opendevreviewLuis Tomas Bolivar proposed openstack/ovsdbapp master: Add support for ecmp routes  https://review.opendev.org/c/openstack/ovsdbapp/+/88226810:54
ralonsohfolks: https://review.opendev.org/c/openstack/releases/+/88281911:21
ralonsohNeutron beta 1 release ^^ please use that for the stadium projects, in the requirements11:22
opendevreviewLuis Tomas Bolivar proposed openstack/ovsdbapp master: Add support for ecmp routes  https://review.opendev.org/c/openstack/ovsdbapp/+/88226812:06
opendevreviewFernando Royo proposed openstack/ovn-octavia-provider master: Apply admin_state_up on a new member creation  https://review.opendev.org/c/openstack/ovn-octavia-provider/+/88073712:49
sahido/ we have a query that is happening quite often, i'm trying to identify which coponent is generating it12:53
sahidhttps://pastebin.ubuntu.com/p/NCNNfrgJRv/12:54
sahidperhaps slaweq you may have an idea as it is related to rbacs12:54
sahidthis query returns more than 400 000 rows12:54
sahidnumber of networks * number of subnets * numbers of rbacs12:55
slaweqsahid give me few minutes, I will check it12:55
sahidslaweq: sure nothing hurry, thanks a lot12:55
slaweqsahid I'm not sure TBH but it's probably from the RBAC code: https://github.com/openstack/neutron/blob/master/neutron/db/rbac_db_models.py#L10913:03
slaweqit's "different" RBAC than our API policies which we are calling "Secure RBAC"13:04
slaweqit's probably checking somewhere if network is shared or not13:04
sahidthank you :-) i will investigate further13:07
opendevreviewLuis Tomas Bolivar proposed openstack/ovsdbapp master: Ensure LrpAddCommand may_exits works without peers  https://review.opendev.org/c/openstack/ovsdbapp/+/88226913:11
ozzzo_workWhen I create a VM on my kolla-ansible train cluster I see this in neutron-server.log: https://paste.openstack.org/show/busV3eny89jYcT7HBd8O/13:13
ozzzo_workDoes the "Unable to schedule network" warning indicate a problem?13:14
ozzzo_workIt's not a dead agent; all of my agents are :-)13:15
ozzzo_workand when I do have dead agents, I see a different set of symptoms13:15
ozzzo_workThe VM is created fine, without the 2-minute delay that I see when I have dead agents, but it throws this error for every VM that I create on every cluster (kolla-ansible Train)13:16
ralonsohthis is because you don't have agents assigned to this network13:17
ozzzo_workralonsoh: Is there a document on managing agent->network assignments?13:17
ralonsohI don't recall this13:18
ralonsohdo you have routed networks?13:18
ralonsohdo you have different segments?13:18
ralonsohozzzo_work, what is the output of 13:19
ralonsohopenstack network agent list --network <networkid>13:19
ozzzo_workI don't remember the answer to your routed networks question. I haven't looked at our networking for a while. 13:21
ozzzo_workI get a blank list when I list agents by network13:22
ralonsohso you don't have any dhcp agent attending to this network13:22
ralonsohcheck the dhcp agents status13:22
ralonsohmost probably they are in fail state13:22
ralonsohdo you have HA?13:22
ozzzo_workWhen you say HA, do you mean 3 controllers?13:23
ralonsohyes but specifically what is the value for dhcp_agents_per_network?13:24
ralonsohthis is what schedules the networks to the dhcp agents13:25
ozzzo_workThis is what my network agents look like: | 0ef02d8f-5c3c-42e2-a95a-3cfd38a27bac | Open vSwitch agent | qde3-compute502.cloud.ourdomain.com | None              | :-)   | UP    | neutron-openvswitch-agent |13:25
ozzzo_workgroup_vars/de6/vars.yml:dhcp_agents_per_network: 213:25
ralonsohso per network you should have 2 dhcp agents13:26
ralonsohis that is not the case, then there is something wrong in the dhcp agents13:26
ralonsohcheck the logs13:26
ralonsohor try restarting them, 1 by 113:26
ozzzo_workAre dhcp agents different from network agents?13:26
ralonsohdhcp agents are specific network agents13:26
ralonsohyou have have ovs agent, linux bridge agent, metadata agent, etc13:27
ozzzo_workis there a document I should read to understand neutron agents? When I list agents I only see neutron-openvswitch-agent13:28
ozzzo_work1 per compute13:28
ralonsohhttps://docs.openstack.org/neutron/pike/admin/archives/config-agents.html13:29
ozzzo_workmy clusters are working, it's just that I see this error. Could it be that we're not using DHCP and we're hitting this bug: https://bugs.launchpad.net/networking-ovn/+bug/164742113:29
ozzzo_workok reading, ty!13:29
ralonsohhold on13:29
ralonsohhold on13:29
ralonsohare you using OVN?13:29
ralonsohozzzo_work, ^13:30
ozzzo_workovn is openvswitch?13:31
ralonsohno, what ML2 mech driver are you using?13:31
ralonsoh[ml2]13:31
ralonsohmechanism_drivers = ...13:31
ozzzo_workmy co-workers tell me that we're not using ovn13:32
ralonsohso the ovn bug is not related13:33
ralonsohyou should check the status of your dhcp agents13:33
ralonsohand health them13:33
ozzzo_workshould the dhcp agents show up in "network agent list" output?13:34
ralonsohthis is a standalone (one single computer) deployment13:34
ralonsohhttps://paste.opendev.org/show/bPOjGJ0Md3X0vWPtn1vw13:34
ozzzo_workneutron_plugin_agent: "openvswitch"13:34
ozzzo_workmy list looks different from that; I only have 1 agent per compute; it's the neutron-openvswitch-agent13:35
ozzzo_workbut my VMs get an IP somehow13:35
ralonsohbecause you are using config drive13:36
ozzzo_workralonsoh: I don't see anything about config drive in the config-agents document. Where can I read about that?13:40
ralonsohthis is in nova documentation13:40
ozzzo_workok I'm reading https://docs.openstack.org/nova/train/admin/config-drive.html13:44
opendevreviewRodolfo Alonso proposed openstack/neutron master: Add a "port" child table "porthardwareoffload"  https://review.opendev.org/c/openstack/neutron/+/88283214:23
*** iurygregory_ is now known as iurygregory14:25
opendevreviewRodolfo Alonso proposed openstack/neutron master: [DNM] [WIP] [OVN] Use the API context in the ``OVNClient._add_router_ext_gw`` method  https://review.opendev.org/c/openstack/neutron/+/88285714:57
opendevreviewRodolfo Alonso proposed openstack/neutron master: [sqlalchemy-20] Add the transaction context to the upgrade checks methods  https://review.opendev.org/c/openstack/neutron/+/88286515:01
opendevreviewRodolfo Alonso proposed openstack/ovn-octavia-provider master: [DNM] Test issue with "test_port_forwarding"  https://review.opendev.org/c/openstack/ovn-octavia-provider/+/88287215:16
ralonsohfroyo, ^15:16
froyoralonsoh, thx15:17
opendevreviewRodolfo Alonso proposed openstack/neutron master: [OVN] Use the API context in ``OVNClient._add_router_ext_gw`` method  https://review.opendev.org/c/openstack/neutron/+/88285715:54
*** gthiemon1e is now known as gthiemonge15:55
opendevreviewRodolfo Alonso proposed openstack/ovn-octavia-provider master: [DNM] Test issue with "test_port_forwarding"  https://review.opendev.org/c/openstack/ovn-octavia-provider/+/88287215:55
opendevreviewMerged openstack/neutron master: Mark "ipv6_pd_enabled" as deprecated and experimental.  https://review.opendev.org/c/openstack/neutron/+/87903016:10
ozzzo_workralonsoh: It looks like we are using provider networking. Does that mean that we have an external DHCP server?16:35
ralonsohwhat does it mean provider networking?16:36
opendevreviewStephen Finucane proposed openstack/neutron master: docs: Deindent code blocks  https://review.opendev.org/c/openstack/neutron/+/88288516:38
ozzzo_workhttps://docs.openstack.org/install-guide/launch-instance-networks-provider.html16:38
ralonsohso you are using an external network16:39
ralonsohyou can have DHCP agents on these networks but you can also use external ones16:39
ralonsohup to you16:39
ozzzo_workI think we must have an external DHCP server, because there are no DHCP agents in my "os network agent list" output16:41
ozzzo_workWe are using config drive. Would the config drive be getting the IP from an external DHCP server?16:50
opendevreviewRodolfo Alonso proposed openstack/ovn-octavia-provider master: [DNM] Test issue with "test_port_forwarding"  https://review.opendev.org/c/openstack/ovn-octavia-provider/+/88287216:54
ralonsohozzzo_work, please, collect the information of your deployment and open a LP bug. Before raising a question, please check that you have all the information16:55
ozzzo_workI don't think it's an Openstack bug; I think we just have a weird config17:26
opendevreviewMiguel Lavalle proposed openstack/neutron master: [WIP][DNM][OVN] Change the default firewall policy  https://review.opendev.org/c/openstack/neutron/+/83906622:49
opendevreviewMiguel Lavalle proposed openstack/neutron master: [WIP][DNM][OVN] Change the default firewall policy  https://review.opendev.org/c/openstack/neutron/+/83906622:52

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