Wednesday, 2017-08-09

*** hoonetorg has quit IRC00:23
*** ssmith has quit IRC00:29
openstackgerritzhongshengping proposed openstack/puppet-sahara master: Deprecate oslo.messaging rpc_backend option parameter  https://review.openstack.org/49136201:20
*** shuyingya has joined #openstack-sahara01:36
*** shuyingya has quit IRC01:37
*** shuyingya has joined #openstack-sahara01:37
*** ukaynar has joined #openstack-sahara01:41
*** tuanluong has joined #openstack-sahara02:41
*** links has joined #openstack-sahara03:15
*** dave-mccowan has quit IRC03:28
*** Poornima has joined #openstack-sahara03:40
*** shuyingy_ has joined #openstack-sahara04:19
*** shuyingya has quit IRC04:20
*** ukaynar_ has joined #openstack-sahara04:57
*** ukaynar has quit IRC04:57
*** ukaynar_ has quit IRC05:25
*** ukaynar has joined #openstack-sahara05:25
*** ukaynar has quit IRC05:30
*** rcernin has joined #openstack-sahara05:52
*** hoonetorg has joined #openstack-sahara06:07
*** pgadiya has joined #openstack-sahara06:14
*** tesseract has joined #openstack-sahara06:35
*** pcaruana has joined #openstack-sahara07:25
*** tnovacik has quit IRC07:26
*** anshul has joined #openstack-sahara08:34
*** shuyingy_ has quit IRC08:34
*** shuyingya has joined #openstack-sahara08:34
*** zhuli has quit IRC08:47
*** tuanluong has quit IRC08:47
*** shuyingya has quit IRC08:47
*** jamielennox has quit IRC08:47
*** dgonzalez has quit IRC08:47
*** aignatov has quit IRC08:47
*** NikitaKonovalov has quit IRC08:47
*** abalutoiu has quit IRC08:47
*** masber has quit IRC08:47
*** brad[] has quit IRC08:47
*** zigo has quit IRC08:47
*** tesseract has quit IRC08:47
*** DuncanT has quit IRC08:47
*** raissa has quit IRC08:47
*** htruta` has quit IRC08:47
*** dhellmann has quit IRC08:47
*** pgadiya has quit IRC08:47
*** rcernin has quit IRC08:47
*** links has quit IRC08:47
*** aolwas has quit IRC08:47
*** remix_tj has quit IRC08:47
*** matteus has quit IRC08:47
*** ltosky[m] has quit IRC08:47
*** pcaruana has quit IRC08:47
*** vkmc has quit IRC08:47
*** ruhe has quit IRC08:47
*** rodrigods has quit IRC08:47
*** knikolla has quit IRC08:47
*** Poornima has quit IRC08:47
*** afazekas has quit IRC08:47
*** anshul has quit IRC08:47
*** tellesnobrega has quit IRC08:47
*** openstackgerrit has quit IRC08:47
*** stanchan has quit IRC08:47
*** elmiko has quit IRC08:47
*** rickflare has quit IRC08:47
*** tomtomtom has quit IRC08:47
*** Adri2000 has quit IRC08:47
*** gokhan_ has quit IRC08:47
*** zhenguo has quit IRC08:47
*** dmitryme has quit IRC08:47
*** openstack has joined #openstack-sahara13:55
*** pgadiya has joined #openstack-sahara13:56
*** ukaynar has joined #openstack-sahara14:01
*** Adri2000 has joined #openstack-sahara14:05
*** pgadiya has quit IRC14:10
tellesnobregajeremyfreudberg, cluster being created with baremetal here (taking longer than expected) waiting for completion14:29
tellesnobregalooks good so far14:29
jeremyfreudbergtellesnobrega, if heat stack is created with baremetal machine with floating ip, then we are good14:30
tellesnobregacool14:30
tellesnobregaadding floating ips now14:31
tellesnobregajeremyfreudberg, instances beeing created with floating ips14:36
tellesnobregausing a baremetal flavor (on vm)14:36
jeremyfreudbergtellesnobrega, awesome14:36
jeremyfreudbergthen i guess we can say that it's fixed (there was some nova commit that we thought would have fixed it, i guess it did)14:36
tellesnobregaawesome14:37
tellesnobregaif we see issues later we go back to it14:37
jeremyfreudbergtellesnobrega, yes. for now can you put out a new reno saying in a commit which closes this bug https://bugs.launchpad.net/sahara/+bug/169699014:38
openstackLaunchpad bug 1696990 in Sahara "Unknown status of Ironic support" [High,New]14:38
jeremyfreudbergwe need a new reno as i had put out one that said "we don't know if it works", now we need one saying "we tested it, it's ok now"14:38
tellesnobregasure14:38
*** shuyingya has quit IRC14:41
jeremyfreudbergtellesnobrega, trust issue is resolved. i will amend luigi's patch soon14:41
tellesnobregajeremyfreudberg, perfect14:41
tellesnobregaI will review asap14:41
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Adding reno regarding ironic support  https://review.openstack.org/49216014:44
tellesnobregajeremyfreudberg, ^14:44
tellesnobregajeremyfreudberg, on the trust issue, what did the trick?14:44
tellesnobregathat link you sent yesterday?14:45
jeremyfreudbergtellesnobrega, the link that i sent at the very end of day yesterday14:45
jeremyfreudberghttps://github.com/openstack/networking-bigswitch/blame/master/networking_bigswitch/plugins/bigswitch/servermanager.py#L21814:45
jeremyfreudbergi will have some detail in the commit message about why other solutions failed us14:46
tellesnobregagreat14:55
tellesnobregalooking forward to it14:55
tellesnobregawith these two changes we can cut stable/pike safely14:56
jeremyfreudbergtellesnobrega, yep :)14:56
tellesnobregathanks for working on it14:56
tellesnobregaI will have lunch now14:56
tellesnobregabbl14:56
tellesnobregaand review your patch14:56
jeremyfreudbergcool14:56
openstackgerritJeremy Freudberg proposed openstack/sahara master: Fully switch to keystone authtoken parameters  https://review.openstack.org/48552115:00
*** tesseract has quit IRC15:14
*** lucasxu has quit IRC15:14
*** links has quit IRC15:16
ltosky[m]thanks!15:23
jeremyfreudbergltosky[m], my pleasure15:23
*** shuyingya has joined #openstack-sahara15:31
*** anshul has quit IRC15:36
*** dhellmann has left #openstack-sahara15:45
*** lucasxu has joined #openstack-sahara15:57
*** shuyingya has quit IRC15:59
*** lucasxu has quit IRC16:03
*** jeremyfreudberg has quit IRC16:06
*** rcernin has quit IRC16:41
*** jeremyfreudberg has joined #openstack-sahara17:04
openstackgerritTelles Mota Vidal Nóbrega proposed openstack/sahara master: Adding reno regarding ironic support  https://review.openstack.org/49216017:14
jeremyfreudberg^ tellesnobrega, thanks17:15
tellesnobreganp :)17:15
tellesnobregareviewing your patch now17:16
jeremyfreudbergcool17:16
tellesnobregajeremyfreudberg, looks good to me17:27
tellesnobregawe have to wait on tests but i'm +2ing it17:28
jeremyfreudbergtellesnobrega, cool17:29
tellesnobregathanks again for that17:29
jeremyfreudbergno problem17:30
tellesnobregaon the ironic front, the cluster is active17:32
jeremyfreudberggreat to hear, tellesnobrega17:32
*** rcernin has joined #openstack-sahara17:42
*** abalutoiu has quit IRC17:42
*** lucasxu has joined #openstack-sahara18:01
*** jeremyfreudberg_ has joined #openstack-sahara18:01
*** jeremyfreudberg has quit IRC18:05
*** jeremyfreudberg has joined #openstack-sahara18:08
*** jeremyfreudberg_ has quit IRC18:11
openstackgerritMerged openstack/sahara master: Fix the broken links  https://review.openstack.org/49208318:25
iwonkaping tellesnobrega18:25
tellesnobregaiwonka, here18:25
iwonkai have an issue with import again :(18:28
iwonkai'm trying to do it the way it's done in job binary create18:28
iwonkaand they are using horizon.forms.SelfHandlingForm18:28
iwonkaso there's a form class, that inherites from this thing18:29
iwonkaand in their code there's __init__ and handle and some helpers18:29
iwonkaso i also have __init__ and hand;e18:29
iwonka*handle18:29
iwonkaand init is being run18:30
iwonkaand i can add fields there18:30
iwonkaand generally it works18:30
iwonkabut handle is never run18:30
iwonkaand apparently everything is ike in job binary create18:30
iwonkaso now i have no idea how to debug it18:31
tellesnobregahmm, let me check here18:31
tellesnobregawhere are you working on? what file?18:33
jeremyfreudbergiwonka, i really know nothing about it, but do you have something like this too https://github.com/openstack/sahara-dashboard/blob/master/sahara_dashboard/content/data_processing/jobs/job_binaries/views.py#L36 ?18:33
iwonkasahara-dashboard/content/data_processing/clusters/nodegroup_templates/forms/import_from.py18:34
iwonkabut i created it18:34
iwonkai mean18:34
tellesnobregaok18:34
tellesnobregamakes sense18:34
jeremyfreudbergiwonka, i assume it's something similar to content/data_processing/jobs/job_binaries/forms.py ? right18:35
iwonkaso far there's been only workflows, but they don't work with submitting a file18:35
iwonkajeremyfreudberg: i have something simmilar in views.py18:35
iwonkajeremyfreudberg: yes18:35
jeremyfreudbergiwonka: i see. that's tricky then18:36
tellesnobregaiwonka, can you paste your code on this so far?18:39
jeremyfreudbergiwonka, yes, paste would be good18:39
iwonkawhich part?18:39
jeremyfreudbergthe view and the form18:39
tellesnobregayes18:39
iwonkaok18:39
iwonkai had to add some html18:39
iwonkabut i copied it from job binary create thing, so it should work18:39
jeremyfreudbergyou can paste that too (although it doesn't matter quite as much)18:40
iwonka(i changed some names and stuff)18:40
*** cpusmith_ has joined #openstack-sahara18:46
*** cpusmith has quit IRC18:46
iwonkatellesnobrega, jeremyfreudberg: http://paste.openstack.org/show/617973/18:46
iwonkathis is like all the things i added now18:47
jeremyfreudberg{% include 'nodegrup_templates/_import.html' %} grup->group (but i don't think that issue matches up with the problem you are reporting)18:54
tellesnobregait could be, since this would fail to include the _import.html file18:55
tellesnobreganot sure18:55
jeremyfreudbergi'm just not sure it would have made it that far, though18:56
jeremyfreudbergbut we'll see18:56
iwonkait didn't help18:56
iwonkai have writing to file in handle18:56
iwonkaand i still don't have this file18:56
tellesnobregayes, probably not. iwonka the page is being loaded, you can select the file but the /opt/stack/something is not written correct?18:56
iwonkayes, i can select a file18:57
tellesnobregahave you tried debugging with pdb to see the direction it is going?18:57
iwonkapdb is not working with sahara-dashboard18:57
jeremyfreudbergoh right, i still had trouble figuring out the right way to do that18:57
iwonkathat's why i'm writing to file18:58
tellesnobregaiwonka, don't say that you heard from me, but you could put prints all over and see where it goes18:58
jeremyfreudbergtellesnobrega, sometimes I just put "raise Exception" as well. since sometimes it's hard to figure out where things actually print to18:59
tellesnobregajeremyfreudberg, true18:59
iwonkaumm, not exactly, i don't know what's being run after __init__18:59
jeremyfreudbergiwonka, i've also been looking around in the class that your modal inherits from https://github.com/openstack/horizon/blob/master/horizon/forms/views.py#L18319:00
jeremyfreudbergform_valid() is what calls your handle function, then i guess we can see what calls form_valid()... etc19:01
tellesnobregajeremyfreudberg, looks like this is the only place where it is called https://github.com/openstack/horizon/blob/cc1196588dedef8853b747eef5e19cdcba51b2ca/openstack_dashboard/dashboards/project/volumes/views.py19:03
tellesnobregaform_valid19:03
jeremyfreudbergtellesnobrega, i realized that it was actually a pretty tricky suggestion19:04
tellesnobregayes19:04
jeremyfreudbergsomewhere deep in django is probably what calls it19:04
jeremyfreudbergso maybe not the best idea19:04
tellesnobregadoesn't make sense to keep going up19:05
cpusmith_jeremyfreudberg:Any idea what this could mean? "Can't login to node, IP: 10.0.128.73, reason SSHException: Error reading SSH protocol banner"19:10
jeremyfreudbergcpusmith_, yes, seen it many times19:10
jeremyfreudbergi assume you have use_namespaces turned on?19:11
cpusmith_yes, and rootwrap and use floating although there's no floating on this cluster19:11
jeremyfreudbergcpusmith_, can i see your sudoers.d entry for sahara rootwrap19:12
cpusmith_oh, one sec19:12
jeremyfreudbergcpusmith_, basically you should match up with this, except in your sudoers.d file i usually have to add "Defaults:sahara !requiretty" as well19:16
jeremyfreudbergby this, I mean https://github.com/openstack/sahara/blob/master/doc/source/admin/advanced-configuration-guide.rst#non-root-users19:17
jeremyfreudbergif it still doesn't work i do have another suggestion19:17
cpusmith_Don't think that tomtomtom added anything to the sudoers so he's checking19:18
tellesnobregaiwonka, sadly I don't see anything wrong with your code19:19
jeremyfreudbergiwonka, i'm stumped as well19:19
*** tnovacik has joined #openstack-sahara19:20
iwonkais that all that should be added?19:20
iwonkamaybe i'm missing something?19:20
tellesnobregaiwonka, looking19:20
jeremyfreudbergiwonka, i'm not sure, but can you push the code anyway? makes  it a little easier for me to work with it in case some realization comes to me19:23
*** cpusmith has joined #openstack-sahara19:23
iwonkajeremyfreudberg: ok, preparing the patch19:23
iwonkabtw, what about my older patches?19:24
jeremyfreudbergiwonka, thanks19:24
iwonkatellesnobrega: you wrote that they're not merged now19:24
tellesnobregathey are marked with -2 just until we cut stable/pike19:24
jeremyfreudbergiwonka, i'll can review them. still have to wait a little while longer to unblock them19:24
iwonkaok, thanks19:24
tellesnobregaonce we open queens cycle they will be unblocked19:25
iwonkawhich means when?19:26
jeremyfreudbergi think we can cut the branch next week-ish19:26
tellesnobregastable/pike is being cut tomorrow19:26
jeremyfreudbergtellesnobrega, oops, you're right, i was reading last week's email from thierry19:27
jeremyfreudbergthe week that we are already in, is "next week"19:27
jeremyfreudbergso, tomorrow19:27
jeremyfreudberg:)19:27
tellesnobregaso, I believe that next week we should be able to reopen your patches19:27
*** cpusmith_ has quit IRC19:27
iwonkaok19:28
tellesnobregadon't worry, they will be in asap, they look great19:30
openstackgerritIwona Kotlarska proposed openstack/sahara-dashboard master: Add import of node group templates  https://review.openstack.org/49223619:32
iwonkathanks19:33
iwonkabut for this one i guess19:33
tellesnobregathis we will figure out soon19:33
tellesnobregajust -2 to avoid being merged19:34
iwonkasure19:35
iwonkai guess that's all i can do now19:36
cpusmithjeremyfreudberg: http://imgur.com/Ofi95hI19:38
jeremyfreudbergcpusmith, that looks ok. maybe a "*" needed at the end of the command? but shouldn't be19:41
jeremyfreudbergalso, cpusmith, /etc/sahara/rootwrap.d/sahara.filters is the correct thing?19:41
cpusmithSorry don't know what you mean by sahara.filters19:42
jeremyfreudbergcpusmith, sorry, wherever the ansible-installed sahara reads its sahara.conf, there should also be a folder called rootwrap.d containing a file called sahara.filters19:43
tomtomtom@jeremyfreudberg we have the folder there with the filters file already.19:47
jeremyfreudbergtomtomtom, cool19:47
jeremyfreudbergone more suggestion19:47
jeremyfreudbergcan you run ip netns list as root on your openstack controller19:48
tomtomtomyes19:48
jeremyfreudbergand grep for the router id of the private network you are launching the cluster on19:48
tomtomtomanything in particular you're looking for?  that list will be huge19:48
jeremyfreudbergtomtomtom, the specific router id, or the network id19:48
jeremyfreudberghopefully both are there, interesting if only one or the other19:49
tomtomtomso all our networks that those sahara vm's are on would run through the neutron-agents-container, otherwise controllers and containers just communicate with the openstack network through the management network on br-mgmt19:56
jeremyfreudbergtomtomtom, so use_namespaces=True is really just `ip netns exec qrouter-{router_id} ...` in disguise19:57
jeremyfreudbergi'm not quite sure if get you, are you saying you can't access that particular qrouter from where sahara service is running19:58
tomtomtomnot via the ip netns, since all those namespaces would live on the neutron agents container: spark vm would be 10.0.128.x, sahara is 10.0.20.x(br-mgmt): so network traffic has this flow: sahara controller(10.0.20.x[br-mgmt]) -> 10.0.20.x[br-mgmt] on neutron-linuxbridge-agents -> 10.0.128.x[br-vlan] on spark vm20:01
tomtomtomvlans are also configured on switches to allow inter-traffic if needed as well.  But right now I can say that the sahara controller can ping / ssh to the 10.0.128.x spark vm.... however I don't see how it could execute ip netns exec.... without the namespace being defined on the sahara controller itself.  So if use_namespaces is true does it expect the namespace to live on the controller?20:03
jeremyfreudberg" But right now I can say that the sahara controller can ping / ssh to the 10.0.128.x spark vm." ---> can you give an example of how it would access (if ip netns exec is not an option)20:04
*** abalutoiu has joined #openstack-sahara20:06
jeremyfreudberg^tomtomtom, cpusmith20:10
tomtomtomnot seeing what you're pointing to?  did you see my messages above?20:12
jeremyfreudbergtomtomtom, i did see your message, i'm just looking for a little more clarity. basically it sounds like use_namespaces does not quite fit your use case. but you do say ssh/ping to the private network is already psossible somehow--so what is the somehow?20:14
tomtomtomoh sorry didn't see the message. via the br-mgmt network20:15
jeremyfreudbergtomtomtom, so no fanciness, just "ssh <some private ip>" works20:15
jeremyfreudberg?20:15
tomtomtomyes20:16
tomtomtombr-mgmt and br-vlan are both configured to be able to talk to each other via our network fabric20:16
tomtomtomso sahara can talk to vm's created within openstack20:16
jeremyfreudbergtomtomtom, oh, then i don't even think you'll need use_namespaces or any other type of "proxy command" in front of it...20:16
tomtomtomok20:16
jeremyfreudbergsorry for a lot of wasted work... but i think just having a node group without floating ip assigned will still take care of itself20:17
jeremyfreudbergif i do understand it right20:17
tomtomtomI think so,  I believe that's probably the best way, namespaces don't live on our containers or controllers so they wouldn't be useable in this case.20:18
jeremyfreudbergtomtomtom, cool, if you  can just try launching a cluster with no floating ips assigned to it, and use_namespaces=false, then i guess we can finally put the issue to rest20:19
cpusmithOK, we're going to try that20:21
*** links has joined #openstack-sahara20:24
*** jeremyfreudberg has quit IRC20:53
*** links has quit IRC20:56
*** lucasxu has quit IRC21:01
cpusmith@jeremyfreudberg ----> YES, working now21:11
*** ukaynar has quit IRC21:22
*** jeremyfreudberg_ has joined #openstack-sahara21:30
jeremyfreudberg_Cpusmith, tomtomtom, great! Please continue to follow up here with any lingering questions you may have21:31
*** jeremyfreudberg_ has quit IRC21:35
*** cpusmith has quit IRC21:40
openstackgerritMerged openstack/puppet-sahara master: Deprecate oslo.messaging rpc_backend option parameter  https://review.openstack.org/49136221:45
openstackgerritMerged openstack/sahara master: Adding reno regarding ironic support  https://review.openstack.org/49216021:50
*** abalutoiu has quit IRC22:12
*** rcernin has quit IRC22:20
*** dave-mccowan has quit IRC22:44
*** ukaynar has joined #openstack-sahara22:51
openstackgerritMerged openstack/sahara master: Fix unimplemented abstractmethod  https://review.openstack.org/49179323:17
*** abalutoiu has joined #openstack-sahara23:19

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