Wednesday, 2017-07-26

*** deep-book-gk_ has joined #openstack-sahara00:14
*** deep-book-gk_ has left #openstack-sahara00:16
*** tmckay has joined #openstack-sahara00:27
*** tuanluong has joined #openstack-sahara00:50
*** tmckay has quit IRC00:55
*** lucasxu has joined #openstack-sahara01:22
*** lucasxu has quit IRC01:24
*** zhuli has joined #openstack-sahara01:58
openstackgerritzhuli proposed openstack/sahara master: Fix TypeError when get resource list  https://review.openstack.org/48726403:24
*** links has joined #openstack-sahara03:30
*** links has quit IRC03:30
*** rcernin has joined #openstack-sahara06:06
*** anshul has joined #openstack-sahara06:54
*** ukaynar has quit IRC07:06
*** ukaynar has joined #openstack-sahara07:07
*** ukaynar has quit IRC07:11
*** Poornima_K has joined #openstack-sahara07:37
*** Poornima_K has quit IRC07:45
*** ukaynar has joined #openstack-sahara08:15
*** esikachev has joined #openstack-sahara08:34
*** ukaynar has quit IRC08:37
*** ukaynar has joined #openstack-sahara08:38
*** tosky has joined #openstack-sahara08:42
*** ukaynar has quit IRC08:42
*** shuyingya has joined #openstack-sahara08:57
*** shuyingya has quit IRC08:59
*** shuyingya has joined #openstack-sahara09:05
*** shuyingya has quit IRC09:05
*** shuyingya has joined #openstack-sahara09:09
*** shuyingya has quit IRC09:10
*** shuyingya has joined #openstack-sahara09:27
*** mgoddard_ has joined #openstack-sahara09:30
*** tuanluong has quit IRC09:52
*** akuznetsov has joined #openstack-sahara09:56
*** shuyingya has quit IRC10:28
*** shuyingya has joined #openstack-sahara10:29
*** tosky has quit IRC10:45
*** akuznetsov has quit IRC10:48
*** esikachev has quit IRC11:05
openstackgerritZhangHongtao proposed openstack/sahara master: Enable some off-by-default checks  https://review.openstack.org/48737911:45
*** esikachev has joined #openstack-sahara12:01
*** esikachev has quit IRC12:05
iwonkaping tellesnobrega12:13
tellesnobregaiwonka, pong12:13
iwonkai got weird problems when adding import12:15
iwonkabut they burn down to "the JSON i'm exporting is not exactly a valid JSON"12:16
*** chlong has joined #openstack-sahara12:16
iwonkabecause it has single quotes instead of double12:16
iwonkaand "False" instead of "false"12:16
iwonkaand other stuff like that12:16
iwonkaso, i tried to change export to use json.dumps12:16
iwonkait started escaping quotes12:17
iwonkaso it's probably not a good idea12:17
iwonkaand so, what is the correct approach to fix it? manually change the file so that json.loads worked?12:18
iwonka(by manually i mean str.replace in code…)12:18
iwonkaalso, one thing that just works is ast.literal_eval but it's not the safest way to do it…12:19
tellesnobregaiwonka, hmm, lets think. I believe that json.dumps creates a valid json so json can load it again12:25
tellesnobregait doesn't make sense for a module to produce something that it doesn't understand12:26
tellesnobregaiwonka, can you try a test? Write a node_group_template, simple one, in a dict and use json.dumps12:27
tellesnobreganot using sahara, just a python shell12:27
tellesnobregaand after that try json.load12:27
tellesnobregato see if that works12:27
*** tmckay has joined #openstack-sahara12:28
iwonkatellesnobrega: it works unless the dict is indexed with something else than strings (because then it converts that to str, so {1:"one} becomes {'1': 'one'} but probably it's not a big issue?12:32
tellesnobregaprobably not, json.loads should bring stuff back12:33
iwonkait doesn't12:34
iwonkain this particular case it doesn't12:34
tellesnobregait loads a dict of strings right?12:34
iwonkayes12:34
iwonkabut in case of sahara stuff it's not an issue12:34
iwonkai think12:34
tellesnobregathat should be fine12:35
tellesnobregayes12:35
iwonkaso i should make json.dumps work?12:35
tellesnobregaI think json.dumps should work yes12:35
tellesnobregathis is on the sahara change, right?12:35
iwonkathat's where i wanted to add it12:36
tellesnobregawait12:36
tellesnobregaiwonka, what is the exact format we are returning from sahara to the CLI and Dashboard?12:39
*** shuyingya has quit IRC12:40
iwonkait's a response object12:40
iwonka(flask response)12:40
tellesnobregaok, and it contains the dict, correct?12:41
iwonkayes, in res.response there's a one element list, which contains a string which contains a dict12:42
tellesnobregacool12:42
tellesnobregaso I see two options:12:43
tellesnobrega1) json.dumps on the sahara side and send that on the response12:44
tellesnobrega2) json.dumps on the dashboard and CLI side before exporting12:44
tellesnobregaagree?12:44
iwonkamhmm12:45
iwonkaprobably in sahara it's beter12:45
iwonkabecause it neeeds to be done anyway12:45
iwonkaso better in one place than in two?12:45
iwonkabut the problem is (in sahara) u.render expects a dict and it turns it into a this list with a string with a json12:47
iwonkaso should i use u.render at all?12:47
iwonkano, wait12:48
iwonkaone exported with curl is ok12:48
iwonkaso sahara does it' job12:48
iwonkabut one exported with cli is not correct12:49
iwonkawhy do they even differ?12:49
*** jeremyfreudberg has joined #openstack-sahara12:49
tellesnobregaiwonka, lets get this straight. The template exported from the UI works with the import?12:50
tellesnobregabut the one with CLI doesn't?12:50
tellesnobregaUI/curl?12:50
iwonkathe one exported with curl command works, the one exported with cli doesn't, i haven't tested UI one12:51
tellesnobregaso we need to check what the CLI is doing that affects this change12:51
tellesnobregaok12:51
* tellesnobrega checks the CLI change to possible causes12:51
jeremyfreudbergstr(response._info) is not the same thing as json, I guess12:52
tellesnobregathat makes sense12:53
iwonkabut it should actually get a string somewhere12:54
iwonkathe one sahara sends12:54
iwonkacan i just change str(response._info) to json.dumps(response._info) ?12:55
jeremyfreudbergthat would be the simplest thing12:55
jeremyfreudbergmake sure you use that oslo_serialization import at the top of the file for json12:55
tellesnobregaiwonka, make sure that response._info is exactly the json format we need here. Maybe you need to json.dumps12:55
tellesnobregaoslo_serialization is already there12:56
iwonkajson.loads is used12:56
iwonkaso can i use json.dumps or should i use something from oslo_serialization?12:57
jeremyfreudberguse the json function that's already imported by oslo12:57
jeremyfreudbergto call json.dumps12:57
tellesnobregajson.dumps will work12:57
tellesnobregaoslo_serialization is imported as json12:58
iwonkatellesnobrega: in which file? i wanted to change python-saharaclient/saharaclient/osc/v1/node_group_templates.py12:59
iwonkathere's import json13:00
tellesnobregathat is the one I'm looking at13:00
tellesnobregaat your change13:00
tellesnobregaL2213:01
tellesnobregafrom oslo_serialization import jsonutils as json13:01
*** esikachev has joined #openstack-sahara13:01
iwonkaoh13:04
iwonkai changed it at some point13:04
iwonkanevermind, i'll fix it there13:04
tellesnobregacool13:05
*** shuyingya has joined #openstack-sahara13:08
*** dave-mccowan has joined #openstack-sahara13:09
openstackgerritIwona Kotlarska proposed openstack/python-saharaclient master: Add export of node group templates to CLI  https://review.openstack.org/48672113:10
*** shuyingya has quit IRC13:12
*** dave-mcc_ has joined #openstack-sahara13:15
*** dave-mccowan has quit IRC13:19
tellesnobregaiwonka, did it work?13:24
iwonkayeah, but same problem with ui, i also used str() there13:24
tellesnobregaCLI is done :)13:25
tellesnobregawhich is good13:25
tellesnobregalooking for reasons why it is not working on UI13:25
tellesnobregacontent = str(saharaclient.nodegroup_template_export(13:26
tellesnobrega            request, object_id)._info)13:26
tellesnobregaprobably should use json.dumps here too13:26
tellesnobregainstead of str13:26
iwonkayes, i see13:26
tellesnobregacool13:26
tellesnobregalet me know if it works13:26
iwonkashould i use oslo_seriasization there?13:26
tellesnobregayes13:27
tellesnobregawait13:27
tellesnobregaoslo_serialization is not a dependency on the sahara-dashboard13:29
jeremyfreudbergargh13:29
jeremyfreudbergwe should be able to add it though13:30
tellesnobregayes13:31
jeremyfreudbergeveryone downstream is packaging it, i hope13:31
tellesnobregaiwonka, add oslo.serialization and add this to requirements.txt13:31
tellesnobregaoslo.serialization!=2.19.1,>=1.10.0 # Apache-2.013:31
iwonkaok13:33
jeremyfreudbergalphabetically13:33
*** rcernin has quit IRC13:54
openstackgerritIwona Kotlarska proposed openstack/sahara-dashboard master: Add export of node group templates  https://review.openstack.org/48521513:58
iwonkatellesnobrega: done. it works now13:59
iwonkai'll return to working on import on cli now13:59
jeremyfreudbergiwonka: cool13:59
iwonkathanks for help :)14:00
*** tomtomtom has joined #openstack-sahara14:03
*** dave-mcc_ has quit IRC14:05
*** ukaynar has joined #openstack-sahara14:06
tellesnobregaiwonka, awesome14:13
*** ssmith has joined #openstack-sahara14:17
*** esikachev has quit IRC14:20
ssmithGood morning.  This is the first time that we're firing up Data Processing on our system.  We think we have it configured correctly and am using a pre-configured Sparky image but are getting a "Boot failed: not a bootable disk" and "No bootable device"14:28
tellesnobregahi ssmith, did you build the image yourself?14:29
ssmithNo, as per the documentation we got it from http://sahara-files.mirantis.com/images/upstream/14:30
tellesnobregassmith, ocata version?14:30
ssmithNewton14:31
tellesnobregassmith, great. I will take a look at this asap to check if the image is fine and I will let you know14:32
ssmithNewton 14.07 deployed with Ansible from repo14:32
tellesnobregathis is the image right? sahara-newton-spark-1.6.0-ubuntu.qcow214:33
tellesnobregassmith, ^14:34
ssmithYes, correct14:34
tellesnobregai will take a look into that14:35
jeremyfreudbergssmith, have you tried booting that image on a regular instance (not as sahara cluster)14:35
ssmithhmmm, no.  I will14:35
tellesnobregaalso a good test14:35
tellesnobregacould be an issue when downloading the image14:36
jeremyfreudbergfor sanity, check the checksum as well14:36
ssmithHere's what's on the console. Still doing a seperate launch http://imgur.com/PocWcZs14:43
jeremyfreudbergnot familiar with that environment, but I assume it's capable of booting from other qcow images?14:44
ssmithThat's the console page under the instance. Yes, other qcow images boot14:48
jeremyfreudbergssmith, and you verified with the checksum?14:49
iwonkatellesnobrega: tests fail when i run them from my deployment, but it seems to be unrelated to my change (FAIL: test_launch_cluster_get_nodata (sahara_dashboard.content.data_processing.clusters.clusters.tests.DataProcessingClusterTests)) so should i try to fix that?14:57
jeremyfreudbergtellesnobrega/iwonka seems like the dashboard failures are a real problem, but not related to iwonka's/my recent patches14:58
openstackgerritMerged openstack/sahara master: Add export of node group templates  https://review.openstack.org/47824514:58
iwonkajeremyfreudberg: ok, i'm not touching that in this case14:59
ssmithmd5sum returns 698418b0b6857022a5ce49d80ebe9846  sahara-newton-spark-1.6.0-ubuntu.qcow215:02
jeremyfreudbergyep, that's the correct checksum15:03
*** esikachev has joined #openstack-sahara15:05
ssmithOur normal centos image launches fine.  The sahara image give this: http://imgur.com/5qgqrT915:06
jeremyfreudbergblock device mapping is usually boot from volume, no?15:07
ssmithboot source = image = sahara-newton-spark-1.6.0-ubuntu.qcow215:09
jeremyfreudbergalright15:09
jeremyfreudbergi'm pretty sure i've used that image before15:11
jeremyfreudbergwithout issue15:11
ssmithOK wait.  I just tried myself and it booted fine and was able to ssh into it as well15:15
jeremyfreudbergssmith, so the issue was just temporary?15:15
ssmithhttp://imgur.com/XNPnwZW15:15
ssmithNo, I thing the other guy left the root volume at 1 GB while I changed it to 1015:18
jeremyfreudbergi see15:18
ssmithLet me try a cluster again15:19
ssmithBeen on validating for 1:30 minutes15:20
jeremyfreudbergok, that's more of a problem then to be stuck on validating15:21
jeremyfreudbergthat's usually the 2nd-fastest part15:21
ssmithThe error15:21
ssmithThen error15:21
jeremyfreudberganything in sahara logs?15:21
*** rcernin has joined #openstack-sahara15:22
ssmithhttp://imgur.com/Z9Onx4P15:23
ssmithChecking on the logs15:23
jeremyfreudbergok, well that's just saying glance api is down15:24
jeremyfreudbergssmith, I have to be afk for a while, but I'm usually around15:27
*** shuyingya has joined #openstack-sahara15:30
*** jeremyfreudberg has quit IRC15:30
*** jeremyfreudberg has joined #openstack-sahara15:30
*** jeremyfreudberg has quit IRC15:31
*** rcernin has quit IRC15:34
iwonkaping tellesnobrega15:35
iwonkawhen importing, things like tenant_id are added automatically15:36
iwonkamaybe it should be removed? instead of changed to placeholder?15:36
iwonkasame with is_default15:37
iwonkacreate doesn't want it as an argument15:38
iwonkaand security groups when they are exported the default way do not work15:41
*** rcernin has joined #openstack-sahara16:03
*** chlong has quit IRC16:08
*** esikachev has quit IRC16:15
*** shuyingya has quit IRC16:17
ssmithWe do notice that the root volume for the cluster instances are not marked as bootable which is why the instance is saying "No bootable device"16:22
*** shuyingya has joined #openstack-sahara16:26
tellesnobregaiwonka, regarding dashboard failures I have to trace back to when it started16:38
tellesnobregaseems unrelated16:38
tellesnobregamaybe some dependency16:38
*** shuyingya has quit IRC16:38
tellesnobregassmith, have you registered the image using sahara image registry?16:40
tellesnobregaiwonka, step by step here16:41
tellesnobregawhen you are importing the tenant_id is added, the current one?16:41
ssmithYes, and it attaches as vdb which I'm pretty sure won't boot on KVM no matter if it's marked as bootable or not16:41
ssmiththe compute driver tries to mount vda, yet the heat template is attaching on vdb.16:42
iwonkatellesnobrega: yes, but create doesn't want it as argument. it's added in sahara itself (id of current project)16:43
tellesnobregaif that is the case we can remove from the export without a problem16:44
tellesnobregasame for is_default16:44
tellesnobregassmith, I'm adding the image here and testing it16:44
*** anshul has quit IRC16:46
iwonkatellesnobrega: and what about security groups?16:47
iwonkaand should it be in a new commit?16:47
tellesnobregathe change will be on sahara? or other parts?16:48
tellesnobregaif in sahara yes, your change got merged16:48
iwonkayes, sahara16:49
tellesnobregaso a new patch16:49
iwonkaok16:49
tellesnobregawhat is not working on security groups?16:49
iwonkamost probably i'm not sure what to put there16:51
tellesnobregassmith, I just successfully started a cluster using that image16:53
ssmithIS the volume attached to the instance as vda or vdb?16:54
tellesnobregaI have it with no volumes attached16:54
tellesnobregawhere did you put a volume? worker instances?16:55
ssmithAre our templates configured incorrectly maybe?16:56
tellesnobregait is possible, can you show them?16:56
ssmithhttp://imgur.com/0MndAnL16:57
tellesnobregathat looks fine to me16:58
ssmithhttp://imgur.com/fx2rDpc16:58
tellesnobregaI'm adding volumes to my template here16:58
ssmithhttp://imgur.com/Pvo1Kxr16:59
ssmithhttp://imgur.com/XeWKSPD17:01
tellesnobregaon node groups templates, do you have one for the master and one for slaves or just a single template with all services running?17:01
ssmithONe for slave and one for master.  Slave has datanode and slave as Node Processes17:02
*** mgoddard_ has quit IRC17:02
tellesnobregaok, that is perfect17:03
tellesnobregaon cluster template did you add both NG_templates?17:03
tellesnobregaon the Node Groups* tab17:03
ssmithYes one of each with count of 1 each17:04
tellesnobregaok17:04
*** anshul has joined #openstack-sahara17:04
tellesnobregaunder the HDFS Parameters you should update a dfs.replication parameter17:05
tellesnobregait should be 1, since you are adding just one slave17:05
tellesnobregait will fail validation otherwise17:05
ssmithsays 317:05
tellesnobregasince you are adding just one datanode it should be changed to 117:06
ssmithOK done17:06
tellesnobregacool17:06
openstackgerritIwona Kotlarska proposed openstack/sahara master: Fix export of node group templates  https://review.openstack.org/48752317:06
tellesnobregastarted a cluster here with volumes and it is attached on /dev/vdb17:08
tellesnobregaiwonka, have you figured out what to do with security_groups?17:08
openstackgerritIwona Kotlarska proposed openstack/sahara master: Fix export of node group templates  https://review.openstack.org/48752317:10
ssmithSo we don't have to use volumes?17:10
*** anshul has quit IRC17:11
tellesnobregaYou can, that really depends on your needs17:11
*** ukaynar has quit IRC17:11
ssmithOK, this time got overquotient on security group rules but they're set to 1000 for the project17:11
*** ukaynar has joined #openstack-sahara17:11
tellesnobregawhat I see here is that we do have instances with volumes17:12
ssmithDid it boot.  What does it say in the console of the instance?17:12
tellesnobregassmith, everytime you run a cluster with auto_security_groups it will create a new group with a lot of rules (required by the service)17:13
ssmithNVM, SG rules needed to be increased17:13
tellesnobregaso probably deleting some sec groups will clear that17:13
tellesnobregaabout the instance it booted and I can ssh to it17:14
tellesnobregahttp://paste.openstack.org/show/616606/17:15
tellesnobregathis is from inside the instance17:15
*** ukaynar has quit IRC17:16
ssmithI don't see any volume created that's vda1 or vda attached to the instance like yours17:19
tellesnobregamy attached volume is at vdb17:20
tellesnobregait is a 2GB volume17:20
ssmithYou have a root /dev/vda1.  Is it ephemeral or cinder?  I don't get a vda attached to the instance17:21
tellesnobregathe vda is ephemeral17:22
tellesnobregathe cinder one is vdb17:22
ssmithWe don't have ephemeral on our compute nodes.  Does the root need to be ephemeral?17:22
tellesnobregahmm, got it. Not sure, I have to check that17:23
ssmithWhat's the difference in Base Image in the NGT and under the Launch Cluster UI?17:25
*** chlong has joined #openstack-sahara17:25
tellesnobregassmith, none actually, this is something I've meaning to work on, reduce the number of duplicity17:26
*** chlong has quit IRC17:27
*** chlong has joined #openstack-sahara17:28
*** jeremyfreudberg has joined #openstack-sahara17:34
jeremyfreudbergssmith, tellesnobrega, I'm back - just reading over the logs now... anything that still needs clarity?17:34
tellesnobregajeremyfreudberg, yes, basically the question now is, does we must have ephemeral disks to start the instances?17:35
jeremyfreudbergconsidering that this spec: http://specs.openstack.org/openstack/sahara-specs/specs/ocata/boot-from-volume.html remains unimplemented, essentially you do need ephemeral disk17:36
jeremyfreudbergin other, simpler, words - there is no support for boot from volume yet17:36
tellesnobregajeremyfreudberg, true. I forgot about this spec17:37
jeremyfreudbergnikita had started work on it but abandoned it due to other responsibilities.... I was planning to bring this up again at PTG, about whether we should prioritize it. So I guess the answer is yes, we need it17:38
tellesnobregassmith, ^17:38
tellesnobregajeremyfreudberg, the answer is yes for sure17:39
*** mgoddard_ has joined #openstack-sahara17:40
tellesnobregajeremyfreudberg, added the topic to the etherpad17:43
jeremyfreudbergtellesnobrega: thanks for adding it. (actually I already had it hiding in sub-bulletpoint but the attention is good)17:44
tellesnobregaI see that17:50
tellesnobregalets keep working on that etherpad (even thou it is already quite big) and I will work on a schedule17:51
jeremyfreudbergyep17:51
jeremyfreudbergalso, you saw vitaly's email?17:51
tellesnobreganot yet17:52
jeremyfreudbergthe name was russian, you might have missed it17:53
ssmithSo one of the infrastructure dependencies for Sahara is to have ephemeral volume capabilities?17:53
jeremyfreudbergssmith, unfortunately yes, at this time you must be able to boot instances from ephemeral disk17:54
ssmithI must have missed that somewhere.17:54
jeremyfreudbergssmith, we can probably clarify in the docs17:54
jeremyfreudbergbut anyway, lack of boot from volume support is a known issue, there will be a discussion if it can be resolved during Q release17:55
jeremyfreudbergsorry we don't have a better answer17:55
*** esikachev has joined #openstack-sahara17:56
tellesnobregassmith, we can't promise it will be solved in Queen as well, our team is a lot smaller than it used to be and we need to keep a priority list with our capabilities, but it is something important and will try to prioritize it18:02
tellesnobregafor ASAP18:02
tellesnobregajeremyfreudberg, about vitaly's email, I totally agree with his point. I've had that in my mind for some time, I wanted to ask you personally at the PTG18:05
tellesnobregabut it makes sense to bring you in now with vitaly leaving18:05
jeremyfreudbergtellesnobrega, cool, thanks for you endorsement. it means a lot to me. :)18:05
tellesnobregajeremyfreudberg, check openstack-dev18:12
jeremyfreudbergtellesnobrega, awesome18:22
*** cpusmith has joined #openstack-sahara18:39
*** ssmith has quit IRC18:39
*** cpusmith_ has joined #openstack-sahara18:40
cpusmith_We have Cinder on Ceph so have just created an Ephemeral Pool.  So how do we tell Sahara to use it?  A volume type?  On the Flavor?18:40
jeremyfreudbergcpusmith_ - the flavor18:41
*** mgoddard_ has quit IRC18:43
*** cpusmith has quit IRC18:43
iwonkatellesnobrega: the problem with security groups is that i'm not sure how to provide None as an argument for it to be parsed correctly18:50
iwonkai mean, it could be default18:50
iwonkaand set to None18:50
iwonkaand then when user doesn't provide it, the it would be None18:50
iwonkathat works18:50
iwonkacan i do it that way?18:51
iwonka(the same problem with floating ip pool and sth else probably)18:51
tellesnobregahm, security_group can be set as auto_security_group18:53
tellesnobregathis way the security group is create after18:53
tellesnobregamaybe you can take a look into that18:54
jeremyfreudbergso auto_security_group is bool18:54
jeremyfreudbergbut security_groups extra is a list18:54
jeremyfreudbergdo you know if security_groups extra can take the empty list as input?18:54
tellesnobregafloating_ip pool has to be requested as well, it can be similar to what is done on the create, where it has a drop down (you can check how templates is formed after that)18:57
iwonkatellesnobrega:18:57
iwonkai'm working with cli now18:57
iwonkaso no drop down18:58
cpusmith_Anything that we can do about Clusters that are just sitting there deleting?18:59
jeremyfreudbergcpusmith_ if they are stuck deleting try deleting the heat stack first19:00
jeremyfreudbergyou have to do `openstack stack list --hidden --nested` to see them19:00
tellesnobregajeremyfreudberg, I'm not sure if it can be an empty list for sec groups extra19:00
jeremyfreudbergtellesnobrega: really not sure either, probably something in the validation code19:01
cpusmith_There are none showing in the UI19:01
jeremyfreudbergcpusmith_ they are hidden from ui19:01
jeremyfreudbergyou might have missed my cli hint above19:01
cpusmith_OK, will do from CLI then19:01
tellesnobregaiwonka, what I meant was just to check how templates are created when those options are selected19:02
tellesnobregaso you know what to put there19:02
jeremyfreudbergcpusmith_ : if the stacks won't delete either, then you can enable heat stack abandon and do that. but that's a last resort19:02
*** dave-mccowan has joined #openstack-sahara19:03
tellesnobregajeremyfreudberg, checking the validation19:03
*** dave-mccowan has quit IRC19:04
jeremyfreudbergtellesnobrega: theoretically it works, https://github.com/openstack/sahara/blob/master/sahara/service/validations/base.py#L18419:05
jeremyfreudbergit will just iterate over the empty list19:05
jeremyfreudbergthere could be something on the api side though19:05
jeremyfreudbergprobably best to just try it out19:05
tellesnobregayeah, on this looks it will work19:07
cpusmith_jeremyfreudberg Are they under the tenant were the clusters are launched or under another one?19:11
jeremyfreudbergcpusmith_ they are under that tenant19:12
jeremyfreudbergheat stack-list --show-nested --show-hidden, or openstack stack list --hidden --nested19:12
cpusmith_hidden showed them19:13
jeremyfreudberggreat, try deletion, you can tail the heat-engine log too which might give some insight as to why cluster deletion hangs19:13
jeremyfreudbergprobably it can't clean up a resource (i've seen auto-created security groups fail to delete because the instance they are associated with failed to spawn)19:14
tellesnobregacpusmith_, this is also an issue that we are trying to resolve asap19:18
*** rcernin has quit IRC19:27
*** mgoddard_ has joined #openstack-sahara19:29
iwonkatellesnobrega: in cli in ngt create --floating-ip-pool is optional and when it's not created it is set to None19:29
iwonkasame with security groups19:29
jeremyfreudbergiwonka: are you adding client library method for import first?19:32
iwonkayes19:32
jeremyfreudbergok, just checking19:32
jeremyfreudberganyway, if it works with none, then let's stick with none19:32
jeremyfreudbergno need to complicate it19:32
iwonkathe point is, it's not required in create19:32
jeremyfreudbergi see19:33
jeremyfreudbergmakes sense19:33
iwonkaso my question is if it can be not required in import19:33
jeremyfreudbergi think it can be not required, but if the user doesn't provide a value, you have to set the keys which still have a placeholder to None19:33
jeremyfreudbergwhich is what I think you had figured out already anyway19:34
*** esikachev has quit IRC19:34
iwonkaok, thanks19:34
jeremyfreudbergwell19:34
jeremyfreudbergexcept for image id19:34
jeremyfreudbergi guess19:34
jeremyfreudbergright19:34
jeremyfreudbergand flavor19:35
jeremyfreudbergor image id might technically be optional19:35
jeremyfreudbergbut flavor should not be allowed to be none19:35
iwonkai'll leave flavor id and image id the way they are19:36
*** esikachev has joined #openstack-sahara19:36
tellesnobregayes19:37
tellesnobregasorry19:37
tellesnobregaiwonka, this way you discussed with jeremy looks good19:38
iwonkaok, cli works fine now19:40
openstackgerritMerged openstack/sahara master: Fix export of node group templates  https://review.openstack.org/48752319:40
*** chlong has quit IRC19:43
*** chlong has joined #openstack-sahara19:49
*** chlong has quit IRC19:52
*** chlong has joined #openstack-sahara19:52
openstackgerritIwona Kotlarska proposed openstack/python-saharaclient master: Add import of node group templates  https://review.openstack.org/48757519:56
openstackgerritIwona Kotlarska proposed openstack/python-saharaclient master: Add import of node group templates  https://review.openstack.org/48757519:58
*** esikachev has quit IRC20:04
*** mgoddard_ has quit IRC20:06
*** ukaynar has joined #openstack-sahara20:07
*** anshul has joined #openstack-sahara20:42
*** jeremyfreudberg has quit IRC20:48
*** mgoddard_ has joined #openstack-sahara20:56
*** ukaynar_ has joined #openstack-sahara20:58
cpusmith_jeremyfreudberg do you have 0 for root and 10 for ephemeral on your flavor?21:00
*** esikachev has joined #openstack-sahara21:01
*** ukaynar has quit IRC21:02
*** ukaynar_ has quit IRC21:03
*** ukaynar has joined #openstack-sahara21:03
*** esikachev has quit IRC21:05
tellesnobregacpusmith_, you mean volume size?21:05
cpusmith_yes21:06
tellesnobregaI'm using default small flavor21:06
tellesnobregalet me check the configs guere21:06
tellesnobregaephemeral is 0 and disk is 20GB21:07
cpusmith_The how is it booting to ephemeral?21:08
*** ukaynar has quit IRC21:08
cpusmith_then how21:08
tellesnobregalet me make sure this is right21:09
tellesnobregalooking at http://paste.openstack.org/show/616606/21:12
tellesnobregaok, so I think this ephemeral disk is sized 20GB21:12
tellesnobregathat is probably the correct information21:13
tellesnobregaI have to leave now, please ping me and I will respond when I'm back21:13
tellesnobregaor reach me at tenobreg@redhat.com21:13
tellesnobregacpusmith_, ^21:13
tellesnobregahopefully we will get that working soon21:14
tellesnobregaephemeral is 20GB :)21:14
*** chlong has quit IRC21:14
*** anshul has quit IRC21:21
*** ukaynar has joined #openstack-sahara21:33
*** mgoddard_ has quit IRC21:34
*** ukaynar has quit IRC21:42
*** ukaynar has joined #openstack-sahara21:43
*** cpusmith_ has quit IRC21:51
*** ukaynar has quit IRC21:53
*** esikachev has joined #openstack-sahara22:02
*** esikachev has quit IRC22:06
*** jeremyfreudberg has joined #openstack-sahara22:15
*** jeremyfreudberg has quit IRC22:17
*** esikachev has joined #openstack-sahara23:03
*** esikachev has quit IRC23:07
*** iwonka has quit IRC23:19
*** iwonka has joined #openstack-sahara23:27
*** ukaynar has joined #openstack-sahara23:30

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