Monday, 2015-11-16

*** sarob has quit IRC01:33
*** davidlenwell has quit IRC01:33
*** t0mb0 has quit IRC01:34
*** davidlenwell has joined #akanda01:34
*** ChanServ sets mode: +o davidlenwell01:34
*** adam_g has quit IRC01:35
*** mugu has quit IRC01:35
*** sarob has joined #akanda01:38
*** adam_g has joined #akanda01:38
*** adam_g has quit IRC01:38
*** adam_g has joined #akanda01:38
*** mugu has joined #akanda01:38
*** t0mb0 has joined #akanda01:40
*** praveendp526 has joined #akanda05:13
praveendp526hai05:13
praveendp526network related issues05:14
* praveendp526 slaps davidlenwell around a bit with a large fishbot05:15
praveendp526help05:15
*** praveendp526 has quit IRC05:38
*** dhellmann has quit IRC06:28
*** dhellmann has joined #akanda06:28
*** dhellmann has quit IRC06:34
*** dhellmann has joined #akanda06:34
*** davidlenwell_ has joined #akanda07:10
*** davidlenwell has quit IRC07:15
*** ronis has joined #akanda08:57
*** openstack has joined #akanda12:50
stupidnicadam_g: is the akanda appliance supposed to be running dhcp and metadata agents?15:51
*** ronis has quit IRC16:58
*** elo1 has quit IRC17:10
*** elo has joined #akanda17:10
adam_gstupidnic, it runs a dhcp server and a metadata proxy, but not agents17:12
stupidnicadam_g: hmmm okay... I am not seeing them running in the ps list17:12
adam_gstupidnic, dnsmasq + /usr/local/bin/akanda-metadata-proxy17:13
stupidniclet me spin up an instance and look17:13
*** davidlenwell_ is now known as davidlenwell17:15
*** ChanServ sets mode: +o davidlenwell17:15
*** cleverdevil has joined #akanda17:15
stupidnicokay... I see dnsmasq running, but not the akanda-metadata-proxy17:16
stupidnichaving said that, my instances aren't getting IPs anyways17:17
adam_gstupidnic, can you confirm that you've also got gunicorn running, serving /usr/local/share/akanda ?17:19
stupidnicaffirmative17:19
adam_gstupidnic, in /etc/dnsmasq.d/ there hould .conf's for each NIC. can you see the addresses you're expecting to be assigned configured there?17:20
stupidnicadam_g: let me verify that I have the router setup correctly.17:21
adam_gstupidnic, neutron router-show should report it as ACTIVE if so17:21
stupidnicI think I am missing a port from the internal network to the router.17:22
stupidnicso that's my bad17:22
davidlenwell /mode * +o adam_g17:37
davidlenwellwait that didn't work17:37
*** davidlenwell sets mode: +o adam_g17:38
davidlenwellthere you go adam_g17:38
adam_gdavidlenwell, ty17:38
stupidnicadam_g: okay... so I added the interface on the router to attach to the internal network but I am still not getting DHCP traffic17:38
stupidnicI can confirm that the network interface does have dnsmasq conf17:39
stupidnicI have two cirros instances setup17:39
stupidnicif I assign IPs manually they can talk to each other but not the router's internal network interface17:39
adam_gstupidnic, so starting from the bottom, you should have their router interface brought up  on eth2 in the appliance?17:39
stupidnicconfirmed. It is up with an IP address of 10.0.0.117:40
stupidnicI show RX and TX on that interface17:40
adam_gstupidnic, and then /etc/dnsmasq.d/eth2.conf should contain the addresses bound for the cirros's?17:41
stupidnicyes17:42
stupidnicdhcp-host.....17:42
stupidnicI have run a dump on the interface and I am not seeing traffic17:42
adam_gstupidnic, whats neutron_port_security_extension_enabled set to in /etc/astara/orchestrator.ini ?17:44
stupidnicTrue17:44
adam_gmarkmcclain, any ideas ^ no dhcp /w linuxbridge.17:45
stupidnicI looked at the compute nodes themselves and confirmed that the bridges are using the same vxlan ids17:47
stupidnicso compute04 is running the astara instance and is bridged to vxlan 10 (management) and vxlan 50 (tenant network)17:47
markmcclainany traffic being dropped by (eb|ip)tables17:47
stupidnicon the router? or compute node?17:48
markmcclaincompute node17:48
markmcclainalso if you can... force a guest to the same node at the router17:48
stupidnicalright, hold on17:48
markmcclainthis will help to bisect the problem between replication and local hypervisor issues17:49
stupidnicOkay. my live migration doesn't seem to be working, so let me try and spawn an instance directly on that node17:50
stupidnicalright... I have a cirros instance on the same tenant network and on the same compute node as the router, and it isn't pulling an IP either17:52
stupidnicshould I be using things like l2_population on my neutron config?17:53
markmcclainno... l2 pop should be off if you're using hpb17:54
stupidnichpb?17:54
stupidnicOkay. Removed it from ml2_conf and linuxbridge_agent17:55
adam_gok. meeting time18:01
*** stanchan has joined #akanda18:06
markmcclainstupidnic: hierarchical port binding18:11
stupidnicmarkmcclain: okay I am not doing that, I don't think. my current setup is only one LY9 running cumulus. Sort of a collpased network.18:12
stupidniclater one if we add spines then we would certainly do HPB18:13
stupidnicbut for the moment we are only using vxlans contained within the leaf18:13
markmcclaink18:14
drwahlmarkmcclain: i think jordan left some stuff on your plate thursday/friday regarding the vxfld/neutron stuff. do you have any updates?18:21
*** cleverdevil- has joined #akanda18:58
*** cleverdevil has quit IRC19:00
*** cleverdevil- is now known as cleverdevil19:33
stupidnicadam_g and markmcclain: I can confirm that I am seeing the BOOTP/DHCP requests on the router19:41
stupidnicI can also confirm that the astara instance is responding to the requests for DHCP, so something else is blocking the requests19:45
adam_gstupidnic, hmm this sounds a lot like port security stuff that (i thought) we fixed19:57
elois (eb|ip)tables dropping the response from astara router to the VM on the host?19:58
adam_gstupidnic, you should have a neutron port for the router thats named with /w a AKANDA:VRRP: prefix19:58
adam_gstupidnic, if you do a 'neutron port-show' on that, port_security_enabled should be False19:58
adam_gand ya, adding iptables logging might be a good idea on the compute host19:59
stupidniclet me see what I get19:59
adam_gjust to see if its being dropped there19:59
stupidnicI can see it is hitting the fallback rule19:59
stupidnicneutron-linuxbri-sg-fallback19:59
adam_gstupidnic, that chain is just dropping it then, ya?20:00
stupidnicyeah20:00
stupidnicit's the final fall through taget20:00
adam_gstupidnic, you might try adding a secgroup rule for the tenant, ala https://git.openstack.org/cgit/openstack/astara/tree/devstack/plugin.sh#n31920:01
adam_g... to test20:01
stupidnicadam_g: I remember seeing the VRRP port, but now I can't seem to find it20:03
stupidnicwhere would that be?20:03
adam_gstupidnic, it owned by the servic tenant, so if you're looking at neutron ports from POV of a tenant its not visible20:04
stupidnicOkay. I found it. It is set to be False20:05
stupidnicI am guessing that the problem is the security groups are blocking the traffic because as far as it is concerned this is two separate tenants, is that correct?20:08
adam_gstupidnic, if that security group rule fixes the issue, yes. tho i thought this wasn't any issue anymore. if it is, we need to find a more elegant solution. requiring that secgroup rule isn't going to cut it20:09
stupidnicI am floundering a little bit here... when I try to execute that command I am getting an error "Multiple security_group matches found for name 'default'"20:12
stupidnicneutron security-group-rule-create --direction ingress --remote-ip-prefix 0.0.0.0/0 default20:12
adam_gstupidnic, are you running that with the admin credentials or the tenant's?20:15
stupidnicadmin20:15
adam_gstupidnic, run it as the tenant's20:16
adam_gor reference the desired group by ID20:16
*** cleverdevil has quit IRC20:17
stupidnicOkay. What I did was delete all the security groups and add them all back20:18
stupidnicThat seems to have sorted it out I think20:19
*** cleverdevil has joined #akanda20:19
eloI was just checking - there is a global default sec group rule and if you create one for a tenant there will be two reference to the same name20:20
stupidnicYeah, deleted all the security groups and recreated them manually20:22
stupidnicworks perfect. rebooted all the instances and they immediately got DHCP assigned addresses20:22
stupidnicour current cloud also had issues with security groups, the default just up and disappeared one day... coupled with OVS, that was a treat to debug20:23
adam_gstupidnic, nicenice!20:25
*** cleverdevil has quit IRC20:25
stupidnicI also have astara running under a user astara with an upstart config file20:25
adam_gstupidnic, would you mind creating a bug at http://bugs.launchpad.net/astara RE the need to have that security group? we need to come up with a better story there, requiring tenants to explicitly add that in is bogus20:25
stupidnicis there any sort of rootwrap available?20:25
adam_gstupidnic, at the moment, no. oslo.rootwrap support is coming in M20:26
stupidnicadam_g: alright.20:26
stupidnicadam_g: I am not 100% sure if that security group rule was the actual issue, or maybe I don't understand the full implications of what me adding the security groups manually did20:28
stupidnicoh and one other minor issue... and this really might be a configuration issue with my networks20:30
stupidnicwhen astara starts it is creating an interface called ns-<uuid> that has the gateway IP address assigned to it20:30
stupidnicfor the external network20:30
*** cleverdevil has joined #akanda20:30
stupidnicIt shouldn't be doing that I don't think20:31
stupidnicat least it is wrecking my external network connectivity20:31
stupidnicon my controller20:31
adam_ghmm not sure about that one, markmcclain may have some insight, he's more familiar with the lower-level plumbing than me20:32
eloyeah… doesn't sound right…20:33
stupidnicI can easily delete it and it has no impact on astara that I can determine20:34
stupidnicand I am certain that it is astara that is creating it20:34
stupidnic2015-11-16 14:06:28.798 DEBUG akanda.rug.common.linux.utils:20622:pmain:tmain Running command: ['sudo', 'ip', '-4', 'addr', 'add', '192.168.1.1/24', 'brd', '192.168.1.255', 'scope', 'global', 'dev', 'ns-7d3ec6ac-3d'] execute /usr/local/lib/python2.7/dist-packages/akanda/rug/common/linux/utils.py:7420:35
stupidnictaking a look at the interface code... it would seem that it is creating a bridge interface for management network on the controller (which it should), but also creating a bridge interface for the external network (which it should not).20:44
stupidnicOkay. Found it. There is a default in the rug.ini file called "plug_external_port=True"20:53
stupidnicFor a flat network that should be false.20:54
stupidnicI am guessing the default settings are set to work with devstack20:54
*** sarob_ has joined #akanda20:59
*** sarob_ has quit IRC22:05
*** clett has quit IRC22:54
*** rods has quit IRC22:54
*** rods has joined #akanda22:59
*** X-Istence has joined #akanda23:01
*** x58 has quit IRC23:06
*** shashank_hegde has joined #akanda23:17
*** elo has quit IRC23:32
*** clett has joined #akanda23:54
*** adam_g changes topic to "OpenStack Astara (formely Akanda) ** CHANNEL MOVED ** Join #openstack-astara"23:55
*** adam_g sets mode: +m 23:56
adam_gOK! #openstack-astara is officially registered and setup with openstack bots. lets all migrate over there now and be done with this place!23:57
adam_gdavidlenwell, clett cleverdevil dhellmann drwahl mandoonandy markmcclain mugu  rods sarob  shashank_hegde stanchan  stupidnic  t0mb0 X-Istence23:57
adam_gthanks!23:57
*** cleverdevil has left #akanda23:58
*** mugu has left #akanda23:58

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