Tuesday, 2015-11-10

*** shashank_hegde has quit IRC00:04
*** cleverdevil has quit IRC00:39
*** stanchan has quit IRC00:56
*** shashank_hegde has joined #akanda01:13
*** shashank_hegde has quit IRC04:04
*** BharatK_ has joined #akanda05:21
*** BharatK_ has quit IRC05:22
*** BharatK_ has joined #akanda05:23
*** BharatK has quit IRC05:24
*** BharatK_ has quit IRC05:24
*** BharatK_ has joined #akanda05:25
*** BharatK_ has quit IRC05:26
*** BharatK_ has joined #akanda05:27
*** BharatK_ has quit IRC05:28
*** BharatK_ has joined #akanda05:29
*** BharatK_ has quit IRC05:34
*** shashank_hegde has joined #akanda05:35
*** shashank_hegde has quit IRC05:42
*** stanchan has joined #akanda05:48
*** stanchan has quit IRC05:55
*** shashank_hegde has joined #akanda06:05
*** shashank_hegde has quit IRC06:10
strayandyadam_g Sorry, missed this conv. I had to work elsewhere.06:34
*** strayandy is now known as mandoonandy06:37
*** shashank_hegde has joined #akanda06:39
*** shashank_hegde has quit IRC06:57
*** openstackgerrit has quit IRC07:46
*** openstackgerrit has joined #akanda07:46
*** ronis has joined #akanda08:27
*** ronis has quit IRC08:30
*** openstackgerrit has quit IRC08:31
*** openstackgerrit has joined #akanda08:31
*** ronis has joined #akanda11:53
*** ronis has quit IRC12:42
*** ronis has joined #akanda12:47
*** ronis has quit IRC15:58
*** shashank_hegde has joined #akanda17:18
*** ronis has joined #akanda17:34
*** shashank_hegde has quit IRC17:38
*** shashank_hegde has joined #akanda17:43
stupidnicIs there a different set of instructions to follow for installing Akanda now that things are moving to Astara?17:50
stupidnicrepos, et. al.17:50
*** cleverdevil has joined #akanda17:54
*** shashank_hegde has quit IRC18:06
adam_gstupidnic, hi, we're in the process  of getting docs updated for the rename18:16
adam_gstupidnic, and there is this, https://review.openstack.org/#/c/242629/ to get the devstack deployment going with new repo locations18:17
stupidnicOkay. let me ask you this then. I am not doing a devstack deployment but a full openstack deployment... is there any information on how to go about that?18:18
stupidnicI know that Mark mentioned that there were playbooks available but I haven't found any usable information in them (but that could be my lack of familiarity with Ansible)18:19
adam_gstupidnic, so, unfortunately, there isn't. thats a big todo for our doc work this cycle. but i'd be happy to walkthrough it with you here, and maybe we can get some instructions created from that18:20
stupidnicadam_g: that would be great.18:20
adam_gstupidnic, https://etherpad.openstack.org/p/astara-installation-docs18:21
stupidnicadam_g: are there any limitations with how you are running neutron?18:25
stupidniclike OVS versus LB18:25
stupidnicVXLANs, etc18:26
adam_gstupidnic, we support both OVS, LB, NSX, VXLAN. if you are using something we dont support we'd need to add an interface driver to astara in order to plug it into the management network18:26
stupidnicAlright.18:26
stupidnicadam_g: I am working through this now.18:43
stupidnicOne question re: management_prefix18:43
adam_gstupidnic, cool. hope you dont mind being a guinea pig here. im doing this mostly by whats in my head and will probably be wrong/incomplete in some spots18:44
stupidnicis that the neutron network that the VXLANs will work on? Or is this another network all together18:44
stupidnicno problem. This is much better than what we have now which is nothing18:44
adam_gstupidnic, the management network is a specific neutron network+subnet you/admin creates that the astara service uses to reach the appliance VMs18:45
adam_gstupidnic, so if you're using VXLAN L2, it'd be using that as well. its just a normal neutron network in that regard, except that astara will create an interface into it from the control node to be able to reach the appliance instances18:46
stupidnicAh okay. That's the part I was missing. I wasn't sure if I had to configure it on the controller or not18:47
stupidnicSo you are saying that it will hook into neutron and create the network itself and then use VXLAN + LB to communicate with that network18:47
adam_gstupidnic, the interface driver is meant to take care of doing that for you on startup of the service18:47
stupidnicJust making sure I understand all the moving parts here. So thanks for the clarification.18:48
adam_gstupidnic, well, astara doesn't create the actual network in neutron, you need to do that.. but the interface driver takes care of bringin up the port required to tap into that18:48
stupidnichmm okay... that might be something we need to define in the instructions as well18:48
adam_gstupidnic, sure18:49
adam_gstupidnic, just curious, are you going to be using some config management tool to role this out eventually? it'd be great to distill some of this into a puppet/chef/ansible module18:49
adam_gin fact, the openstack-ansible team are looking for a volunteer to do just that18:50
stupidnicYes. Our entire OS deployment is defined in SaltStack18:50
adam_gcool18:52
*** shashank_hegde has joined #akanda18:57
*** shashank_hegde has quit IRC18:59
adam_gstupidnic, i think that might be enough to get you started. apologies in advanced for anything missing or snags you might hit19:03
adam_gthis is useful, tho, and will result in real docs. thanks for playing19:04
stupidnicno problem I am chugging through it now19:05
stupidnicI will let you know if I run into a show stopper19:06
*** shashank_hegde has joined #akanda19:10
davidlenwelladam_g: https://review.openstack.org/#/c/24378219:38
davidlenwellpreserving the git history was just going to be too time consuming.. mark said to just do a simple copy.. since its just docs19:39
adam_gdavidlenwell, ya19:41
davidlenwelladam_g: I'm gonna do the same with the specs folder19:42
adam_gdavidlenwell, do you have a local stash of the old repo somewhere? it'd be nice to have 'Co-authored by' tags in the commit msg for the people that did commit to it19:42
davidlenwellI do have it locally19:42
davidlenwelldo you know the command off hand to get that list?19:42
adam_ggit log docs/ | grep ^Author19:43
davidlenwelladam_g: https://review.openstack.org/#/c/243782/319:50
adam_gdavidlenwell, cool. LGTM. gonna be a few before it can merge, waiting on infra changes to sync19:50
davidlenwellyeah .. I figured19:51
davidlenwellbut I can start laying changes on top of that19:51
adam_gya19:52
davidlenwelladam_g: here is the review for the specs folder.. https://review.openstack.org/#/c/243802/19:56
adam_gdavidlenwell, did you have any issues pushing those patches?20:30
adam_gi cant seem to push anything, getting rejected from gerrit20:30
adam_gremote: (W) No changes between prior commit 492f56c and new commit d3d4a0e20:30
stupidnicadam_g: do those changes to nova.conf need to be made to the compute nodes as well or just the controller?20:35
adam_gstupidnic, the controller20:36
stupidniccool, just double checking20:36
stupidnicadam_g: I went through the entire process and went to start astara and I think this is a bug20:44
stupidnicSo in the [router] section you can specify the flavor20:44
stupidnicand the default is 1, I don't have a 1 since I edited the m1.tiny, and when you do that, it drops the int and replaces it with an uuid20:44
stupidnichowever you can't use the uuid in the instance_flavor value20:45
stupidnicit complains that it isn't an int() base 1020:45
adam_gstupidnic, let me see20:46
adam_gdoh yeah20:46
adam_gone sec ill put up a patch20:46
stupidnick20:46
stupidnicalso... would it be possible to have an option in the appliance disk-image-create to not convert to qcow2?20:49
stupidnicI am using Ceph and it does copy on write within Ceph itself, but to do that it needs the base image in glance to be raw20:50
cleverdevilthat's what we do at DreamHost, so its definitely possible :)20:51
stupidnicI can live with it in qcow2, but figured I would mention it20:51
cleverdevilcool to see another person using Ceph / OpenStack and Astara!20:52
adam_gstupidnic, here you go https://review.openstack.org/#/c/243820/20:52
stupidnicWell not yet, but close :)20:52
adam_gstupidnic, yeah, you can specify that to DIB20:52
adam_gstupidnic, pass '-t raw'20:52
adam_gto disk-image-create20:53
stupidnicadam_g: ah okay. thanks20:53
stupidnicadam_g: so that patch worked and I have orchestrator running. I have a router created, but I am not sure where I should be looking for it? Will it show as an instance on a hypervisor?21:07
stupidnicI might have another issue with my hypervisors if that is the case (ceph related I am sure)21:08
adam_gstupidnic, right. on startup, astara should try to create intsances in nova for existing routers21:09
adam_ga good check to see if things are wired up corretly on the astara/neutron side is to run the orhcestrator and watch the logs, then go create a neutron router. astara should get the notification and start doing some stuff21:09
stupidnicRemote error: AgentNotFoundByTypeHost Agent with agent_type=L3 agent and host=controller01 could not be found21:17
stupidnicwhere should I be looking for that?21:17
stupidnicl3?21:17
adam_gstupidnic, did you restart neutron after changing its config?21:19
stupidnicYeah21:19
adam_gone sec21:19
stupidnicDo I need to update the interface_driver in l3_agent.ini?21:19
stupidnicI think that might be where I went wrong21:19
adam_gstupidnic, actually we disable the l3 agent entirely21:19
adam_gyou can stop it21:20
stupidnicokay21:20
stupidnicany others?21:20
stupidnicmetadata? dhcp?21:20
adam_gya..dhcp, l3, metadata, vpn, lbaas21:20
stupidnicOkay. shut them down, let me kick astara again21:21
stupidnichmm nope same error, I mean the orchestrator is still running21:23
adam_g hmm thats one i haven't seen.21:23
adam_gmarkmcclain, any idea ^?21:23
adam_gstupidnic, where is that error being logged?21:23
stupidnicI can provide a stack trace if you want21:23
* markmcclain catchs up21:23
adam_gsure21:23
stupidnicit's thrown in the console of astara-orchestration21:23
stupidnichttp://paste.openstack.org/show/8kAwnurcnWICbOxpjG2q/21:24
stupidnicJust to let you know how I got there... I saw some errors in the output about amqp being deprecated, so I swtiched them to oslo_messaging_rabbit, but that seemed to throw an error, so I backed those changes out21:26
markmcclainhmmm.. I haven't seen that error before21:26
stupidnicmaybe something stuff in the queue?21:26
stupidnics/stuff/stuck21:27
*** ronis has quit IRC21:27
stupidnic2015-11-10 16:27:57.416 15534 DEBUG oslo_messaging._drivers.amqpdriver [req-2885ac64-aec2-465c-a9ec-19e637a9ae08 - - - - -] CALL msg_id: c97012e832ec40bc8f7143a9a0f5874b exchange 'neutron' topic 'q-l3-plugin' _send /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:44821:28
stupidnicthat seems to be what the queue is passing in21:28
adam_gstupidnic, the errors are coming from the messaging layer because they are actually neutron errors being sent over via RPC21:30
stupidnicOkay. So something in my neutron is emitting this error?21:31
davidlenwellmarkmcclain: adam_g: https://review.openstack.org/243831 <-- new readme file mostly derived from the old one in openstack-attic/akanda  .. I think its close ..but the name section might need some eyes..21:32
adam_gstupidnic, yeah. is this happening on startup, or after creating a new router?21:33
stupidnicstartup21:33
stupidnicwhich makes me think it is something sitting in the queue that it barfs on21:33
adam_gmarkmcclain, do routers get created with a binding to the running L3 agent? in other words, would pre-populating a router from pre-astara throw such an error?21:34
markmcclainpossibly21:34
markmcclainI haven't tested switching21:34
stupidnicWell this isn't production, so I can tear the router out and add a new one21:35
markmcclainwhich backend?21:35
stupidniclinuxbridge21:35
adam_gstupidnic, its the call to sync_routers thats throwing it21:35
adam_gstupidnic, mgiht be a good idea, start fresh21:35
stupidnick21:35
stupidnicOkay. Router deleted... when I did that it emitted the same error21:36
stupidnic(in the logs)21:36
markmcclainalso make sure you've got the astara l3 plugin configured in neutron21:36
stupidnicthat would be: service_plugins = akanda.neutron.plugins.ml2_neutron_plugin.L3RouterPlugin correct?21:38
markmcclainyes21:38
stupidnicthat just goes in [DEFAULT] right?21:38
markmcclainyes21:38
markmcclainbecause https://github.com/openstack/astara-neutron/blob/master/akanda/neutron/plugins/ml2_neutron_plugin.py#L11421:38
markmcclainworks around that agent issue21:39
stupidnichmm okay. That's in there. Is it possible that because I am using akanda versus astara?21:39
stupidnicmaybe a namespacing issue?21:39
*** shashank_hegde has quit IRC21:39
adam_gstupidnic, pythhon paths havent changed yet21:40
stupidnicalright, figured it was the simpliest reason :()21:40
stupidnic:)21:40
stupidniclet me check my neutron logs21:40
stupidnic Loading Plugin: akanda.neutron.plugins.ml2_neutron_plugin.L3RouterPlugin21:41
stupidnicWhen I try to add a router, I don't see any activity in the astara log21:44
stupidnica delete of the router triggers the same error again.21:45
davidlenwelladam_g:  did you say this morning that you were in the process of fixing the devstack plugin to work with the name change.. is that in review already?21:45
adam_gdavidlenwell, ya https://review.openstack.org/#/c/242629/21:46
davidlenwellthanks21:46
adam_gtheres a neutron change that needs to land first before it'll work tho21:46
adam_gsee the Depends-on21:46
davidlenwellk21:47
markmcclainstupidnic: not 100% sure what's going on, but I've got to step away so wont be able to standup fresh env for a good bit21:50
stupidnicmarkmcclain: no problem. I have been staring at this so long my eyes are going fuzzy21:51
stupidnicI will work on some other stuff in the mean time21:51
adam_gmarkmcclain, https://review.openstack.org/#/c/242629/ looks ready22:44
*** cleverdevil has quit IRC23:58

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