Thursday, 2021-08-05

*** pmannidi is now known as pmannidi|brb00:04
*** pmannidi|brb is now known as pmannidi01:06
opendevreviewRoman Dobosz proposed openstack/kuryr-kubernetes master: [WIP] Switch gates to OVN by default.  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/80299906:32
digitalsimbojaHello! 06:43
digitalsimbojaGood morning ltomasbo06:43
digitalsimbojaFollowing my conversation with the folks at lbaas06:43
digitalsimbojaThey advised I propose this change on the main Kuryr repo06:44
digitalsimbojahttps://review.opendev.org/c/openstack/kuryr-kubernetes/+/80352706:44
digitalsimbojaThis according them has to go in to resolve the Zuul failure06:45
digitalsimbojaPlease review06:45
ltomasboyeah, makes sense06:47
ltomasboand then you will need to make your change "depends-on" this one06:47
ltomasbodigitalsimboja, ^06:47
ltomasboso that you can check if that works for you or not as expected06:47
digitalsimbojaAlready don06:47
digitalsimbojaover herre06:48
digitalsimbojahttps://review.opendev.org/c/openstack/kuryr-tempest-plugin/+/80324406:48
ltomasbodigitalsimboja, then you need to check what is failing, as all the gates are still red06:49
ltomasbowith the same failure06:49
ltomasboyou added the depends on in not the right format, check https://www.mediawiki.org/wiki/Gerrit/Cross-repo_dependencies06:50
digitalsimbojaOhh!06:51
opendevreviewSunday Mgbogu proposed openstack/kuryr-tempest-plugin master: Add Kuryr-tempest-plugin test for LoadBalancer Reconciliation  https://review.opendev.org/c/openstack/kuryr-tempest-plugin/+/80324407:34
*** pmannidi is now known as pmannidi|brb07:49
digitalsimbojaltomasbo: Zuul still failed after amending as above 09:31
digitalsimbojahttps://zuul.opendev.org/t/openstack/status/#80324409:49
gryfyou don't have octavia-tempest-plugin.09:58
gryfI'll give you a hint in https://review.opendev.org/c/openstack/kuryr-kubernetes/+/803527.09:59
gryfhm. ignore me. I'm stupid. it should work.10:09
gryfsimboja, here's why: https://docs.openstack.org/devstack/latest/zuul_roles.html#rolevar-write-devstack-local-conf.tempest_plugins10:13
simbojataking a look...10:13
digitalsimbojaIf a plugin declares a dependency on another plugin (via plugin_requires in the plugin’s settings file), this role will automatically emit enable_plugin lines in the correct order.10:33
digitalsimbojagryf, I read the above ^10:34
gryf> If the variable already exists, its value is not changed.10:34
gryfbut that's weird, since we didn't declare it anywhere.10:36
gryfyet, tempest clearly doesn't pull octavia tempest plugin.10:36
gryfperhaps we need to discard this line, and add tempest_plugin with both: kuryr and octavia tempest plugins?10:37
digitalsimbojaremove both entirely on local.conf?10:38
digitalsimbojaNo sorry! You mean I need to add kuryr-tempest-plugin to the vars I declared on .zuul.d as well?10:40
gryfI'm referring to zuul config.10:40
gryfplease, take a look at the commit message: https://opendev.org/openstack/devstack/commit/f0d1896d0acdf0aa9198442f0642e8a7fd3ff42210:40
gryfand because we do have it declared, at base class, and whatever you add in var.tempest_plugins list, it will be ignored.10:42
digitalsimbojasure I get it now.10:44
digitalsimbojaNow either we remove the declaration from the base class so it can access the one declared using vars or we add octavia-tempest-plugin here10:46
digitalsimbojaI suggest the second option so it can be captured at base. My thoughts though I could be wrong?10:46
gryfby "here" you mean where?10:46
digitalsimbojaI mean on zuul config, I could add the octavia-tempest-plugin as well?10:49
digitalsimbojaCould be add as a list10:50
digitalsimboja devstack_localrc:10:50
digitalsimboja        Q_AGENT: openvswitch10:50
digitalsimboja        Q_ML2_TENANT_NETWORK_TYPE: vxlan10:50
digitalsimboja        Q_ML2_PLUGIN_MECHANISM_DRIVERS: openvswitch,linuxbridge10:50
digitalsimboja        ML2_L3_PLUGIN: router10:50
digitalsimboja        KURYR_K8S_API_PORT: 644310:50
digitalsimboja        TEMPEST_PLUGINS: '/opt/stack/kuryr-tempest-plugin'10:50
digitalsimboja?10:51
gryfhere's the options:10:52
gryf1) you could remove https://github.com/openstack/kuryr-kubernetes/blob/master/.zuul.d/base.yaml#L49, add instead vars.tempest_plugins: ['kuryr-tempest-plugin']10:54
gryf2) override devstack_localrc.TEMPEST_PLUGINS: '/opt/stack/kuryr-tempest-plugin /opt/stack/octavia-tempest-plugin' (I'm not sure for that one, since we need to clone repo for octavia somehow, perhaps it can be done similar to this: https://github.com/openstack/kuryr-kubernetes/blob/master/.zuul.d/base.yaml#L33)10:56
gryfon the octavia base job. and remove var.tempest_plugins.10:57
gryfI guess, that first option looks cleaner, than manually clone and fill TEMPEST_PLUGINS var.10:58
digitalsimbojafirst option sure looks cleaner11:05
digitalsimbojaso for the first option, I remove L4911:05
digitalsimbojaThen add the Octavia and kuryr tempest plugins within the vars11:06
gryffor option 1, you'll need to remove this aswell https://github.com/openstack/kuryr-kubernetes/blob/master/.zuul.d/base.yaml#L3311:08
digitalsimbojaOkay got it!11:10
gryfsomething like this: https://paste.opendev.org/show/807902/11:10
gryfand than we will see in generated local_conf.txt on gates, if that was correct.11:11
digitalsimbojaI need to include the octavia-tempest-plugin to the kuryr more like below:11:13
digitalsimbojahttps://paste.opendev.org/show/807903/11:13
gryfwell, yeah, or just on octavia base job.11:14
gryfand I'd prefer the latter, since it is octavia related.11:15
digitalsimbojaperfect11:17
digitalsimbojamaking the required changes...11:18
opendevreviewRoman Dobosz proposed openstack/kuryr-kubernetes master: [WIP] Switch gates to OVN by default.  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/80299911:19
opendevreviewSunday Mgbogu proposed openstack/kuryr-kubernetes master: Add Octavia Tempest Plugin  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/80352711:20
digitalsimbojaHere12:10
digitalsimbojahttps://zuul.opendev.org/t/openstack/build/ed14c621acf74847ad7bfd941a984a0c12:10
digitalsimbojavenv-tempest run-test-pre: PYTHONHASHSEED='1306222494'12:10
digitalsimbojavenv-tempest run-test: commands[0] | pip install -c /tmp/tempest_u_c_m.9hGP3NvLf8 /opt/stack/octavia-tempest-plugin12:10
digitalsimbojaERROR: Invalid requirement: '/opt/stack/octavia-tempest-plugin'12:10
digitalsimbojaHint: It looks like a path. File '/opt/stack/octavia-tempest-plugin' does not exist.12:10
digitalsimbojaERROR: InvocationError for command /opt/stack/tempest/.tox/tempest/bin/pip install -c /tmp/tempest_u_c_m.9hGP3NvLf8 /opt/stack/octavia-tempest-plugin (exited with code 1)12:10
digitalsimbojaits not able to discover octavia-tempest-plugin12:12
digitalsimbojaI wonder why12:12
digitalsimbojagryf, we are still getting the zuul failure13:59
gryflooking.14:05
digitalsimbojaokay14:16
gryfok, it crash on octavia tempest not found in opt/stack14:22
gryfdigitalsimboja, added comments: https://review.opendev.org/c/openstack/kuryr-kubernetes/+/80352714:29
digitalsimbojalooking..14:29
opendevreviewSunday Mgbogu proposed openstack/kuryr-kubernetes master: Add Octavia Tempest Plugin  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/80352715:16
opendevreviewSunday Mgbogu proposed openstack/kuryr-kubernetes master: Add Octavia Tempest Plugin  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/80352715:20
gryfdigitalsimboja, it will still not work, since you reverted whole base.yaml :(15:24
digitalsimbojareverted?15:24
gryfyes.15:24
gryfyou've should keep this change: https://review.opendev.org/c/openstack/kuryr-kubernetes/+/803527/2..4/.zuul.d/base.yaml and this one: https://review.opendev.org/c/openstack/kuryr-kubernetes/+/803527/2..4/.zuul.d/base.yaml#b4215:26
gryfand currently you reverted whole base.yaml, so TEMPEST_PLUGINS still exists, and still whatever you put in vars.tempest_plugins list in kuryr-kubernetes-tempest job will be ignored.15:27
digitalsimbojachecking..15:28
digitalsimbojaso I should remove this  TEMPEST_PLUGINS: '/opt/stack/kuryr-tempest-plugin'15:32
gryfyes.15:35
gryfand add tempest_plugins: - kuryr-tempest-plugin instead.15:36
opendevreviewSunday Mgbogu proposed openstack/kuryr-kubernetes master: Add Octavia Tempest Plugin  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/80352716:26
opendevreviewSunday Mgbogu proposed openstack/kuryr-kubernetes master: Add Octavia Tempest Plugin  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/80352716:40
opendevreviewSunday Mgbogu proposed openstack/kuryr-kubernetes master: Add Octavia Tempest Plugin  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/80352717:01
opendevreviewSunday Mgbogu proposed openstack/kuryr-kubernetes master: Add Octavia Tempest Plugin  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/80352718:13
digitalsimbojagryf, please take a look18:55
digitalsimbojahttps://paste.opendev.org/show/807917/18:55
gryftriple vars.18:57
gryfdo you have an idea how dictionary in python works?18:58
digitalsimbojaKey,value18:59
digitalsimbojasure18:59
digitalsimbojaI see the error18:59
digitalsimbojasending... new change19:00
gryfwait :)19:00
gryfyou don't need lines: 28 and 31.19:00
gryfalso.19:01
gryfline 33 is wrong/19:02
digitalsimbojasure yes19:02
gryfit should be devstack_plugins instead.19:02
gryf*line 3219:03
digitalsimbojaYou mean line 32 should be devstack_plugins instead of tempest?19:06
digitalsimbojasee..19:07
digitalsimbojahttps://paste.opendev.org/show/807919/19:07
digitalsimbojatempest-plugin has octavia-tempest-plugin19:07
digitalsimbojadevstack_plugins has https://opendev.org/openstack/octavia-tempest-plugin.git19:08
gryfyup.19:08
digitalsimbojatempest_plugins is a list19:08
digitalsimbojanow contains only the octavia-tempest-plugin19:08
gryfthe latest pastebin seems ok.19:09
gryfprevious has issues :)19:09
digitalsimbojasure19:09
digitalsimbojabut still check line 3219:09
digitalsimbojalooks good?19:09
gryfthere is no key there19:10
gryfoctavia-tempest-plugin: https…19:10
digitalsimbojaMy guess19:10
digitalsimbojaadding that..19:10
gryftempest_plugins looks ok though.19:10
gryf(on line 30)19:10
digitalsimbojahttps://paste.opendev.org/show/807920/19:11
digitalsimbojaI think we should be fine now19:11
gryfyup. should be good.19:13
digitalsimbojacool19:16
opendevreviewSunday Mgbogu proposed openstack/kuryr-kubernetes master: Add Octavia Tempest Plugin  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/80352719:18
digitalsimbojagryf: Failed again over here20:04
digitalsimbojahttps://zuul.opendev.org/t/openstack/build/6bb75e16428440c5862d188698907a0420:04
digitalsimbojavenv-tempest run-test: commands[0] | pip install -c /tmp/tempest_u_c_m.oKgoDUMlTC /opt/stack/octavia-tempest-plugin20:05
digitalsimbojaERROR: Invalid requirement: '/opt/stack/octavia-tempest-plugin'20:05
digitalsimbojaHint: It looks like a path. File '/opt/stack/octavia-tempest-plugin' does not exist.20:05
digitalsimbojaERROR: InvocationError for command /opt/stack/tempest/.tox/tempest/bin/pip install -c /tmp/tempest_u_c_m.oKgoDUMlTC /opt/stack/octavia-tempest-plugin (exited with code 1)20:05
opendevreviewSunday Mgbogu proposed openstack/kuryr-kubernetes master: Add Octavia Tempest Plugin  https://review.opendev.org/c/openstack/kuryr-kubernetes/+/80352720:11

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