Saturday, 2020-03-21

CeeMac_but you're wanting to attach an instance directly to a public network?00:00
CeeMac_seems odd :D00:00
CeeMac_if you're adding a subnet with dhcp, its going to use L3 and create a dhcp agent etc right?00:00
phileus777CeeMac_: Sorry...I may have misunderstood you.  There is no external facing IP addresses.  This just mirrors a basic network setup in a corporate data center.00:00
CeeMac_i've not done anything with pure L3 networks as of yet00:00
phileus777CeeMac_: Yes from that perspective ....00:01
CeeMac_and you had this all working in lxb already?00:01
phileus777CeeMac_: Yes all working..and other hypservisors working with Linux bridging.00:01
CeeMac_so you're planning  a single tenant/project with a single provider network to attach the instance to a physical router or something?00:01
phileus777CeeMac_: That's right if I'm understanding you correctly.  The router is physical.00:02
*** shibboleth has joined #openstack00:02
phileus777CeeMac_: This is phase I of the project.00:02
CeeMac_so, you have this as an external/shared network00:04
phileus777Yes00:04
CeeMac_which is designed for router with external interface performing nat00:05
CeeMac_as far as i understand things00:05
CeeMac_where i've implemented similar to what you're trying to for access to physical kit, i've created the network as admin and used rbac to set access_as_shared then created the subnet under the project user to attach instances to00:06
CeeMac_brb a minute then will check some of my config00:06
phileus777CeeMac_: But the issue is the port binding...00:07
CeeMac_yeah00:12
CeeMac_can you manually create a port on the subnet?00:12
phileus777CeeMac_: how do I do that?00:13
CeeMac_in horizon, browse to the network, click into the subnet then on the ports tab add a new one00:13
CeeMac_then if that works, when you launch a new instance try attaching that port instead of specifying the network00:16
phileus777CeeMac_: Interesting..what do I puet for Devid ID/Device Owner, etc.00:17
CeeMac_you can leave them blank00:19
CeeMac_if you had an instance already you could add the instance id in the device id to bind the port to that instance, which is what I was going to get you try, except for the lack of instances :D00:19
phileus777CeeMac_: Darn..it's saying port is not useable for instance XXXX00:20
phileus777CeeMac_: So error...00:20
CeeMac_just to clarify, this 'provider' network was already there and set up and working exactly as is before you transitioned to ovs? or did you strip all of the network config out from lxb and re-provision the 'provider' network again00:21
CeeMac_phileus777: so the port got created ok but it errored out when you tried to launch an instance with it?00:21
phileus777CeeMac_: Provider network is intact.  I launch the same VM on a different hypervisor and it comes up fine.00:22
phileus777CeeMac_: One thing I noticied is if I do a brctl show, there is no Linux bridge.  Shouldn't there be a Linux bridge?00:22
CeeMac_so this is a new compute node with ovs, where your other compute nodes are lxb correct?00:23
phileus777CeeMac_: That's correct.00:24
CeeMac_well, my ovs environment is using the ovs firewall driver, so i dont have bridges00:24
phileus777CeeMac_: Darn..I see...I wanted to use that but my kernel is 3.10.0-162.00:25
CeeMac_but as i understand it, when using iptables_hybrid then yes a bridge should be created for port security00:25
phileus777CeeMac_: Isn't the minimum 3.3 for the kernel version?00:25
CeeMac_but if the vif-binding is failing maybe its not getting that far00:25
phileus777CeeMac_: I'm just asking hoping to switch...00:25
CeeMac_something like that00:25
CeeMac_would need to check the docs00:25
phileus777CeeMac_: Crap..documentation is so bad for this.00:25
phileus777CeeMac_: I can't find anyhwere that explains this whole process...need to read the source code...00:26
CeeMac_did you read through this one? https://docs.openstack.org/ocata/networking-guide/deploy-ovs-provider.html#example-configuration00:27
CeeMac_there are so many combinations it can get tricky wading through it all00:27
CeeMac_what openstack version are you running?00:28
phileus777CeeMac_: how do I tell :)00:29
CeeMac_cat /etc/openstack-release00:30
CeeMac_that do i shared is old but still relevant up to I think Stein, but don't quote me on that :)00:30
CeeMac_s/do/doc00:30
CeeMac_you're looking for DISTRIB_CODENAME00:31
phileus777I'm running CentOS..i don't see that file00:32
CeeMac_oh00:32
CeeMac_sorry no clue for centos then00:32
CeeMac_i ubuntu00:32
phileus777CeeMac_: Thank you so much for your help.  I'm kind of at wits end here. ...need to have a strong drink or something.00:33
phileus777CeeMac_: I'll be signing off...I'll probably post again here at some point to see if anyone has any experience doing this.  I don't want to upgrade the kernel for this.00:33
CeeMac_have a read through that link i posted00:33
phileus777CeeMac_: I've seen it before.....I haven't actually made updates on my controller nodes...that could be an issue..not sure.00:34
CeeMac_there was  forum post where someone had similar issues, and they needed to swap out br-ex for br-provider, and linked provider:br-provider in bridge mappings00:34
CeeMac_and somewhere you'll see flat linked to provider also00:34
CeeMac_let me find one more link real quick00:34
phileus777CeeMac_: Thanks I can try that..00:34
phileus777CeeMac_: You are awesome thanks.00:34
CeeMac_https://docs.openstack.org/neutron/latest/admin/deploy-ovs-provider.html00:35
CeeMac_if you ever find what release you're on, you can swap out /latest/ with queens, rocky, stein, etc to find something more specific00:36
CeeMac_but the principles should be sound00:36
CeeMac_take a step back and work through each configuration file to ensure all of the references match up00:36
CeeMac_you'll get there :)00:36
CeeMac_and if that fails, maybe try creating a new project with tenant networks and a router, try attach the router to the provider netowrk, then you can exec into the ip netns and do ping testing, arp lookups etc to validate your underlay00:37
CeeMac_and then attach an instance to a tenant network and try connecting out via the router.00:37
CeeMac_once you're happy the underlay works, you can revisit your original project and see what needs to be done00:37
phileus777CeeMac_: Thanks.00:38
CeeMac_no worries good luck.  imma go sleep now :D00:38
phileus777CeeMac_: Good night :)00:38
CeeMac_night00:38
*** k_mouza has quit IRC00:54
*** gyee has quit IRC01:10
*** jistr has quit IRC01:16
*** jistr has joined #openstack01:18
*** spiral has quit IRC01:23
*** phileus777 has quit IRC01:43
*** CeeMac_ is now known as CeeMac01:48
*** imega has quit IRC01:59
*** tonythomas has quit IRC02:11
*** macz_ has joined #openstack03:04
*** macz_ has quit IRC03:09
*** Goneri has quit IRC03:20
*** brokencycle has quit IRC03:23
*** shibboleth has quit IRC04:26
*** negronjl_ has quit IRC04:32
*** negronjl has joined #openstack04:34
*** bengates has joined #openstack05:02
*** bengates has quit IRC05:06
*** sauvin has joined #openstack05:14
*** k_mouza has joined #openstack05:56
*** k_mouza has quit IRC06:00
*** nksegos has joined #openstack07:28
*** idlemind_ has joined #openstack07:28
*** idlemind has quit IRC07:28
*** devfaz has quit IRC07:46
*** devfaz has joined #openstack07:52
*** leanderthal has joined #openstack08:20
*** matt_kosut has quit IRC08:43
*** matt_kosut has joined #openstack08:43
*** pbing19 has joined #openstack08:54
*** jmasud has quit IRC09:05
*** slaweq has joined #openstack09:07
*** macz_ has joined #openstack09:14
*** macz_ has quit IRC09:18
*** jonaspaulo has joined #openstack09:41
*** k_mouza has joined #openstack09:56
*** k_mouza has quit IRC10:00
*** slaweq has quit IRC10:02
*** Warped has quit IRC10:07
*** Warped has joined #openstack10:09
*** imega has joined #openstack10:12
*** S4ren has quit IRC10:50
*** ssapp has joined #openstack10:55
*** shibboleth has joined #openstack11:01
*** Lucas_Gray has joined #openstack11:06
*** Lucas_Gray has quit IRC11:17
*** Lucas_Gray has joined #openstack11:19
*** slaweq has joined #openstack11:21
*** phillu has joined #openstack11:27
*** shibboleth has quit IRC11:28
*** phillu has quit IRC11:31
*** leanderthal has quit IRC11:32
*** slaweq has quit IRC11:36
*** gary_perkins has quit IRC11:39
*** gary_perkins has joined #openstack11:40
*** ssapp has quit IRC11:48
*** slaweq has joined #openstack11:53
*** ssapp has joined #openstack11:53
*** sorin-mihai__ has joined #openstack11:56
*** ssapp has quit IRC11:56
*** sorin-mihai_ has quit IRC11:59
*** Lucas_Gray has quit IRC11:59
*** slaweq has quit IRC12:00
*** Lucas_Gray has joined #openstack12:05
*** admin0 has joined #openstack12:07
*** S4ren has joined #openstack12:27
*** sorin-mihai__ has quit IRC12:32
*** sorin-mihai__ has joined #openstack12:33
*** Lucas_Gray has quit IRC12:41
*** pbing19 has quit IRC12:53
*** phillu has joined #openstack12:57
*** S4ren has quit IRC12:58
*** phillu has quit IRC13:12
*** Lucas_Gray has joined #openstack13:20
*** Lucas_Gray has quit IRC13:45
*** jistr has quit IRC14:27
*** jistr has joined #openstack14:27
*** vesper11 has quit IRC15:05
*** vesper11 has joined #openstack15:07
*** jistr has quit IRC15:09
*** jistr has joined #openstack15:14
*** shibboleth has joined #openstack15:34
*** ssapp has joined #openstack15:40
*** brokencycle has joined #openstack15:43
*** Andreas681 has joined #openstack15:47
Andreas681I'm trying to do such a simple thing as to make a logging output from my horizon panel, but no no avail15:49
Andreas681LOG.warning("!HERE panel!")15:49
Andreas681`/var/log$ grep -R "HERE"`15:49
Andreas681But there is no findings, so my question is: Where does it end up?15:49
Andreas681In my `/api/client.py` I'm trying this:15:51
Andreas681`LOG.debug("!HERE client!")`15:52
Andreas681But still no findings with grep15:52
*** ssapp has quit IRC15:52
*** ssapp has joined #openstack15:53
*** dsneddon has quit IRC15:57
Andreas681And I got `import logging`16:03
*** dsneddon has joined #openstack16:09
*** pbing19 has joined #openstack16:14
*** sorin-mihai__ has quit IRC16:56
*** sorin-mihai__ has joined #openstack16:57
*** sorin-mihai__ has quit IRC16:57
*** sorin-mihai__ has joined #openstack16:58
*** sorin-mihai__ has quit IRC16:59
*** sorin-mihai__ has joined #openstack17:01
*** Goneri has joined #openstack17:05
*** sorin-mihai_ has joined #openstack17:07
*** sorin-mihai__ has quit IRC17:11
*** jmasud has joined #openstack17:18
*** shibboleth has quit IRC17:19
*** matt_kosut has quit IRC17:33
*** avivgt has quit IRC18:25
*** Andreas681 has quit IRC18:46
*** avivgt has joined #openstack18:52
*** Domin has quit IRC19:02
*** matt_kosut has joined #openstack19:34
*** matt_kosut has quit IRC19:39
*** cyberworm54 has joined #openstack20:00
*** slaweq has joined #openstack20:07
*** sorin-mihai__ has joined #openstack20:08
*** cyberworm54 has quit IRC20:08
*** sorin-mihai_ has quit IRC20:10
*** Lucas_Gray has joined #openstack20:36
*** Lucas_Gray has quit IRC20:42
*** jmasud has quit IRC20:53
*** Domin has joined #openstack20:54
*** jmasud has joined #openstack20:55
*** ymasson has quit IRC21:18
*** ymasson has joined #openstack21:32
*** matt_kosut has joined #openstack21:35
*** matt_kosut has quit IRC21:40
*** cyberworm54 has joined #openstack21:53
*** cyberworm54 has quit IRC21:54
*** slaweq has quit IRC21:59
*** vesper11 has quit IRC22:09
*** vesper11 has joined #openstack22:11
*** Free_maN has quit IRC22:20
*** avivgta has joined #openstack22:21
*** nksegos has quit IRC23:13
*** avivgta has quit IRC23:16
*** colejhudson has joined #openstack23:21
*** colejhudson has left #openstack23:22
*** jonaspaulo has quit IRC23:23
*** pbing19 has quit IRC23:26
*** matt_kosut has joined #openstack23:36
*** pbing19 has joined #openstack23:36
*** matt_kosut has quit IRC23:41

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