*** markvoelker has joined #openstack-ansible | 00:48 | |
*** markvoelker has quit IRC | 00:53 | |
*** d34dh0r53 has quit IRC | 00:57 | |
*** d34dh0r53 has joined #openstack-ansible | 00:58 | |
*** d34dh0r53 has quit IRC | 01:07 | |
*** jamesdenton has quit IRC | 01:36 | |
*** jamesdenton has joined #openstack-ansible | 01:38 | |
*** npalladium has quit IRC | 02:04 | |
*** idlemind has quit IRC | 02:15 | |
*** markvoelker has joined #openstack-ansible | 02:49 | |
*** markvoelker has quit IRC | 02:54 | |
*** markvoelker has joined #openstack-ansible | 04:32 | |
*** markvoelker has quit IRC | 04:37 | |
*** markvoelker has joined #openstack-ansible | 06:33 | |
*** markvoelker has quit IRC | 06:38 | |
*** markvoelker has joined #openstack-ansible | 06:41 | |
*** markvoelker has quit IRC | 06:46 | |
*** markvoelker has joined #openstack-ansible | 08:17 | |
*** markvoelker has quit IRC | 08:22 | |
*** ianychoi has quit IRC | 08:44 | |
*** markvoelker has joined #openstack-ansible | 09:27 | |
*** markvoelker has quit IRC | 09:32 | |
admin0 | there is no openstack command in util container .. ran playbooks multiple times | 10:32 |
---|---|---|
admin0 | stable/tain | 10:33 |
admin0 | train* | 10:33 |
*** tosky has joined #openstack-ansible | 11:17 | |
watersj | admin0, /openstack/venvs/utility-20.1.2/bin/openstack ? | 11:48 |
*** arkan has joined #openstack-ansible | 11:49 | |
*** npalladium has joined #openstack-ansible | 12:04 | |
*** tosky has quit IRC | 12:20 | |
*** np26 has joined #openstack-ansible | 12:21 | |
*** npalladium has quit IRC | 12:21 | |
*** np26 has quit IRC | 12:21 | |
*** npalladium has joined #openstack-ansible | 12:21 | |
jrosser | admin0: it should be like this http://paste.openstack.org/show/796069/ | 12:22 |
admin0 | this is what I get http://paste.openstack.org/show/796071/ | 12:23 |
admin0 | i had to manually pip install python-openstackclient python-heatclient to test it | 12:24 |
*** markvoelker has joined #openstack-ansible | 12:30 | |
*** npalladium has quit IRC | 12:33 | |
*** markvoelker has quit IRC | 12:35 | |
*** npalladium has joined #openstack-ansible | 12:36 | |
admin0 | i am trying to use flat networking for the first time :D | 12:46 |
admin0 | in 8 years of using openstack | 12:46 |
admin0 | and struggling to make it work :) | 12:47 |
admin0 | i see a tap and a bridge .. but that bridge is not a part of br-vlan | 12:47 |
admin0 | or the flat interface | 12:47 |
*** arkan has quit IRC | 12:49 | |
admin0 | i used this guide to add the network https://docs.openstack.org/install-guide/launch-instance-networks-provider.html | 12:49 |
jrosser | admin0: the openstack clients are installed into the utility venv, not directly into the utility container with pip | 12:57 |
jrosser | if they are missing from the venv something has gone wrong with the venv build | 12:57 |
jrosser | for flat networking the AIO uses one via 'eth12' for a flat provider network | 12:58 |
admin0 | its not an aio though | 13:00 |
admin0 | 1 controller and 2 compute | 13:01 |
admin0 | and i received zero errors or issues when i lauched the playbooks .. ran it 2-3 times just to make sure i get no issues | 13:01 |
admin0 | give me a moment to paste all my configs and what i see | 13:01 |
jrosser | the AIO is an example of hanging something like eth12 off of br-vlan in order to create a interface for a flat network | 13:02 |
jrosser | neutron needs an interface iirc | 13:02 |
admin0 | https://gist.github.com/a1git/8912e1e1d326f8a216d40deaa25fc29a is what I have so far | 13:08 |
admin0 | the end of the file is the bridge and tap that i see in the instance | 13:08 |
admin0 | i was hoping that that either the tap interface tapce0c32e7-0c or the bridge brq8f97f029-de would be attached/bridged to either br-vlan or enp1s0f0 | 13:21 |
*** markvoelker has joined #openstack-ansible | 13:47 | |
*** markvoelker has quit IRC | 13:52 | |
admin0 | jrosser, any ideas what could be wrong in my implementation | 14:03 |
*** tosky has joined #openstack-ansible | 14:06 | |
*** markvoelker has joined #openstack-ansible | 14:07 | |
*** markvoelker has quit IRC | 14:12 | |
jrosser | maybe check the neutron ml2 agent config files on each host contain the physical network mappings you expect | 14:18 |
admin0 | it does . physical_interface_mappings = vlan:br-vlan,flat:eno1 in h1 and physical_interface_mappings = flat:enp1s0f0,vlan:br-vlan in h2 | 14:20 |
admin0 | it looks correct | 14:20 |
npalladium | jrosser: Unable to reproduce the chroot apt key bug I brought up yesterday on the same environment; leaving it for now. | 14:41 |
admin0 | jrosser, is trunk ( neutron plugin) required for flat ? | 14:48 |
admin0 | restarting neutron-linuxbridge-agent with debug on produces this: https://gist.githubusercontent.com/a1git/1b0e9a0a208ebf7c46488a5401364d63/raw/904466e22043c473fc288596cdb5bb7efcdf06d2/gistfile1.txt . i can't seem to find any odd stuff | 14:48 |
*** arkan has joined #openstack-ansible | 15:00 | |
*** tosky has quit IRC | 15:33 | |
*** markvoelker has joined #openstack-ansible | 15:52 | |
admin0 | in flat networking, what is router:external value ? | 15:54 |
admin0 | true, false, internal | 15:54 |
admin0 | mine is currently as: | router:external | Internal | | 15:55 |
admin0 | maybe that is the issue | 15:55 |
arkan | admin0: where are you defining these values ? | 15:56 |
admin0 | arkan, my flat netowrking is not working, so i am trying to troubleshoot | 15:56 |
admin0 | that is what i see: https://gist.github.com/a1git/eb6f09da91f9478b2c63c466eb454cdf | 15:57 |
admin0 | the issue i have now is ... the tap interface is on a bridge, but that bridge is not connected to anywhere | 15:57 |
*** markvoelker has quit IRC | 15:57 | |
arkan | from what I had in my deployment, if I use 'flat' type in my network_providers in openstack_user_config.yml, and I use bridge without using host_bind_override, I will get error saying can not enslave the bridge | 15:58 |
arkan | how is your openstack_user_config.yml ? | 15:59 |
admin0 | arkan, https://gist.github.com/a1git/01670e41f426c5ae892a18904ea3ad22 | 16:00 |
admin0 | because my c1 , h1 and n2 have differnet network interfaces i have to use the env/conf overrides | 16:01 |
arkan | line 137 & line 146 they are using the same net_name | 16:03 |
arkan | also line 155 | 16:03 |
admin0 | yes .. they should be .. right | 16:03 |
admin0 | the overide is for line 135, 144 and 153 | 16:03 |
admin0 | where i am saying what flat should be mapped to int he 3 hosts | 16:04 |
admin0 | the mapping is correct | 16:04 |
arkan | and did you use reference it in user_variables ? | 16:05 |
admin0 | user variable is Line 56-84 | 16:06 |
admin0 | the override is supposed to do this: grep -i flat /etc/neutron/plugins/ml2/linuxbridge_agent.ini => physical_interface_mappings = vlan:br-vlan,flat:eno1 | 16:07 |
admin0 | so its doing it correctly | 16:07 |
admin0 | mapping flat: to eno1 in h1 | 16:07 |
admin0 | and similarly to the correct interface in h2 and c1 | 16:07 |
arkan | for example line 258, which net_flat will use ? | 16:09 |
admin0 | --provider-physical-network flat | 16:10 |
admin0 | it will use flat | 16:10 |
admin0 | and then based on what hypervisor it is, the flat will map correspond to what is in linuxbridge-agent.ini mapping | 16:10 |
arkan | tbh, I did not see multiple repeated name for net_name in my current journey with openstack, just I have a doubt about it | 16:13 |
admin0 | in my case, in h2, br-vlan is on top of enp1s0f0 , in h1 br-vlan is on top of eno1 | 16:13 |
arkan | for the configs, that I saw, they used different names | 16:13 |
arkan | yes | 16:13 |
admin0 | they are mapping to different host groups | 16:14 |
arkan | I know | 16:14 |
arkan | but you can use different names | 16:14 |
admin0 | there are 3 entries, but they are not repeated, they target h1_hosts, c1_hsots and h2_hosts | 16:14 |
admin0 | i cannot | 16:14 |
admin0 | because flat means it has to be flat networking | 16:14 |
arkan | and use openstack network create and reference that name | 16:14 |
admin0 | that is exactly what i am doing | 16:14 |
admin0 | the issue is not int he mapping | 16:14 |
admin0 | the issue is i think i don't know how to add a flat network | 16:14 |
admin0 | it created a tap and a bridge and waiting for me to create a router .. while i want it to plug in directly to the "flat" interface | 16:15 |
*** stingrayza has joined #openstack-ansible | 16:16 | |
arkan | check this for example | 16:17 |
arkan | openstack network create --share --provider-physical-network provider \ | 16:17 |
arkan | --provider-network-type flat provider1 | 16:17 |
arkan | https://docs.openstack.org/neutron/pike/admin/deploy-lb-provider.html | 16:17 |
arkan | the net_name: provider | 16:17 |
arkan | but it's of type 'flat' | 16:17 |
arkan | admin0: check this | 16:19 |
arkan | https://docs.openstack.org/openstack-ansible/latest/user/prod/provnet_groups.html | 16:19 |
*** also_stingrayza has quit IRC | 16:19 | |
arkan | the net_name: "physnet1" but it's of type: "flat" | 16:19 |
admin0 | yes .. in our case the net_name is flat | 16:19 |
arkan | admin0: and you used the same name in other provider_networks: | 16:20 |
arkan | I'm not so sure about it but maybe some of the masters out there will give his words | 16:20 |
admin0 | the net_name: flat is only 3 times .. in c1_hosts, h1_hosts and h2_hosts | 16:21 |
arkan | yes, maybe there is another issue, I'm not so sure | 16:21 |
arkan | and from what I know, the tap interface is related to the vm in nova | 16:22 |
arkan | the containers they have interfaces like 3324a822_eth1 or 349477fa_eth0 bound to bridges | 16:23 |
admin0 | what containers ? | 16:23 |
arkan | lxc containers | 16:24 |
arkan | they are connected through veth | 16:24 |
admin0 | in a flat connection, where the instance is plugged in directly to the host interface, i am not sure where the containers come into play | 16:25 |
arkan | I was talking about tap the first part | 16:25 |
admin0 | maybe i can fake it and use br-vlan to send tagged vlan 1 , which is default in the switch :D | 16:26 |
arkan | I said that it's related to the vm not containers | 16:26 |
*** arkan has quit IRC | 16:49 | |
*** markvoelker has joined #openstack-ansible | 17:53 | |
*** arkan has joined #openstack-ansible | 17:58 | |
*** markvoelker has quit IRC | 17:58 | |
admin0 | arkan, my mistake in understanding this :) | 18:23 |
admin0 | i thought flat will give me a direct dhcp ip to the instances | 18:23 |
*** markvoelker has joined #openstack-ansible | 18:27 | |
*** markvoelker has quit IRC | 18:32 | |
admin0 | in the config, flat is bind to neutron_linuxbridge_agent .. but in my config, it does not have that | 18:33 |
admin0 | have to ask jrosser when he is around | 18:33 |
*** tosky has joined #openstack-ansible | 18:44 | |
*** arkan has quit IRC | 18:48 | |
admin0 | flat_networks = (null ) .. missing | 18:53 |
*** arkan has joined #openstack-ansible | 18:59 | |
admin0 | how to have neutron server on the controller node, but have neutron agents on the compute node | 19:11 |
*** markvoelker has joined #openstack-ansible | 19:22 | |
*** markvoelker has quit IRC | 19:26 | |
*** arkan has quit IRC | 20:48 | |
*** markvoelker has joined #openstack-ansible | 21:23 | |
*** markvoelker has quit IRC | 21:28 | |
*** npalladium has quit IRC | 21:28 | |
*** markvoelker has joined #openstack-ansible | 22:57 | |
*** markvoelker has quit IRC | 23:02 | |
*** ianychoi has joined #openstack-ansible | 23:12 | |
*** tosky has quit IRC | 23:15 | |
*** NewJorg has quit IRC | 23:55 | |
*** NewJorg has joined #openstack-ansible | 23:57 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!