rm_work | colin-: ; | 00:00 |
---|---|---|
rm_work | colin-: ;) | 00:00 |
*** goldyfruit has joined #openstack-lbaas | 00:07 | |
*** ccamposr has joined #openstack-lbaas | 00:19 | |
*** ccamposr__ has quit IRC | 00:22 | |
openstackgerrit | Michael Johnson proposed openstack/python-octaviaclient master: Cleanup requirements.txt https://review.opendev.org/642651 | 00:28 |
johnsom | Ah, still getting used to the new requirements scheme. Ok, got that fixed. | 00:28 |
*** goldyfruit has quit IRC | 00:30 | |
rm_work | johnsom: lower-constraints still broke there | 00:45 |
*** yamamoto has joined #openstack-lbaas | 00:47 | |
rm_work | johnsom: commented | 00:52 |
rm_work | ^^ on the ampv2 patch | 00:52 |
rm_work | looks generally good | 00:52 |
rm_work | i need to get back to multi-vip... tomorrow maybe | 00:53 |
*** hongbin has joined #openstack-lbaas | 01:11 | |
*** ricolin has joined #openstack-lbaas | 01:22 | |
*** ricolin has quit IRC | 01:30 | |
johnsom | Thank you. Want to push something up early to get feedback. I will try to make it actually work tomorrow. Lol | 01:41 |
*** yamamoto has quit IRC | 01:49 | |
*** ricolin has joined #openstack-lbaas | 01:56 | |
*** ianychoi has joined #openstack-lbaas | 02:00 | |
*** ricolin has quit IRC | 02:04 | |
*** yamamoto has joined #openstack-lbaas | 02:50 | |
*** gthiemon1e has quit IRC | 02:52 | |
*** gthiemonge has joined #openstack-lbaas | 02:54 | |
*** hongbin has quit IRC | 03:24 | |
*** gcheresh_ has joined #openstack-lbaas | 03:37 | |
*** psachin has joined #openstack-lbaas | 03:41 | |
*** gcheresh_ has quit IRC | 03:46 | |
*** ianychoi has quit IRC | 03:49 | |
*** ianychoi has joined #openstack-lbaas | 03:49 | |
*** ianychoi has quit IRC | 03:52 | |
*** ianychoi has joined #openstack-lbaas | 03:52 | |
openstackgerrit | Merged openstack/octavia-dashboard stable/rocky: Pin stable/rocky to xenial nodeset https://review.opendev.org/648852 | 04:29 |
openstackgerrit | Merged openstack/octavia-dashboard stable/queens: Pin stable/queens to xenial nodeset https://review.opendev.org/659636 | 04:30 |
openstackgerrit | Merged openstack/octavia-dashboard stable/queens: Add the missing protocol for listener https://review.opendev.org/659580 | 04:30 |
*** gcheresh_ has joined #openstack-lbaas | 05:08 | |
*** pcaruana has joined #openstack-lbaas | 05:20 | |
*** gcheresh_ has quit IRC | 05:25 | |
*** ivve has quit IRC | 05:50 | |
*** vishalmanchanda has joined #openstack-lbaas | 05:54 | |
*** sapd1_x has joined #openstack-lbaas | 06:10 | |
openstackgerrit | Carlos Goncalves proposed openstack/octavia-dashboard stable/queens: Fix auth url for Barbican client https://review.opendev.org/641578 | 06:26 |
openstackgerrit | Carlos Goncalves proposed openstack/octavia-dashboard stable/rocky: Fix auth url for Barbican client https://review.opendev.org/641577 | 06:26 |
openstackgerrit | Reedip proposed openstack/octavia-tempest-plugin master: Support skipping APP_COOKIE and HTTP_COOKIE https://review.opendev.org/645495 | 06:49 |
*** ivve has joined #openstack-lbaas | 06:58 | |
*** luksky has joined #openstack-lbaas | 06:59 | |
*** ccamposr has quit IRC | 07:04 | |
*** ccamposr has joined #openstack-lbaas | 07:04 | |
*** tesseract has joined #openstack-lbaas | 07:08 | |
*** rcernin has quit IRC | 07:19 | |
*** rpittau|afk is now known as rpittau | 07:22 | |
*** luksky has quit IRC | 07:45 | |
*** luksky has joined #openstack-lbaas | 08:19 | |
*** sapd1_x has quit IRC | 08:21 | |
*** sapd1_x has joined #openstack-lbaas | 09:13 | |
*** mkuf_ has quit IRC | 09:30 | |
*** sapd1_x has quit IRC | 09:36 | |
*** mkuf has joined #openstack-lbaas | 09:37 | |
*** gthiemonge has quit IRC | 09:47 | |
*** gthiemon1e has joined #openstack-lbaas | 09:47 | |
*** sapd1_x has joined #openstack-lbaas | 09:49 | |
*** rcernin has joined #openstack-lbaas | 09:50 | |
*** sapd1_x has quit IRC | 09:59 | |
*** yamamoto has quit IRC | 10:08 | |
*** yamamoto has joined #openstack-lbaas | 10:35 | |
*** vishalmanchanda has quit IRC | 10:44 | |
openstackgerrit | Ann Taraday proposed openstack/octavia master: [WIP] Jobboard based controller https://review.opendev.org/647406 | 10:51 |
*** henriqueof has joined #openstack-lbaas | 11:06 | |
*** mkuf has quit IRC | 11:27 | |
*** mkuf_ has joined #openstack-lbaas | 11:27 | |
*** mkuf has joined #openstack-lbaas | 11:28 | |
*** mkuf_ has quit IRC | 11:32 | |
*** rcernin has quit IRC | 11:36 | |
*** boden has joined #openstack-lbaas | 11:38 | |
*** yamamoto has quit IRC | 11:59 | |
*** yamamoto has joined #openstack-lbaas | 12:02 | |
*** goldyfruit has joined #openstack-lbaas | 13:31 | |
*** yamamoto has quit IRC | 14:18 | |
*** yamamoto has joined #openstack-lbaas | 14:18 | |
*** luksky has quit IRC | 14:19 | |
*** yboaron_ has joined #openstack-lbaas | 14:23 | |
*** goldyfruit has quit IRC | 14:31 | |
*** gthiemon1e has quit IRC | 14:41 | |
*** gthiemonge has joined #openstack-lbaas | 14:42 | |
*** yamamoto has quit IRC | 14:47 | |
*** yamamoto has joined #openstack-lbaas | 14:48 | |
*** yamamoto has quit IRC | 14:53 | |
openstackgerrit | Carlos Goncalves proposed openstack/octavia master: Delete unused files in tests/contrib https://review.opendev.org/659815 | 14:55 |
*** goldyfruit has joined #openstack-lbaas | 15:08 | |
*** Vorrtex has joined #openstack-lbaas | 15:16 | |
openstackgerrit | Michael Johnson proposed openstack/python-octaviaclient master: Cleanup requirements.txt https://review.opendev.org/642651 | 15:18 |
*** ivve has quit IRC | 15:21 | |
*** sapd1_x has joined #openstack-lbaas | 15:21 | |
openstackgerrit | Merged openstack/octavia-dashboard stable/queens: Fix auth url for Barbican client https://review.opendev.org/641578 | 15:41 |
openstackgerrit | Merged openstack/octavia-dashboard stable/rocky: Fix auth url for Barbican client https://review.opendev.org/641577 | 15:41 |
johnsom | Ok, now the cleanup requirements patch is good. | 15:51 |
*** ut2k3 has joined #openstack-lbaas | 15:51 | |
ut2k3 | Hi guys, how can I recreate the amphora instances on a lb in case of the amphora-table is empty? | 15:52 |
ut2k3 | openstack loadbalancer failover ... isn't helping. | 15:52 |
johnsom | I think rm_work knows the procedure. It's something like creating fake amphora instance records. | 15:57 |
ut2k3 | could you maybe help me rm_work? | 15:59 |
johnsom | Out of curiosity, what version of Octavia are you running and what happened to your cloud that got you here? | 16:00 |
*** rpittau is now known as rpittau|afk | 16:01 | |
ut2k3 | version 3.0.2, we rebooted the compute nodes ... and it seems that the cleanup killed my records somehow. So I've ended up with empty amphora table. | 16:04 |
ut2k3 | My mistake is here: not having a backup around... | 16:05 |
johnsom | Did you reboot them all at once or in quick series? | 16:06 |
johnsom | ut2k3 I thought this was fixed, but looking at the code it is not, so I opened a bug for you: https://storyboard.openstack.org/#!/story/2005731 | 16:09 |
ut2k3 | The reboot happened all at once, due to electricity outage in the Rack :/ | 16:09 |
johnsom | Since rm_work doesn't seem to be around, let me see if I can help you. I would recommend making a backup of the DB before we start messing with it though, just in case something goes wrong. | 16:10 |
johnsom | What provisioning status are the LBs in? ERROR? | 16:11 |
ut2k3 | Yep I did that. So far from your information of creating a fake entry, I found this post: https://openstack.nimeyo.com/122174/openstack-dev-octavia-how-to-recreate-amphora-instances | 16:11 |
ut2k3 | So they have been at ERROR state, I've put them to ACTIVE, and did then a failover again .. it seems I have to recreate the PORTS | 16:12 |
ut2k3 | Since it bootet up then two new amphora instances. One is in READY State with no loadbalancer_id and one is now in ERROR state | 16:13 |
ut2k3 | From logs: > ERROR octavia.controller.worker.controller_worker [-] LB 9e950a88-af30-4eeb-8fb6-d8c20388db17 failover exception: port not found (port id: None).: PortNotFound: port not found (port id: None). | 16:13 |
ut2k3 | Just an Idea: What about setting the LB to PENDING_CREATE would that work? | 16:14 |
johnsom | No, that will not help you. | 16:15 |
ut2k3 | Ok | 16:15 |
johnsom | How many LBs do you have like this? | 16:16 |
johnsom | Also, in the DB, let's pick one that is in ERROR status. Look up the LB ID, then look in the "vip" table and make sure it has a full record for the LB. | 16:16 |
*** tesseract has quit IRC | 16:17 | |
*** psachin has quit IRC | 16:17 | |
ut2k3 | I have currently 3 LB that I have to fix. So if you help me with one I can for sure fix the others. | 16:17 |
johnsom | Also, let's shut down the housekeeping process. | 16:18 |
johnsom | Just to make sure a purge process doesn't run | 16:18 |
*** tesseract has joined #openstack-lbaas | 16:18 | |
johnsom | We don't want it to delete any DB records at the moment | 16:18 |
ut2k3 | Ok | 16:19 |
openstackgerrit | Merged openstack/python-octaviaclient master: Cleanup requirements.txt https://review.opendev.org/642651 | 16:20 |
ut2k3 | Done and: https://pastebin.com/vN67NHzA here that's the vip-table. | 16:20 |
ut2k3 | So one entry per LB as I have only 3 LBs running. | 16:21 |
johnsom | Ok nice! So let's pick one LB record by ID. Give me a second and I will write the SQL for you. | 16:22 |
johnsom | Are these active/standby or standalone LBs? | 16:22 |
ut2k3 | Topology: SINGLE | 16:25 |
ut2k3 | If you mean that. | 16:25 |
johnsom | Yes, ok that will make this easier | 16:26 |
johnsom | One minute | 16:26 |
ut2k3 | Thanks :) | 16:26 |
johnsom | insert into amphora (id, compute_id, status, load_balancer_id, ha_ip, ha_port_id, role, cert_busy) VALUES (uuid(), uuid(), 'ALLOCATED', '<LB ID GOES HERE>', '<IP address from VIP table for LB goes here>', '<Port ID from VIP table for LB goes here>', 'STANDALONE', 0); | 16:28 |
johnsom | Also make sure the LB is in provisioning_status='ERROR' | 16:28 |
ut2k3 | OK | 16:30 |
ut2k3 | sec | 16:30 |
*** luksky has joined #openstack-lbaas | 16:33 | |
*** goldyfruit has quit IRC | 16:33 | |
*** goldyfruit has joined #openstack-lbaas | 16:33 | |
ut2k3 | Done that: https://pastebin.com/t1gLR2yu | 16:37 |
ut2k3 | I would expect that now 3 new amphora instances would be created or not? | 16:39 |
johnsom | Ok, now make the load balancer failover call while watching the worker logs. | 16:39 |
johnsom | It should remove your record and build a new functional amphora | 16:40 |
ut2k3 | Ok | 16:40 |
johnsom | I haven't tested this yet, my devstack is still building. | 16:40 |
ut2k3 | When I now trigger the failover: Invalid state ERROR of loadbalancer resource 9e950a88-af30-4eeb-8fb6-d8c20388db17 (HTTP 409) (Request-ID: req-ccb41e86-482b-4acb-b136-13142cae310f) | 16:40 |
ut2k3 | All 3 LB are currently in the provisioning_status = ERROR state. | 16:41 |
ut2k3 | The command was working on ACTIVE, so I can try that by changing them in the DB to ACTIVE . | 16:41 |
johnsom | Argh, I thought that was fixed too. Ok, set it to ACTIVE then do the failover | 16:41 |
johnsom | Let's do one at a time as well. Not all three at once. | 16:42 |
ut2k3 | yep | 16:43 |
ut2k3 | Its being created now, lets see :) | 16:45 |
* johnsom Hopes for success! | 16:45 | |
ut2k3 | Its changing into transitioned into state 'REVERTED' from state 'REVERTING' | 16:47 |
ut2k3 | > 2019-05-17 16:47:10.911 99 ERROR octavia.controller.worker.controller_worker [-] LB 9e950a88-af30-4eeb-8fb6-d8c20388db17 failover exception: port not found (port id: None).: PortNotFound: port not found (port id: None). | 16:47 |
johnsom | That is not good. That means we have something else wrong that needs fixed. | 16:47 |
*** sapd1_x has quit IRC | 16:48 | |
johnsom | Can you do a "openstack port show 10389c9a-3250-41a3-a398-b3027c0ad1c8" ? | 16:48 |
ut2k3 | Thats the trace (I removed the key stuff)> https://pastebin.com/3CqtKRNx | 16:49 |
ut2k3 | Thats the output from the command: https://pastebin.com/yLsTmYRd | 16:50 |
johnsom | Hmm, ok, give me a minute | 16:51 |
johnsom | Ok, we are going to need to fill in another field | 16:53 |
ut2k3 | Ok | 16:54 |
johnsom | Just a minute or two more, sorry. | 16:57 |
*** tesseract has quit IRC | 16:58 | |
*** tesseract has joined #openstack-lbaas | 16:59 | |
johnsom | Ok, can you do a "openstack port list | grep vrrp" | 17:00 |
johnsom | If we are lucky there will be three ports listed | 17:01 |
ut2k3 | Yep 3 there :) | 17:01 |
johnsom | Ok, one of those should have a uuid that matches our load balancer ID we are attempting to fix. | 17:02 |
ut2k3 | Nope, unfortunately not | 17:03 |
ut2k3 | https://pastebin.com/QXjKtZD2 | 17:03 |
johnsom | Oh! right, sorry, that was my mistake. It's going to match the old amphora ID. That is ok. Are all three on the same subnet? | 17:04 |
ut2k3 | yep | 17:04 |
johnsom | Ok, cool, we will just pick one by one. The order doesn't matter for that port given they are all on the same subnet. | 17:04 |
johnsom | update amphora set vrrp_ip='<vrrp port IP goes here>', vrrp_port_id='<vrrp port ID goes here>' where id = '<our fake amphora record ID>' | 17:05 |
johnsom | So, for the fake amphora record we created before, let's update it to fill in the VRRP port fields with one of the ports we found in neutron. | 17:05 |
johnsom | Then set the LB back to active, then failover | 17:06 |
johnsom | Oh, the ending ';' didn't paste. The SQL line needs the ; on the end | 17:06 |
ut2k3 | Question: I can pick ANY vrrp_port id to this amphora or should it be a certain one? | 17:07 |
johnsom | Just pick the first one on your list. You can't re-use them, but it doesn't matter which one you use for this. | 17:08 |
johnsom | It will get deleted and rebuilt during the failover. | 17:08 |
ut2k3 | Instance is spawning, fingers crossed :) | 17:10 |
ut2k3 | Awesome, it was working :) | 17:15 |
johnsom | +1 | 17:15 |
johnsom | There you go. Glad we could help. | 17:15 |
*** tesseract has quit IRC | 17:17 | |
*** yboaron_ has quit IRC | 17:21 | |
*** yboaron_ has joined #openstack-lbaas | 17:22 | |
johnsom | I took some notes too so hopefully we can get that all cleaned up so it's not so hard to recover. | 17:24 |
*** ivve has joined #openstack-lbaas | 17:30 | |
*** ut2k3 has quit IRC | 17:35 | |
*** yamamoto has joined #openstack-lbaas | 17:41 | |
*** yamamoto has quit IRC | 17:47 | |
colin- | morning, i'm trying to get a sense for the volume of gratuitous ARP requests we should see for a given number of LBs | 17:58 |
colin- | is there anywhere in the project that describes when this occurs, how frequently, etc? as a specific topic? | 17:58 |
johnsom | colin- Hi. It's pretty aggressive as we found we need to beat neutron over the head with them in some clouds. | 17:59 |
colin- | yeah, i'm concerned about the ability of <generic switch> that sits between those services since that will vary greatly from one cloud to the next | 18:00 |
johnsom | https://github.com/openstack/octavia/blob/master/octavia/amphorae/drivers/keepalived/jinja/templates/keepalived_base.template#L30 | 18:01 |
colin- | so i'm hoping to quantify the footprint | 18:01 |
colin- | ah thanks | 18:01 |
johnsom | https://github.com/openstack/octavia/blob/master/octavia/amphorae/drivers/keepalived/jinja/jinja_cfg.py#L99 | 18:01 |
johnsom | Any switch worth it's weight should be able to handle that without trouble. | 18:02 |
colin- | which switches are worth their weight :)? | 18:04 |
colin- | a never ending search for the best one | 18:04 |
colin- | this will help, thanks a lot | 18:04 |
johnsom | I have opinions, but will constrain myself | 18:04 |
*** yboaron_ has quit IRC | 18:30 | |
*** yboaron_ has joined #openstack-lbaas | 18:31 | |
*** yboaron_ has quit IRC | 18:32 | |
*** yboaron_ has joined #openstack-lbaas | 18:33 | |
*** yboaron_ has quit IRC | 18:34 | |
*** yboaron_ has joined #openstack-lbaas | 18:34 | |
*** yboaron_ has quit IRC | 18:38 | |
*** yboaron_ has joined #openstack-lbaas | 18:39 | |
*** yboaron_ has quit IRC | 18:47 | |
*** yboaron_ has joined #openstack-lbaas | 18:48 | |
*** ut2k3 has joined #openstack-lbaas | 18:52 | |
*** yboaron_ has quit IRC | 18:52 | |
*** Vorrtex has quit IRC | 18:52 | |
*** yboaron_ has joined #openstack-lbaas | 18:52 | |
*** ut2k3 has quit IRC | 18:55 | |
*** gcheresh_ has joined #openstack-lbaas | 19:21 | |
*** yboaron_ has quit IRC | 19:26 | |
*** yboaron_ has joined #openstack-lbaas | 19:27 | |
*** gthiemonge has quit IRC | 19:38 | |
*** gthiemonge has joined #openstack-lbaas | 19:39 | |
*** goldyfruit has quit IRC | 19:39 | |
*** goldyfruit has joined #openstack-lbaas | 19:53 | |
*** gcheresh_ has quit IRC | 20:00 | |
*** pcaruana has quit IRC | 20:02 | |
openstackgerrit | Michael Johnson proposed openstack/octavia master: Create Amphora V2 provider driver https://review.opendev.org/659689 | 20:08 |
openstackgerrit | Michael Johnson proposed openstack/octavia master: Create Amphora V2 provider driver https://review.opendev.org/659689 | 20:08 |
*** ut2k3 has joined #openstack-lbaas | 20:37 | |
*** ut2k3 has quit IRC | 20:37 | |
*** KeithMnemonic has quit IRC | 21:08 | |
openstackgerrit | Merged openstack/octavia master: db: add missing primary key in spares_pool table https://review.opendev.org/656459 | 21:34 |
*** boden has quit IRC | 21:35 | |
*** henriqueof has quit IRC | 21:55 | |
*** gthiemonge has quit IRC | 22:00 | |
*** gthiemonge has joined #openstack-lbaas | 22:01 | |
*** gthiemonge has quit IRC | 22:21 | |
*** gthiemonge has joined #openstack-lbaas | 22:22 | |
*** luksky has quit IRC | 22:50 | |
*** AlexStaf has joined #openstack-lbaas | 23:07 | |
xgerman | johnsom: HPE bought Cray! WTF? | 23:42 |
johnsom | Yeah, saw that. Funny given they bought SGI a few years ago. | 23:43 |
xgerman | it’s almost like they are now the place great comouter manufacturers got o die | 23:43 |
johnsom | I'm still not sure what they really got out of SGI | 23:44 |
xgerman | Yep, real estate? | 23:46 |
*** goldyfruit has quit IRC | 23:48 | |
johnsom | Well, there are a few more on the list than I expected: https://www.top500.org/statistics/sublist/ | 23:50 |
colin- | had the same reaction as you two about that news | 23:50 |
colin- | what on earth are they going to do with that acq | 23:50 |
colin- | don't understand the market appetite for these buys specifically right _now_ especially with Uber's IPO drama | 23:51 |
johnsom | Desperate attempt to compete with IBM? | 23:51 |
colin- | maybe so, i certainly can't attribute it to anything else specifically | 23:52 |
colin- | curious what fruit the f5/nginx thing will bear | 23:52 |
*** AlexStaf has quit IRC | 23:55 | |
johnsom | I made a mistake picking listener for my demo patch. It touches nearly everything.... sigh | 23:57 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!