Friday, 2018-08-10

*** longkb has joined #openstack-lbaas00:27
*** hongbin has joined #openstack-lbaas01:00
*** longkb has quit IRC01:20
*** longkb has joined #openstack-lbaas01:21
*** abaindur has quit IRC01:33
*** yamamoto has joined #openstack-lbaas02:31
*** yamamoto has quit IRC02:54
bzhao__abanidur: yes, you are right. 100 seconds for waiting the amp instance become ACTIVE.03:04
bzhao__abanidur:  You can increase the corresponding values in octavia.conf, then restart the octavia servers.03:06
bzhao__abanidur: Seem not other options for it, why the 2 existing options can not fit your request?03:12
openstackgerritYang JianFeng proposed openstack/octavia master: [WIP]Add quota support to octavia's l7policy and l7rule  https://review.openstack.org/59062003:19
*** hongbin has quit IRC03:19
openstackgerritYang JianFeng proposed openstack/octavia master: [WIP] Add quota support to octavia's l7policy and l7rule  https://review.openstack.org/59062003:21
*** ianychoi has joined #openstack-lbaas03:56
*** numans has quit IRC04:02
*** abaindur has joined #openstack-lbaas04:14
*** yamamoto has joined #openstack-lbaas04:51
*** abaindur has quit IRC05:00
*** abaindur has joined #openstack-lbaas05:01
*** yamamoto has quit IRC05:42
*** yamamoto has joined #openstack-lbaas05:46
openstackgerritYang JianFeng proposed openstack/octavia master: Add compute_flavor field for amphora api  https://review.openstack.org/58291405:54
openstackgerritYang JianFeng proposed openstack/octavia master: Add compute_flavor field for amphora api  https://review.openstack.org/58291406:02
*** yamamoto has quit IRC06:23
*** yamamoto has joined #openstack-lbaas06:24
*** yamamoto has quit IRC06:32
*** pcaruana has joined #openstack-lbaas06:43
openstackgerritOpenStack Proposal Bot proposed openstack/octavia master: Imported Translations from Zanata  https://review.openstack.org/59012806:55
*** velizarx has joined #openstack-lbaas07:05
*** rcernin has quit IRC07:07
*** numans has joined #openstack-lbaas07:22
*** velizarx has quit IRC07:43
*** velizarx has joined #openstack-lbaas07:50
openstackgerritOpenStack Proposal Bot proposed openstack/neutron-lbaas master: Imported Translations from Zanata  https://review.openstack.org/59017308:04
*** crazik has joined #openstack-lbaas08:17
crazikhello08:17
crazikBy default my LB have blocked ICMP on VIP08:17
crazikhow to enable that?08:17
crazikI can edit SG after LB create08:17
crazikbut need to make it persistent08:18
crazikI tried to modify default lb-mgmt-net sec group08:18
crazikbut it has no effect08:18
crazikany idea?08:18
crazikwhat happens if I add a new SG to amphora_secgroup_list?08:19
*** ktibi has joined #openstack-lbaas08:22
*** celebdor has joined #openstack-lbaas08:27
*** abaindur has quit IRC09:04
*** salmankhan has joined #openstack-lbaas09:09
cgoncalvesdayou, hi. could you please revisit https://review.openstack.org/#/c/588883/? thanks09:18
dayoucgoncalves: So if you rebase https://review.openstack.org/#/c/587442 to latest master, it does not work?09:21
*** ktibi has quit IRC09:23
cgoncalvesdayou, https://review.openstack.org/#/c/587442 has to depend-on https://review.openstack.org/#/c/587414 but that cannot verify without first removing v2-ubuntu job definition, hence the revert in https://review.openstack.org/#/c/588883/09:25
*** KeithMnemonic has quit IRC09:33
*** ktibi has joined #openstack-lbaas09:33
openstackgerritYang JianFeng proposed openstack/octavia master: [WIP] Add quota support to octavia's l7policy and l7rule  https://review.openstack.org/59062009:39
dayoucgoncalves: So if we merge 58883 into 587442 and then just make 587414 depends on 587442 is not going to work?09:40
cgoncalvesdayou, it would work, but in that case we still would need to follow up with another patch to remove octavia-v1-dsvm-scenario-ubuntu.bionic from octavia repo09:45
cgoncalvesI don't see a way it could work with less than 3 patches: 2 in octavia, 1 in octavia-tempest-plugin09:45
dayouIt looks like there is only one way dependcy, octavia-v2-dsvm-scenario-ubuntu.bionic in 587414 relies on that job being removed in 587442 and there is nothing to do with octavia-v1-dsvm-scenario-ubuntu.bionic09:56
*** abaindur has joined #openstack-lbaas10:38
*** abaindur has quit IRC10:44
*** rpittau has quit IRC11:00
openstackgerritCarlos Goncalves proposed openstack/octavia-tempest-plugin master: Update links in README.rst  https://review.openstack.org/57503011:22
*** longkb has quit IRC11:23
*** rpittau has joined #openstack-lbaas12:23
*** abaindur has joined #openstack-lbaas12:40
*** abaindur has quit IRC12:44
*** amuller has joined #openstack-lbaas12:50
*** KeithMnemonic has joined #openstack-lbaas13:19
*** velizarx has quit IRC13:19
openstackgerritYang JianFeng proposed openstack/octavia master: [WIP] Add quota support to octavia's l7policy and l7rule  https://review.openstack.org/59062013:20
*** velizarx has joined #openstack-lbaas13:21
*** abaindur has joined #openstack-lbaas13:40
*** abaindur has quit IRC13:45
*** fnaval has joined #openstack-lbaas13:49
*** hongbin_ has joined #openstack-lbaas14:03
openstackgerritGerman Eichberger proposed openstack/neutron-lbaas master: Gate API test for the lbaasv2-proxy plugin  https://review.openstack.org/53935014:21
*** velizarx has quit IRC14:39
*** salmankhan has quit IRC14:43
*** salmankhan has joined #openstack-lbaas14:49
*** kobis1 has joined #openstack-lbaas15:20
*** kobis1 has quit IRC15:20
*** rpittau has quit IRC15:48
mnaser"Amphora 015bc2d9-22ff-4670-a85c-8fd82b58ca31 health message was processed too slowly: 43.7683420181s! The system may be overloaded or otherwise malfunctioning. This heartbeat has been ignored and no update was made to the amphora health entry. THIS IS NOT GOOD."16:09
mnaseri'm not really understanding what this means, the amphora is overloaded or the control plane is?16:09
colby_Hey Everyone. I finally got all the octavia stuff going. But neutron is failing with a driver error: neutron.api.v2.resource DriverError: Driver error: 'NoneType' object has no attribute 'rstrip'16:34
openstackgerritGerman Eichberger proposed openstack/neutron-lbaas master: Gate API test for the lbaasv2-proxy plugin  https://review.openstack.org/53935016:43
*** celebdor has quit IRC16:44
*** celebdor has joined #openstack-lbaas16:45
*** aojea has joined #openstack-lbaas16:46
*** celebdor has quit IRC16:49
*** aojea has quit IRC16:52
*** salmankhan has quit IRC16:58
*** colby_ has quit IRC17:02
*** colby_ has joined #openstack-lbaas17:02
*** ktibi has quit IRC17:29
*** abaindur has joined #openstack-lbaas17:42
*** abaindur has quit IRC17:47
*** ianychoi has quit IRC18:10
*** ianychoi has joined #openstack-lbaas18:11
mnaserwelp18:27
mnaserfound a bug18:27
cgoncalvesmnaser, the octavia health manager18:45
mnaserno it looks like something happened18:45
mnaserwhere the vrrp port was deleted18:45
mnaserand then a failover happened18:45
mnaserand now it can't ever boot up again because when it tries to failover, it's trying to use the same port.18:45
mnaserhttps://github.com/openstack/octavia/blob/f1b9e463cc062c4943983944d371f604ea904609/octavia/controller/worker/flows/load_balancer_flows.py#L310-L312 -- this creates a vrrp port if none exist, before GetAmphoraeNetworkConfigs runs.18:59
mnaserin this case, the vrrp port id is gone18:59
mnaserso https://github.com/openstack/octavia/blob/a890f2ba35fed4424cf9dcff8224d699431beb45/octavia/controller/worker/flows/amphora_flows.py#L379-L381 fails to look up the vrrp port18:59
mnaserand https://github.com/openstack/octavia/blob/a890f2ba35fed4424cf9dcff8224d699431beb45/octavia/controller/worker/flows/amphora_flows.py#L391-L392 only happens afterwards.. too late for it to catch up19:00
mnaserand then the failover fails forever.19:00
mnaserthe load balancer becomes pretty much totally unrecoverable19:00
openstackgerritGerman Eichberger proposed openstack/neutron-lbaas master: Gate API test for the lbaasv2-proxy plugin  https://review.openstack.org/53935019:12
*** pcaruana has quit IRC19:19
*** abaindur has joined #openstack-lbaas19:37
*** abaindur has quit IRC19:38
*** abaindur has joined #openstack-lbaas19:38
*** ivve has joined #openstack-lbaas19:59
colby_Hey Guys Ive made more progress. When I try and delete my failed load balancers I get the following error in neutron:Driver error: (sqlite3.OperationalError) no such table: load_balancer20:45
colby_Ive got neutron db updated so why is it missing those tables: I even ran neutron-db-manage --subproject neutron-lbaas upgrade head just in case20:47
*** savvas has quit IRC20:49
colby_ah it appears to be missing from octavia db.20:56
colby_so when I run octavia-db-manage upgrade head I get this error: No support for ALTER of constraints in SQLite dialect20:58
colby_ug nevermind my puppet config was not dropping in the database connection. So it was using sqllite by accident. But Im still not able to delete them since the ids do not exist in the octavia db21:09
colby_So I guess my question is can I delete loadbalacers  (that neutron thinks exist) that are in error state that dont exist in the octavia database. These lbs exist in neutron as I was testing attempting to spin up an octavia load balancer and troubleshoot the neutron connection21:13
colby_Im guessing I will have to delete them from the neutron db, and remove the ports used by them.21:28
*** aojea has joined #openstack-lbaas21:56
*** yamamoto has joined #openstack-lbaas22:02
abaindurcolby_: is there a reason to use neutron in the first place?22:03
abaindurand not octavia directly?22:03
colby_I guess not. There was not cli that I was aware of with octavia22:05
*** fnaval has quit IRC22:06
colby_I wanted to test spinning up load balancers and only way I saw to do that was using neutron22:09
colby_Ive hit another issue. I have a lb that failed (due to an auth_plugin error on worker), that is now stuck in PENDING_CREATE so I cant delete it22:11
abaindurwhat do you mean? the openstack loadbalancer CLI uses octavia22:12
abaindurthe neutron lbaas CLI uses neutron endpoint22:12
colby_openstack loadbalancer does not exist in pike version (at least its not listed the help)22:12
abaindurdid you pip install python octaviaclient22:13
colby_no Im on centos and using the RPMs22:13
abaindurit is not there with just python-openstackclient22:13
colby_I dont see an octavia client rpm22:13
abaindurcant you "pip install python-octaviaclient"22:13
abainduryou can install the CLI/clients on any machine22:14
abaindurthe controller, dev machine, any machine22:14
abaindurhttps://docs.openstack.org/zh_CN/user-guide/common/cli-set-environment-variables-using-openstack-rc.html22:15
abaindursource those env variables that has endpoint URL for keystone, your user creds22:15
abaindurpip install the python-openstackclient and python-octaviaclient to these versions: https://github.com/openstack/requirements/blob/stable/pike/upper-constraints.txt22:16
colby_ok this was on our controller and I was using the RPMs there for everything. There are RPMs for all the other clients22:16
abaindurThen you should be good to go with "openstack loadbalancer ..." CLIs which talk to octavia22:16
abainduryou dont need to install the clients from RPM. as long as they are anywhere in your system. or even in a virtualenv22:17
abaindurif you're using pike, use the version from pike upperconstraints... "pip install python-octaviaclient==1.2.0"22:17
abaindurif your "openstack endpoint list" shows an octavia endpoint with the service type as "load-balancer" you should be good to go22:19
openstackgerritGerman Eichberger proposed openstack/neutron-lbaas master: Gate API test for the lbaasv2-proxy plugin  https://review.openstack.org/53935022:19
colby_gotcha.22:19
colby_just FYI I did not make endpoints for octavia because the docs say its unsecure and was only talked to by internal services22:20
colby_Here: https://docs.openstack.org/octavia/latest/contributor/guides/dev-quick-start.html#id222:20
colby_some newer install guides would be nice :-)22:21
abainduryea... it says octavia 0.922:25
abaindurhttps://releases.openstack.org/teams/octavia.html22:25
abaindurwhich seems like its newton (another doc bug? newton release tags missing there), since Mitaka is 0.8 and ocata is 0.1022:25
colby_yea that was the only install guide I could find22:26
abaindurthe intro page does say, "As of Pike, it is recommended to run Octavia as a standalone load balancing solution. Neutron LBaaS is deprecated in the Queens release, and Octavia is its replacement. Whenever possible, operators are strongly advised to migrate to Octavia. For end-users, this transition should be relatively seamless, because Octavia supports the Neutron LBaaS v2 API and it has a similar CLI22:26
abaindur interface."22:26
*** aojea has quit IRC22:27
abaindurNow might be a good time to ween off neutron-lbaas since it'll be gone soon22:27
colby_yea I have zero problem ditching it..we never used it.22:27
colby_so Ill do octavia stand alone22:28
abaindurwe plan to use both.... have AVI which only has a driver for neutro-lbaas22:28
abaindurshouldnt conflict as different endpoint ports and service types in keystone, and they use the different CLI clients (neutron vs openstack)22:28
colby_cool. Thanks for the info!22:29
abaindurthx... feel free to ask me questions as i am also trying to get Octavia up and running22:29
abaindurso far ive been able to create a basic HTTP load balancer, thats about it. havent done any https or health monitors or played around with anything else22:30
abaindurhttps://docs.openstack.org/octavia/queens/user/guides/basic-cookbook.html22:30
abainduri'm just following those examples which have the openstack cli commands22:30
*** ivve has quit IRC22:40
*** hongbin_ has quit IRC23:00
*** yamamoto has quit IRC23:05
*** yamamoto has joined #openstack-lbaas23:38

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!