Sunday, 2015-10-11

*** dims_ has joined #kolla00:03
*** dimsum__ has quit IRC00:06
*** dimsum__ has joined #kolla00:06
*** jmccarthy1 has quit IRC00:07
*** jmccarthy has joined #kolla00:07
*** dims_ has quit IRC00:10
jmccarthyAnyone run into an issue where trying to get a console to an instance always times out, but the 'click to view full screen' ones works ?00:12
*** achanda has joined #kolla00:28
*** achanda has quit IRC00:35
*** masterbound has quit IRC00:46
*** dimsum__ has quit IRC00:57
openstackgerritMerged openstack/kolla: Fix path of synced_folder in Vagrantfile  https://review.openstack.org/23337400:59
*** erkules_ has joined #kolla01:14
*** erkules has quit IRC01:17
*** achanda has joined #kolla01:30
*** achanda has quit IRC01:34
*** mbound has joined #kolla01:46
*** sdake has quit IRC01:51
*** mbound has quit IRC01:52
*** sdake has joined #kolla01:54
*** dimsum__ has joined #kolla01:57
*** dimsum__ has quit IRC02:03
*** bmace__ has quit IRC02:06
*** bmace__ has joined #kolla02:07
*** sdake_ has joined #kolla02:12
*** klint has joined #kolla02:39
*** sdake_ has quit IRC02:44
*** dimsum__ has joined #kolla03:00
*** dimsum__ has quit IRC03:04
SamYaplemorning03:20
SamYaplejmccarthy: https://bugs.launchpad.net/nova/+bug/98933703:21
openstackLaunchpad bug 989337 in OpenStack Compute (nova) "multiple nova-consoleauth instances cause issues with novncproxy" [Undecided,Fix released] - Assigned to Vish Ishaya (vishvananda)03:21
SamYaplebeen meaning to fix that03:21
SamYaplepretty simple but i keep forgetting to bring it up in a meeting03:21
sdakesamyaple about03:33
sdakehave a critical bug03:33
sdakecan you take a look at  the logs03:33
sdakei am tagging rc2 as is now03:33
sdakehttps://bugs.launchpad.net/kolla/+bug/150488303:35
openstackLaunchpad bug 1504883 in kolla "VirtualInterfaceCreateException: Virtual Interface creation failed" [Critical,Triaged]03:35
SamYapleso whats the issue?03:36
SamYapleis there a stack trace03:36
*** achanda has joined #kolla03:38
sdakeyes stack trace03:40
sdakethe vms dont start up is the issue03:40
sdakethere are a slew of backtraces in the minime-01 log03:40
sdakethat is all the log files on that node03:40
sdakethe first 24 start, i kill them with stack delete03:40
sdakethe second 24 dont start, only 15-20 start03:40
sdakealso python-heatclient 0.8.0 is broken with kolla03:41
sdakei'm not sure if its kolla or heat03:41
sdakeheatclinet 0.6.0 works though03:41
sdakei ordered 2 750 400gb and 1 750 1.2 tb for my workstations/minime amchines03:45
sdakeand 3 4tb red drives for backend storage03:45
sdakehopefully all that gear will work with ceph properly03:46
sdakei am putting the 400gb as cache tiers on minime, and the 4tb red as storage tier03:46
sdakeand 1.2 tb as my main linux drive in my bigiron mahcine03:47
SamYapleeh its not like im running out of TBs over here03:49
SamYaplehey whats up with heatclient03:49
SamYaple"its broken" means nothing03:49
sdakesays something about a x thing not found03:49
sdakesec, i'll paste03:49
sdakeheat client explosion http://ur1.ca/nzden -> http://paste.fedoraproject.org/277850/3555714403:52
sdake0.8.0 bust  0.6.0 works03:53
sdakeso looks like we have aout 4 or 5 ritical bugs that absolutely must be fixed between now and the 15th03:53
* sdake groans03:54
sdakeatleast stable/liberty is in pretty solid shape03:54
SamYapleyou should probably open a but with heat03:54
sdakeyes i am03:54
sdakei suspect its our config that is busted03:54
SamYaplemight be. i dont know anything about heat03:56
sdakeheat is the new hotness03:57
SamYaplenot so sure about that03:59
*** dimsum__ has joined #kolla04:02
sdakenew laptop faster04:02
* sdake likes04:02
sdakekolla has 194 stars04:03
* sdake yayas04:03
openstackgerritSteven Dake proposed openstack/kolla: Fix up loc with change to devenv  https://review.openstack.org/23340404:06
*** dimsum__ has quit IRC04:06
*** bmace__ has quit IRC04:10
*** bmace__ has joined #kolla04:11
openstackgerritSteven Dake proposed openstack/kolla: Fix up loc with change to devenv  https://review.openstack.org/23340404:11
openstackgerritSam Yaple proposed openstack/kolla: DO NOT MERGE - Gate things  https://review.openstack.org/23188104:12
openstackgerritSam Yaple proposed openstack/kolla: DO NOT MERGE - Gate things  https://review.openstack.org/23188104:19
*** achanda has quit IRC04:23
*** sdake has quit IRC04:34
*** achanda has joined #kolla04:54
openstackgerritSam Yaple proposed openstack/kolla: DO NOT MERGE - Gate things  https://review.openstack.org/23188104:57
openstackgerritSam Yaple proposed openstack/kolla: DO NOT MERGE - Gate things  https://review.openstack.org/23188105:11
openstackgerritSam Yaple proposed openstack/kolla: DO NOT MERGE - Gate things  https://review.openstack.org/23188105:18
*** sdake has joined #kolla05:30
sdakeyo05:31
sdakeSamYaple what do you make of this05:42
sdakeOct 11 02:55:51 minime-01 nova-scheduler: Seems service is down. Last heartbeat was 2015-10-11 02:54:44. Elapsed time is 67.33884105:42
SamYaplesdake: im not sure the context05:49
sdakethe failure to allocate vms as  mentioned erarlier05:49
sdakewhen spawning 24 vms via heat hten killing then wpawning 24 again05:50
sdakethat seems t o imply amqp is on the rails05:50
SamYaplei blame your date time!05:51
SamYapledid yo usetup ntp?05:52
sdakeno05:55
sdakei guess i'll do that05:56
sdakehang tight05:56
*** CBR09 has joined #kolla05:59
sdakeboy looking at wall clock time to determine healthchecking is a bunch of fail06:17
sdakebunch o fail06:17
*** dimsum__ has joined #kolla06:28
*** dimsum__ has quit IRC06:33
SamYaplesdake: what do you mean?06:47
SamYaplethe messages are timestamped06:48
SamYapleits not looking at when it got it, its looking at when it was timestampped until now06:48
SamYapleits a great way to do it06:48
SamYaplethat way it can deal with retransmits06:48
sdakeSamYaple check this out xhttp://ur1.ca/nzemf -> http://paste.fedoraproject.org/277883/4546292106:51
sdake3 control nodes06:52
sdakeonly 1 of them is actually returning the image06:52
sdakethe other 2 error out06:52
sdakend in the server say teh image not preent06:52
SamYaplethats because only one actually has the image06:52
SamYapledo you know how glance works in this regard?06:52
SamYapleyou have the file backend06:52
SamYapleit has no syncing mechanism06:52
SamYapleyou need ceph or nfs06:53
sdakeso peple do glance with nfs?06:55
SamYaplesorta. they do an nfs share for /var/lib/glance06:55
SamYaplemostly its ceph06:55
SamYapleor swift06:55
SamYaplemaybe cinder, but that has its own SPOF06:55
sdakei find it hard to believe ther eis no database storage mechanism for the bakend - images are small06:56
sdakewithout ceph ha is unusable with kolla ssince you can't launch vms06:57
SamYaplethe default limit size for images is 1TB in glance. ive had to raise it before :)06:57
SamYaplenah that can be fixed with config options sdake06:57
SamYapleif you choose to use a file backend06:57
SamYaplethis isnt a kolla issue, this is a non-ha backend issue sdake06:58
SamYapledont freak out06:58
sdakeok well can e get those config options in as default then06:58
*** Kennan2 has joined #kolla06:58
sdakewhat do the config options do?06:58
SamYapleno it doesnt make it ha....06:58
SamYaplethe files still only exist in one spot06:58
SamYapleits not going to sync them, thats on you06:58
*** Kennan has quit IRC06:59
sdakeroger, we can document that06:59
sdakethat is better then nova not booting because it didnt' find the right glance server :)06:59
sdakesyncing would havebeen the first thing i ever implmented in glance06:59
sdakei am surprised it isn't built in06:59
SamYapleim pretty sure RAX built a tool for this at one point07:00
SamYaplebut then they wised up and said "use an HA backend like Glance was designed to use"07:00
SamYapleyes https://github.com/rcbops/glance-image-sync07:01
SamYapledont use it btw07:01
sdakeis http writeable?07:02
SamYaplewut07:02
sdakeVarious repository types are supported including normal file systems, Object Storage, RADOS block devices, HTTP, and Amazon S3. Note that some repositories will only support read-only usage.07:02
sdakeso how do we get access to just one registry service for the particular image07:04
sdakerather then round robning to machines that don't have the image07:04
SamYapleno thats the solution07:04
SamYapleroundrobining07:04
SamYaplethats the designed solution...07:04
SamYaplesorry im just a bit shocked youve never dealt with this. this is like glance 10107:05
sdakehow do we make kolla work without ceph where most of the ystem is ha but glance?07:05
SamYapleits glance it wont be ha07:05
SamYapleit never has been without an HA backend07:05
sdakeroger07:06
sdakeso the answer is use ceph?07:06
SamYapleif you need an HA backend, use an HA backend07:06
SamYapleceph works07:06
SamYapleS3 can be configured07:06
sdakewhat can we get working out of the box07:06
SamYapleif it requires an HA backend, nothing07:07
sdakeyou must understand how unappealing not being able to use openstack without ceph is07:07
sdakecan you just run one galnce service07:07
SamYapleyou must understand that this is openstack period07:07
SamYapleyou can07:07
SamYaplei mean this isnt news07:07
SamYaplethis is exactly how its always been07:08
SamYapleuse an ha backend07:08
sdakei think what makes sense is to change storage to "general_storage" and "image_storage"07:09
sdakeand hae image_storage only hae 1 host, general storage have all the hosts07:09
SamYaplewhat do you mean?07:09
sdakethat solves the problem well enough07:09
sdakewe hve a [storage] section07:09
SamYapleno thats awful07:09
sdakebut we have two types of storage07:09
SamYaplebesides we dont put glance on storage07:09
SamYapleno we dont07:09
SamYaplewe have containers07:09
SamYapleall the "storage" hosts have physical disks07:10
sdakewhere is glance put?07:10
SamYaplestorage == physical disks07:10
SamYapleglance stores its images in the containers like oyu wanted07:10
SamYaplebut it can be configured with ceph or swift or s307:10
sdakeon control nodes or storage nodes?07:10
SamYaplewhereever glance-api runs07:10
SamYapleglance has nothing to do with storage nodes07:10
sdakedo you kno wwhwere it runs?07:10
SamYapleit depends on your inventory configuration07:11
SamYaplewhat is the problem here again?07:11
sdakewhat is the out of the box default07:11
SamYaplecheck the inventory file....07:11
sdakethe problem is an out of the box multinode with multiple control nodes does not work07:11
sdakewithout serious hacking on the inventory file07:11
sdakeand someone magically knowing glance doesn't work ha07:11
sdakewithout a ha backend07:12
SamYaplei wouldnt call that magically07:12
SamYaplemore like common sense and how its always always been07:12
sdakemost of our users are not rocket scientistss when it comes to openstack ;)07:12
sdakemost openstack is not ha for that matter07:13
SamYaplemost openstack is RESTful and as such is HA07:13
sdakeits ok i know how to take care of it07:13
sdakei'll resolve it - easy to fix07:13
SamYapleok dont change the group names though07:13
sdakewe need a new group name07:13
sdakeone for glance07:13
SamYapleyou cant backport that.07:14
SamYapleinventory is API07:14
SamYapleyou dont have to use those inventory files iwth ansible, they are exaples07:14
sdakewell then now is the time to backport it because what we have now is doa07:14
SamYaple-207:14
SamYapleyou are freaking out about something yet again07:14
SamYapleglance is not HA without an HA backend07:15
sdakeevery time someone comes into the channel andasks how to get glance ogin ha, i'm pointing them at you07:15
sdakeenjoy07:15
SamYapleyou freak out alot when you dont understand something07:15
sdakei dont understand the issue with having an additional gropu name07:15
SamYapleits an api change....07:15
sdakei fully understandthe situation07:15
SamYapleyou do not07:15
SamYapleits a freaking config change whats the issue07:15
sdakewe have not released liberty yet07:16
SamYapleyou cant make glance sync images07:16
sdakerelease is  the 15th07:16
sdakealong with the rest of openstack07:16
SamYapleim -2 on changing group names rather that the config07:16
SamYaple15th or not07:16
sdakei dont understand the last sentence coud you reprhase07:17
SamYaplechange nova.conf not the gropu names in the inventory. as ive been saying07:17
sdakeok tell me more plz07:17
SamYaplethats the entirety of my sentence07:17
sdakeif tht is viable i'm good with that, pleae point me at docs07:17
sdakeor tell me the config option07:18
sdakefwiw i brought this up several months ago and you said it wasn't a problem07:19
SamYaplebecause of being able to fix it with a config change....07:19
sdakebut i hadn't confirmed it until just now07:19
sdakecool lets get er done then :)07:19
SamYapleyoure making it a problem like you did with all the other non issues because you didnt get the situation07:20
sdakethe config option is what?07:20
sdakesee sam, i lsiten whenyu explain07:20
SamYapleyou just dont remember07:21
sdakei do not have esp powers unfortunately07:21
sdakeya crs, it will happen to you too :)07:21
SamYaplei did say the config option was configurate like 30 minutes ago dude07:21
openstackgerritSam Yaple proposed openstack/kolla: Please stop freaking out its a small change  https://review.openstack.org/23342907:23
SamYapletry that07:23
SamYapleleft a special message for oyu in the commit07:23
SamYaple;)07:23
sdakethanks i'll give it a spin07:27
sdakesam i only have kolla's best interests in mind ;)07:28
SamYaplethats not in question, but you do tend to freak out about things when i tell you not too07:28
SamYaplethis is the 4th time I believe07:28
sdakeyou haven't seen a gade 9 freakout yet bro ;)07:30
SamYapleyou probably shouldnt be ok with that07:30
SamYapleits quite irratating to me07:30
*** dimsum__ has joined #kolla07:30
*** jmccarthy has quit IRC07:31
sdakefrom marvell movie07:31
sdakeclearly lost on you :(07:31
SamYaplei stand by my statements07:32
*** dimsum__ has quit IRC07:35
sdakeSamYaple have you deployed murano07:35
SamYapleyup07:35
SamYapleapi works, not horizon integration07:35
sdakeneed to sort out the horizon plugins in mitaka07:37
sdakei read an email from ttx, made me rethink liberal backport policy07:38
SamYaplebtw making this default change to the confs seriously affects performance when launching a bunhc of instances07:38
SamYaplejust fyi07:38
sdakecool let me eval07:39
sdakei'd like poeple to just roll with ceph07:39
sdakeis it possible to make it ceph conditional?07:39
SamYapleyea im working on it. also the hosts thing is deprecated in liberty so im updating that07:39
sdakethen our recommended deploy (ceph) won have any impact07:40
SamYaplefile a bug for this would you please07:40
sdakesure07:40
sdakeshll I assign to you?07:40
SamYaplesure07:40
sdakeassuming this fixes openstack locing up on my boxes, kolla wil be in good shape :)07:41
sdakelocking07:41
sdakeSamYaple does kolla behave correctly when there are multiple dhcp metadata and l3 agents running on control nodes?07:48
SamYapledefine behave correctly07:49
sdakenetworkign will work correctly?07:50
SamYaplesure?07:50
SamYapleim not sure i follow07:50
SamYapleneutron is SPOF in legacy mode07:50
SamYapleand only one dhcp server will be assigned by default07:51
sdakedo you know anything about l3 ha?07:51
SamYapleyup07:51
sdakeis that the dvr thing?07:52
SamYaplenope07:52
*** achanda has quit IRC07:54
openstackgerritSam Yaple proposed openstack/kolla: Balance by source for horizon and nova-consoleauth  https://review.openstack.org/23343007:55
sdakefresh reboot, only 9 vms started07:56
sdakewith patch applied07:57
*** achanda has joined #kolla07:57
SamYapleyea thats the deprecated option probably07:57
SamYaplehave a new patch just wating on bug07:57
sdakeroger filign now07:57
sdakehttps://bugs.launchpad.net/kolla/+bug/150490208:02
openstackLaunchpad bug 1504902 in kolla "nova doesn't always find images in glance in HA mode" [Critical,Confirmed] - Assigned to Sam Yaple (s8m)08:02
openstackgerritSam Yaple proposed openstack/kolla: Glance round robin for default file backend  https://review.openstack.org/23342908:02
*** inc0 has joined #kolla08:13
*** achanda has quit IRC08:13
inc0good morning08:13
openstackgerritSteven Dake proposed openstack/kolla: Recommend enabling NTPD in the documenation  https://review.openstack.org/23343208:18
sdaketesting08:20
sdakehey inc008:20
inc02 weeks till Tokyo08:23
inc0do you know how much sessions we'll have after all?08:23
sdake808:23
sdake3 fishbowl 5 regular08:23
sdake40 mins in length08:23
inc0cool, so most of sessions we wanted to do will land08:24
sdakeyup08:24
inc0will we have dev meeting as well?08:24
sdakeyes half day contrib meetup08:24
sdake2-5pm08:24
sdakethen sakibombers!!08:24
inc0cool08:24
inc0I have flight back home at 1am08:24
sdakenice best time to get the booze rolling then :)08:25
inc0yup08:25
inc0just to keep mind clean enough to be able to show papers at border control08:25
inc0but I'm polish, I'm not rich enough to get enough alcohol for my slavic blood;)08:26
SamYapleinc0: 1am friday morning?08:27
inc0Saturday08:28
SamYaplecool08:28
inc0technically it Saturday already08:28
SamYapleyea my flights 1230 am i think08:28
inc0cool08:28
*** vinkman has quit IRC08:28
sdake2015-10-11 08:28:20.100 1 ERROR nova.compute.manager [instance: 2413c892-5650-4482-9a17-277076cd23f4] ImageNotFound: Image c463e50c-7478-4236-866c-f1df143fa6cb could not be found.08:35
sdake| c463e50c-7478-4236-866c-f1df143fa6cb | cirros |08:35
sdakeSamYaple looks like needs more love08:36
openstackgerritMichal Jastrzebski (inc0) proposed openstack/kolla: Add ceph and ironic to index  https://review.openstack.org/23343408:38
*** mbound has joined #kolla08:40
*** jmccarthy has joined #kolla08:41
jmccarthySamYaple, you about ?08:42
SamYapleim here jmccarthy08:42
jmccarthyYour here all times ;)08:42
SamYapleme? never08:43
openstackgerritSteven Dake proposed openstack/kolla: Recommend enabling NTPD in the documenation  https://review.openstack.org/23343208:44
jmccarthyQuick question re: 'Balance by source for horizon and nova-consoleauth' patch, can you elaborate on why specify hash-type consistent ?08:44
jmccarthyActually I have another question, but one at a time :)08:44
jmccarthySamYaple: I mean is that a preference, or it's really also needed ?08:45
SamYaplejmccarthy: http://blog.haproxy.com/2015/05/06/haproxys-load-balancing-algorithm-for-static-content-delivery-with-varnish/08:45
SamYapleneeded? no. helpful though08:46
jmccarthyOk grand, I'll read up a bit more, cool08:46
jmccarthySamYaple: Question 2 :) - Ok so with the getting a console to an instance, I find the embedded one always fails, while the 'click to view fullscreen' or whatever that says, always works ?08:47
SamYaplethat patch fixes it08:47
jmccarthyThe embedded one too though ?08:47
jmccarthyI have this behaviour even with only one consoleauth running08:48
SamYaplethis is for horizon and consoleatuh08:49
SamYaplegive it a try08:49
jmccarthyI'm unclear if or what they do different - don't they both use the websocket on 6080 to the vip ?08:49
SamYapleyea but thats not breaking08:50
SamYaplethe auth is breaking08:50
SamYaplefyi havent gotten around to testing that yet, just threw it up realy quick in the midst of phones and tickets08:51
jmccarthyIt's cool, just thought you might have some ideas on it, yes I'll give it a whirl today08:55
CBR09morning all08:56
inc0hey CBR0908:56
CBR09is ha currently work well?08:57
CBR09to do HA with two controller node, beside edit [control] group and change kolla_internal_address to VIP, what else?08:59
inc03 nodes08:59
inc0with 2 nodes you might have problem with galera08:59
jmccarthySamYaple: I'll try now actually09:02
CBR09inc0: for testing purpose, are two nodes ok?09:05
inc0CBR09, 3 nodes are because of quorum election and such09:06
inc0it has to be odd number09:06
inc0(but don't quote me on that, I'm not 100% sure how galera internals work)09:07
CBR09ok, I see, minimal require 3 nodes09:09
inc0yeah, its algorythmical requirement rather than performance09:10
sdakesamyaple can you add https://github.com/openstack/nova/blob/master/nova/image/glance.py#L224-L22609:10
sdakesamyaple as is, there is zero retries meaning the first failure is the last failurle :)09:10
CBR09inc0: yes, two nodes can work, but always have threats09:11
SamYaplesdake: thats retry per host. it walks the hosts09:12
inc0CBR09, quite possibly it won't break right away, it might cause data loss or cluster failure on split brain, but that's not a concern in testing env09:12
inc0on prod, I strongly reccomend 3 nodes at least09:13
SamYapleit doesnt have to be an odd number09:13
SamYapleyou just gain no benefit from an even number09:13
SamYaple4 is no better than 309:13
inc0so one node will be read-only right?09:13
SamYapleno09:13
SamYapleno difference, its just no added benfit for having an even number than an odd09:14
SamYapleminimum of 309:14
SamYaplepast that its fine09:14
sdakesamyaple this code sets retries = 1 https://github.com/openstack/nova/blob/master/nova/image/glance.py#L22609:14
SamYaplejust keep >50% up at one time09:14
sdakethat creates 1 cient09:14
sdakeand only parses api_servers one time09:14
SamYaplehttps://github.com/openstack/nova/blob/master/nova/image/glance.py#L20609:16
SamYaple yea i think youre right09:16
SamYaplei dont thinks its always been that way, but hold on09:16
openstackgerritSam Yaple proposed openstack/kolla: Glance round robin for default file backend  https://review.openstack.org/23342909:17
SamYapletry that09:17
sdakewill do one moment09:17
sdakesamyaple num_retries09:19
openstackgerritSam Yaple proposed openstack/kolla: DO NOT MERGE - Gate things  https://review.openstack.org/23188109:19
SamYapleugh so picky09:19
sdaketell my wife about it09:20
openstackgerritSam Yaple proposed openstack/kolla: Glance round robin for default file backend  https://review.openstack.org/23342909:20
SamYapleim sure she know09:20
jmccarthySamYaple: Hmm ok with those changes, I still only get console 50% of the time09:23
sdakedefinately going to make glance loading pokey09:23
SamYaplesdake: that is how it works without an ha backend09:25
SamYapleits how its worked since essex09:25
sdakeright i see09:25
SamYaplejmccarthy: ok give me a chance to test it09:25
SamYapleim really really against memcached for security reasons09:25
SamYapleits halariously dangerous and no one seems to care09:25
sdakei think memcached s in the tree ofor some reason09:26
jmccarthySamYaple: no probs, yea it's there for swift proxy_server09:26
SamYaplethey implemented it for swift09:26
sdakeit should be removed if its a ssecurity problem09:26
SamYapleyou dont need it for swift either09:26
SamYapleno sdake it juts shouldnt be on by default09:26
SamYaplei use it personally because i know the risks and how to secure it09:26
SamYaplebut kolla cant ensure that its secured09:26
sdakewell wfm, i'm more inclined to have no exposure :)09:26
SamYaplememcached needs to be in tree, but it needs to be have big bold HERE IS WHY YOU SHOULDN'T USE THIS letters around it09:27
SamYaplein the docs at least09:27
sdakeor more importantly herei is how you use it correctly :)09:27
SamYaplewell thats a complicated subject09:27
jmccarthySamYaple: you dont need it for swift either - you mean by having similar config changes in haproxy ? I thought there was something else that had it as well at one point09:27
SamYaplejmccarthy: its the same reason with swift, shared auth tokens09:28
SamYapleif you always go to the same proxy (with balance source) youll be fine09:28
SamYaplei didnt say anything at the time because i havent had a chance to audit all the security09:28
* sdake wtb faster deploys!!09:28
sdake15 minutes 50 times a day gets old, real old09:28
SamYaplei heard OSA is faster sdake09:29
sdakehuh?09:29
sdakethen kolla?09:29
jmccarthySamYaple: I hear you, I've just not tried that, and if that node drops out, will it re-do tokens etc with new one ok ? I suppose so09:29
SamYaplei guess it just depends on who yo utalk to09:29
sdakefrom what I know kolla is 3-4x as fat as everyone elses deploy project ;)09:29
SamYaplethe people who have used and and the people hearing the propoganda :P09:29
sdakefast09:29
sdakenot fat :)09:29
SamYaplejmccarthy: yea it will just reauth. you just dont want it reauthing every request09:30
sdakeif you include the image bulding in kolla from china, ya kolla is slower09:30
sdakebecaue it goes through the gfw09:30
jmccarthyfat vs fast - unfortunate typo ;)09:30
sdakeand that is slow09:30
SamYaplewell i take that back jmccarthy, the application has to reauth. just an api call returns 40109:30
jmccarthySamYaple: I'm ok as long as it sorts it self out without too much grief ;)09:31
SamYaplesdake i have a `kolla_reset` alias that wipes my host09:31
SamYapleyou should use it09:31
sdakecool hook me up09:31
sdakesteven.dake@gmail.com plz ;009:31
jmccarthySamYaple: Ok let me know if that change helps with console for you, it didn't seem to help me but not sure why offhand09:32
SamYaplehttp://paste.fedoraproject.org/277897/14445559/09:32
sdakei do a manual cleanup with reboots which takes forever09:32
SamYaplesdake: youll want to adjust or remove ceph_wipe and fix_networking09:32
SamYapleit also wipes the images from the system so keep that in mind09:32
*** dimsum__ has joined #kolla09:32
SamYapleeh youre smart you can figure it out09:33
SamYaplethats my aliases you make them work for oyu09:33
sdakemy ceph hardwre arrives monday09:33
sdakethen i'll be harrassing you for setup help :)09:33
SamYaplefyi, using ceph populates /etc/fstab and that must be cleaned09:34
SamYaplereboots will hang otherwise09:34
SamYaplesed -ir '/ceph/d' /etc/fstab09:35
inc0I'll give a try this aio ceph guide09:35
inc0on vm09:35
SamYapleya good job CBR0909:35
SamYapleill try to update it when i have a moment to clarify a few points09:35
sdakeya cbr09 wrote some docs, and as a side benfit he knows how kolla works now :)09:35
inc0writing docs is cool for ramp up09:36
inc0same as writing tests09:36
SamYapleyea me and CBR09 spent a good bit of time on chat while he was getting that up and running09:36
sdakesomeone complained today that we have too much ocumentation in a bug tracker ;-)09:36
CBR09yea: )09:37
CBR09I'll try ceph on aio and multi-node09:37
CBR09both work09:37
SamYapleapart from me, you are the only one to confirm that!09:37
CBR09and thank Sam again, for help me : )09:37
sdakeSamYaple can you put the backport tag in that glance bug plz09:38
*** dimsum__ has quit IRC09:38
SamYaplewhats it worth to you?09:38
CBR09I'll try HA projects with Kolla, tomorrow09:39
CBR09hope it work : )09:39
SamYaplei want to bump ansible requirements up to 1.9.209:40
SamYaplethat way we can remove that docker_api_version thing09:40
SamYaplethe gate is not liking that09:40
SamYapleits kinda holding up the deploy09:40
sdakegate is a priority do what you need there09:41
SamYaplecan we bump ansible reqs to 1.9.2 in liberty?09:41
SamYaplei think we said 1.8.4 before09:41
sdakeya to hit centos709:41
sdakebut i think eveyrone will be roling to 2.0 soon enough09:41
SamYapleha09:41
SamYapledoubtful09:41
SamYapleits a mess09:41
SamYaplei dont want to touch 2.009:42
sdakei was heistent to bump the gate before becauses 2.0 was unreleased09:42
SamYapleno bump to 1.9.2 not 2.009:42
sdakeyes09:42
sdakei understand09:42
SamYapleyea 2.0 isnt going to work for anyones playbooks out of the gate09:42
sdakethe reason i didn't want to bump to 1.9.2 is becuse 2.0 ws unannounced09:42
SamYapleits been a mess everytime ive tried it09:42
sdakeleaving us without a way to eploy kolla without a pip install09:42
SamYapleand i really want to use blocks09:43
sdakebutpeople will be pip intalling it by default09:43
sdakesamyaple somehow you get this in nova.conf09:43
sdake[glance]09:43
sdakeapi_servers = 192.168.1.101:9292,192.168.1.102:9292,192.168.1.103:9292num_retrie09:43
sdakes = 309:43
SamYapleugh jinja09:43
SamYaplehold on09:44
SamYapleyou know oyu dont have t orekick to test09:44
SamYaplejust purge the nova_copute containers09:44
SamYapleor all nova if yo uwant to be safe09:44
openstackgerritSam Yaple proposed openstack/kolla: DO NOT MERGE - Gate things  https://review.openstack.org/23188109:44
openstackgerritSam Yaple proposed openstack/kolla: Glance round robin for default file backend  https://review.openstack.org/23342909:45
inc0aaand ceph aio failed09:46
SamYaplegotta have ssh09:47
inc0<putting on debugging hat>09:47
CBR09ssh auth09:47
inc0I know...I removed delegate thing;)09:47
*** Kennan has joined #kolla09:47
inc0failed on bootstrap containers09:47
*** Kennan2 has quit IRC09:48
inc0failed: [localhost] => (item=(0, {u'device': u'Flags', u'fs_uuid': u''})) => {"changed": true, "cmd": ["docker", "wait", "bootstrap_osd_0"], "delta": "0:00:00.010079", "end": "2015-10-11 11:45:51.239149", "failed": true, "failed_when_result": true, "item": [0, {"device": "Flags", "fs_uuid": ""}], "rc": 0, "start": "2015-10-11 11:45:51.229070", "stdout_lines": ["2"], "warnings": []}09:48
inc0fs_uuid shouldn't be "" should it?09:48
SamYaplefor bootstrap it should09:50
SamYaplewhats the error09:50
inc0http://paste.openstack.org/show/475975/ pay attention do container id...it just knew...09:51
SamYapleim confused, whats going on?09:52
inc0id is "bad"09:52
SamYaplewhy?09:53
inc0full id bad16a088cfd09:53
inc0it just happend this way09:53
inc0anyway, that was poor joke from my part09:53
SamYaplei agree09:53
SamYaplebut iget it know09:53
SamYaplei aint laughing, but i get it09:54
inc0but you're not laughing09:55
inc0anyway, back to the issue at hand09:55
inc0my ceph is broken and I have no clue why09:55
sdakeit was so bad it was funny09:57
sdake;-)09:57
CBR09inc0: you parted these disk ?10:00
inc0yup10:00
inc0http://paste.openstack.org/show/475976/10:01
CBR09give me full log when running playbook10:02
inc0it's pretty inconclusive...10:05
CBR09looks not find these disks for osd10:07
SamYapleinc0: need the playbook logs and the logs from the container that bombed out (bootstrap container)10:09
CBR09yea, agree with Sam, playbook logs is useful10:10
inc0http://paste.openstack.org/show/475977/ plays10:14
inc0(before that it's all green)10:14
SamYapleu'device': u'Flags',10:16
SamYapledats your problem10:16
SamYaplecan you post the output of `parted -l`10:16
CBR09not find disk10:16
CBR09: )10:16
inc0http://paste.openstack.org/show/475979/ parted -l10:17
SamYaplewhat version of parted is that10:18
SamYaple"Disk Flags:" is the issue btw10:18
inc0parted (GNU parted) 3.2 <- parted -v10:19
inc0what's wrong with them?10:19
SamYaplejust the way i screen scrape it10:19
SamYaplehold on ill write a patch youll need to try10:19
SamYaplecan you pop a bug10:20
inc0bug I'll pop then10:20
openstackgerritSam Yaple proposed openstack/kolla: Ignore the 'Disk Flags:' line in parted  https://review.openstack.org/23344110:22
SamYapleinc0: try that10:22
openstackgerritSam Yaple proposed openstack/kolla: DO NOT MERGE - Gate things  https://review.openstack.org/23188110:25
inc0it failed later10:25
inc0but passed this point10:25
SamYapleLOGS DAMMIT10:26
SamYaple:)10:26
inc0hold on, let me file bug you wanted10:26
SamYaplework harder!10:26
SamYaplefaster!10:26
SamYaplebetter!10:26
SamYaplestronger?10:26
inc0http://paste.openstack.org/show/475980/10:27
openstackgerritSam Yaple proposed openstack/kolla: Ignore the 'Disk Flags:' line in parted  https://review.openstack.org/23344110:28
SamYapleno so sure. did you cleanup the environment properly before retrying?10:29
inc0hold on, I will10:29
CBR09should be remove /etc/kolla/ceph-* : D10:30
SamYapleumount /var/lib/ceph/osd/*; rm -rf /var/lib/ceph/osd/* /etc/kolla/ceph-*; sed -ir '/ceph/d' /etc/fstab;10:30
SamYapleinc0: ^^ thats like the bare minimum10:31
inc0removing etc and containers didn't help10:31
inc0still the same10:31
SamYaplei dont believe you are cleaning it up properly this quickly!10:32
inc0it's one command10:32
inc0...10:32
CBR09I always remove /etc/kolla/ceph-* and add new disk10:32
SamYapleinc0: see above10:32
SamYapleits more than one command10:32
SamYaple4 at minumum10:32
SamYapleumount /var/lib/ceph/osd/*; rm -rf /var/lib/ceph/osd/* /etc/kolla/ceph-*; sed -ir '/ceph/d' /etc/fstab; parted /dev/sdb -s -- mklabel gpt10:33
SamYapletry that inc010:33
CBR09Ah Sam, sometime I run into error:10:34
CBR09http://paste.openstack.org/show/475981/10:34
inc0umount: /var/lib/ceph/osd/82575176-3a45-4165-b739-c68a784a770f: not mounted10:34
CBR09due to remaining /etc/kolla/ceph-*10:34
CBR09is it error ?10:34
inc0we need proper clean scripts, I'll file a bug for that as well10:34
inc0while I'm at it10:34
SamYapleinc0: i have alieases10:35
SamYaplehttp://paste.fedoraproject.org/277897/14445559/10:35
SamYaple`kolla_reset` and its all cleaned10:35
inc0https://bugs.launchpad.net/kolla/+bug/150492110:36
openstackLaunchpad bug 1504921 in kolla "ceph clean scripts" [High,Triaged]10:36
SamYaplereally not a bug dude10:36
SamYapleand you cant really have a clean script like that10:37
SamYaplei dont want to go removing and unmounting things...10:37
inc0yeah, wishlist is better10:37
SamYaplewell thats just the proper thing for it10:37
inc0at least a doc or set of commands10:37
SamYaplesince its not a bug, not to lessen the value10:37
inc0hmm....it seems it worked now10:38
SamYapleha!10:38
SamYaplei knew you didnt clean it10:38
SamYaplemwhahahaa10:38
inc0https://bugs.launchpad.net/kolla/+bug/150492010:39
openstackLaunchpad bug 1504920 in kolla "ceph fails on aio deploy" [High,In progress] - Assigned to Sam Yaple (s8m)10:39
inc0by the way, for your patch10:39
inc0SamYaple ... it requires pretty complicated thing to clean that up:P10:39
inc0if it's at least in docs10:39
inc0I'm ok with it, but it should be somewhere10:39
SamYapleim perfectly fine with it being documents10:40
SamYapleor a script10:40
SamYaplejust want to be carful with disks10:40
openstackgerritSam Yaple proposed openstack/kolla: Ignore the 'Disk Flags:' line in parted  https://review.openstack.org/23344110:41
inc0yeah, that's my point10:42
inc0well...meh10:43
inc0no osds10:44
inc0I've just noticed, it skipped the ODSs10:44
SamYapleyou didnt bootstrap the osd maaaaan10:44
inc0aaaaa10:44
inc0yeah10:44
SamYapleparted /dev/sdb -s -- mklabel gpt mkpart KOLLA_CEPH_OSD_BOOTSTRAP 1 -110:44
inc0yup10:45
inc0aaand we get last error10:45
inc0failed: [localhost] => (item={u'device': u'/dev/sdb', u'fs_uuid': u'6efd1972-340a-4f5d-86fb-855bde978e16'}) => {"failed": true, "item": {"device": "/dev/sdb", "fs_uuid": "6efd1972-340a-4f5d-86fb-855bde978e16"}}10:46
inc0msg: Error mounting /var/lib/ceph/osd/6efd1972-340a-4f5d-86fb-855bde978e16: mount: can't find UUID=6efd1972-340a-4f5d-86fb-855bde978e1610:46
SamYapledo you have xfs installed on your host?10:46
inc0now I have10:47
SamYapleyea we should document that10:48
SamYapleparted and xfs required10:48
SamYapleon host10:48
inc0still, didn't help10:48
inc0apt-get install xfsprogs <- that one?10:49
SamYaplewell what it is doing in that exact moment is trying to mount the filesystem10:49
SamYaplefigure that ouy10:49
SamYaplemount -t xfs /dev/sdb1 /mnt10:49
SamYaplesomethings not working10:49
SamYaplearrrrgggggg10:50
SamYapleI have it a bad kernel in the gate10:50
SamYapleall is lost sdake10:50
SamYaplei cannot into gating10:50
SamYaplewe have to do changes to all the bootstrap scripts :(10:50
inc0mounting worked:/10:50
SamYapleok, well just poke around there10:51
SamYaplethats literally all its trying to do10:51
inc0yeha I have it10:51
inc0it's trying to mount different uuid10:51
inc0where does it take it from?10:51
SamYaplei forget10:51
SamYaple`blkid /dev/sdb*`10:52
SamYapleit scrapes that10:52
inc0is it possible that inside container it has different fs_uuid?10:55
SamYaplei doubt it10:56
SamYaplebut it could be a kernel caching thing10:57
SamYaplewhats the output from `blkid /dev/sdb*`10:58
inc0that's the thing, it's different10:59
SamYaplewell ansible runs that on the host not hte container10:59
SamYapleso its not a container thing10:59
inc0ansible shows: b0a25c1d-35ab-4731-a6ec-021b6e73f8a1 while normal blkid is "a61e6cbf-5b5b-42e5-96ec-3d05ca78bcdf"10:59
SamYaplereset and run it again11:00
*** sdake has quit IRC11:00
SamYapleif ansible tries to mount a61e6cbf its gotta be a kernel caching thing11:00
inc0ansible tries b0a...11:00
SamYaplealways b0a11:01
SamYapleare you sure you reset11:01
inc0I'm rebooting now11:01
inc0maybe that's because its b0a, and ansible scripts are in python?11:02
inc0<< badum tss >>11:02
SamYaplei dont follow11:02
inc0boa is different kind of snake11:02
SamYapleim kidding im being mean11:02
inc0well, I did explain it for everyone who were ashamed to say they don't follow11:03
inc0something is very, very wrong11:05
inc0now boot can't start the disk11:05
SamYapledid oyu clean up /etc/fstab?11:05
inc0same uuid as ansible shown before11:05
SamYapleumount /var/lib/ceph/osd/*; rm -rf /var/lib/ceph/osd/* /etc/kolla/ceph-*; sed -ir '/ceph/d' /etc/fstab; parted /dev/sdb -s -- mklabel gpt11:06
SamYaplemake sure to always run that11:06
SamYaplei mean when you are tearing down an environment11:06
inc0yay read-only file system11:07
inc0it seems my machine is busted11:07
SamYaplei tolded you11:07
inc0any way to change that? recovery mode can't11:08
SamYaplemount it readwrite11:09
SamYaplelurn2linux man11:09
SamYaplemount -o remount,rw /11:09
inc0I'm just a dev11:11
SamYapleso you admit it. operators rule, devs drool11:12
inc0ops have egos big enough that it's often good to appeal to one11:13
SamYapleesspecially then you cant do the thing you need to ;)11:13
inc0exactly, its called effective manipulation11:14
SamYaplesure thing. thats why we are here. to do all the things you dont know how to11:14
inc0so we can focus on moving things forward;)11:15
SamYapleyea would hate to be dragged down with making it work11:15
*** Kennan2 has joined #kolla11:16
*** Kennan has quit IRC11:16
inc0damn, now my / is read-only11:17
inc0it's working tho after remount, but where to make it mount as rw by default?11:18
SamYaple/etc/fstab11:18
SamYaplecomeon man11:18
inc0yeah, I though / is not in fstab11:19
SamYapleit is11:19
SamYapledont worry11:19
inc0duh my fstab is busted11:20
inc0but I'll sort this out11:20
inc0also I know why my fstab got busted..11:23
SamYapleansible writes to /etc/fstab for persistent mounts you know11:23
inc0my lvm group has "ceph" in it so your clean scripts removed stuff11:23
SamYapleyea that would do it11:24
inc0still, same error as before11:24
inc0different uuid set up by ansible than correct one11:25
SamYapleyes but what is the uuid11:25
inc0hold on11:27
inc0I have no idea where it takes this id from11:29
SamYaplewhat ar ethe uuids11:29
inc0SamYaple, do parted -l on your machne plz11:30
SamYapleanswer my question first11:30
SamYapleim trying ot confirm something and youre making it difficult11:30
inc0 /dev/sdb1: UUID="8bdc5651-5367-4380-98c1-21585fdce5b7" TYPE="xfs" PARTLABEL="KOLLA_CEPH_DATA" PARTUUID="e25d30ff-871c-45ac-9888-6c407a659ee1" <- blkid by hand11:31
inc0failed: [localhost] => (item={u'device': u'/dev/sdb', u'fs_uuid': u'6d7ab8fa-5293-465b-a0cf-8f1a3650955b'}) => {"failed": true, "item": {"device": "/dev/sdb", "fs_uuid": "6d7ab8fa-5293-465b-a0cf-8f1a3650955b"}}11:31
inc0msg: Error mounting /var/lib/ceph/osd/6d7ab8fa-5293-465b-a0cf-8f1a3650955b: mount: can't find UUID=6d7ab8fa-5293-465b-a0cf-8f1a3650955b11:31
inc0this is output from ansible11:31
inc0there is no such id in  ls -l /dev/disk/by-uuid11:32
inc0well..small disclaimer11:32
SamYapleseems like the stale uuid stuff11:32
inc0this is ubu 15.0411:32
inc0hold on, I'll try to clean and rebuild and we'll see which uuid will pop up11:33
inc0in error: 0b79bdab-7a9d-4095-9772-8b7bdacaecd511:34
inc0I haven't seen this uuid anywhere before, so it doesn't seem to be cached11:34
*** dimsum__ has joined #kolla11:35
*** dimsum__ has quit IRC11:41
openstackgerritSam Yaple proposed openstack/kolla: DO NOT MERGE - Gate things  https://review.openstack.org/23188111:42
inc0I think I have it11:52
*** CBR09 has quit IRC11:52
SamYaplewhatd you find11:54
inc0'/dev/sdb: PTUUID="94c69718-9a84-4348-beef-83018c7d307d" PTTYPE="gpt"\n/dev/sdb1: UUID="cd7e020d-acd7-41f0-a532-aed06f31ff75" TYPE="xfs" PARTLABEL="KOLLA_CEPH_DATA" PARTUUID="be3d754b-556b-4bdc-a47e-e29ea51c8fb8"\n/dev/sdb2: PARTLABEL="KOLLA_CEPH_JOURNAL" PARTUUID="812a9fb3-9814-425e-848a-52c0afec68ee"\n'11:59
inc0this is output from blkid11:59
inc0so it has /dev/sdb with PTUUID11:59
SamYapleok yea thats simple11:59
SamYaplehold on ill fix it11:59
inc0I'll look into libs that does that stuff instead of scrapping outputs12:00
inc0just change blkid /dev/sdb* to /dev/sdb112:01
inc0you have part number in "line" var12:01
SamYaplethere are no libs for this12:03
SamYapleand i refuse to use pyparted as its awful12:03
SamYaplei believe i made a note about that12:03
inc0http://xzased.github.io/reparted/ this doesn't look that bad at first glance12:05
SamYaplewhat do you think we are doing here?12:06
inc0all we need is to find uuid12:06
SamYaplethat wont help yo uwith blkid12:06
*** akscram has quit IRC12:06
inc0anyway, I'll look into it later12:06
SamYapleplease do i hate screen scraping12:07
inc0let's get this working first12:07
SamYaplebut additional libraries are no good either12:07
inc0no argument there12:07
inc0still better than screen scraping12:07
inc0and with ansible container it's not terrible either12:07
inc0would need to run this inside ansible container th12:07
inc0o12:07
SamYapleyea but then you need to keep /dev:/dev bound into EVERY ansible container12:07
SamYapleits awful12:07
*** akscram has joined #kolla12:08
inc0maybe it's just changing commands to something more...scrapable12:08
inc0because parted -l is cool for reading12:08
SamYaple:)12:08
SamYaplegood luck12:09
SamYaplethis is the most distiled version i could come up with12:09
SamYapleoff and on working on it for 6 months12:09
SamYaplewihtout libraries its a mess12:09
SamYaplealso i want to point out i asked oyu to run `blkid /dev/sdb*` like right off the bat12:10
SamYapleand oyu didnt12:10
SamYaplethat would have identifed the issue immediately12:11
inc0I did...just after ansible fail12:11
SamYaplewould have show it still12:11
inc0it didnt show it it12:11
SamYapleit shows PTUUID12:11
inc0I know, there was no PTUUID when I was calling it12:12
inc0for some reason12:12
SamYapleyou know it doesnt relaly matter :) ill get it fixed right up12:12
SamYaplehehe youll love this one12:13
inc0scraping with grep in it? -.-12:13
SamYapleew no12:13
openstackgerritSam Yaple proposed openstack/kolla: Ignore the 'Disk Flags:' line in parted  https://review.openstack.org/23344112:14
SamYaplebetter!12:14
inc0....12:14
*** diogogmt has quit IRC12:16
inc0well that's a nope Sam;)12:16
inc0but that might be me12:18
*** diogogmt has joined #kolla12:18
SamYapleyea thats how its going to go unless it just doesnt work for some reason12:20
SamYaplei want a library more than anything, but there isn't one yet12:20
inc0it's not me, now bootstrap is busted12:20
inc0let me fix this one12:20
SamYaplei need more than that12:20
*** dimsum__ has joined #kolla12:24
openstackgerritSam Yaple proposed openstack/kolla: DO NOT MERGE - Gate things  https://review.openstack.org/23188112:31
inc0debugging ansible modules is pain.12:33
SamYapleyou could just give me logs and i could fix it12:39
SamYapleor ask how to properly do debugging12:39
SamYaplebad dev!12:39
larsksSamYaple: Why are you scraping output from parted instead of just taking JSON output from lsblk?12:41
SamYaplelarsks: o/12:42
larsks:)12:42
SamYaplelooking at the PARTITION_NAME12:42
*** diogogmt has quit IRC12:42
openstackgerritMichal Jastrzebski (inc0) proposed openstack/kolla: Ignore the 'Disk Flags:' line in parted  https://review.openstack.org/23344112:43
larsksHmmm, and nothing else gives you that?  That does seem annoying.12:43
inc0just do not, and I mean *DO NOT* -1 it because of lambda12:43
SamYaplewhy did you patch over my stuff inc012:44
inc0because it works this way12:44
SamYaplenot when im actively working on the patch...12:44
inc0it broke on OSD bootstrap12:44
inc0well, feel free to disregard my patch12:44
SamYapleyea larsks its a bit annoying. ive got a note in module. i want a better solution!12:45
SamYapleyou really like to make things complicated inc012:45
larsksSamYaple: My system has /dev/disk/by-partlabel, which seems to be exactly what you want.12:47
SamYaplelarsks: alas i cannot rely on that12:47
SamYaplenot all systems do12:48
larsksToo recent?12:48
SamYapleyea I believe so12:48
SamYaplethere are nasty hackish things in ceph to work around this issue as well12:48
larsksWhat's the minimal supported kernel for kolla?12:48
SamYaplehold on ill find some comments12:48
SamYaplelarsks: there is no minum12:48
SamYapleminimum*12:49
SamYaplewhatever12:49
SamYaplelarsks: https://github.com/ceph/ceph/blob/master/src/ceph-disk#L7212:50
SamYaplethat talks a bit about it12:50
SamYapleanyway 3.19 kernel ubuntu 14.04 no partlabel12:50
SamYapleits in 15.04 and the newest debian though12:50
SamYaplebut cant rely on it so cant use it :(12:50
inc0it's alive!12:51
larsksBummer,12:51
inc0my ceph is working at last!12:51
SamYaplew00t inc0 bout time12:52
inc0http://paste.openstack.org/show/475983/ SamYaple please confirm it's working12:53
SamYaplelarsks: im all ears for better solutions!12:53
inc0tell me this is how working ceph look like12:53
SamYapleinc0: yea that looks good enough12:53
SamYapleits not actually working working, but mostly12:53
inc0well, no replicas and such12:53
inc0but its aio12:53
inc0so SamYaple feel free to disregard this one-like-that-fixes-it-but-has-lambda-in-it-so-its-evil12:56
SamYapledude its really bad12:56
inc0man, let's face it, whole this module is not so good12:57
inc0and let's look at how to fix it12:58
inc0just...not now12:58
openstackgerritMerged openstack/kolla: Glance round robin for default file backend  https://review.openstack.org/23342912:58
inc0my hatred for parted -l had reached todays limit12:58
*** klint has quit IRC12:59
SamYapleindeedso since you never sent me any logs i dont know why you are saying this doesnt work for you without that horrible lambda filter12:59
SamYaplesince its doing the same thing12:59
SamYapleonly without extra steps12:59
inc0it didn't work without my lambda filter, because find_disk in bootstrap_osd task didn't return anything13:00
inc0because parted created PTUUID not UUID13:00
SamYapleyea its not going to return anything13:00
SamYapleyou should have let the playbooks play through13:00
SamYaplesince this is all tested13:00
inc0it failed for me13:01
SamYaplewith what logs was my question13:01
SamYapleand the lambda and filter is still overkill and bad13:01
inc0index error while bootstraping13:01
inc0lambda filter AND removal of whitespace13:01
inc0before UUID13:01
inc0so PTUUID and sich will also be splitted13:02
SamYapleit shouldnt be split13:02
SamYaplethats the problem13:02
SamYapleyour code isnt working like you think13:02
SamYapleit should be the partition not the disk13:02
inc0my code only shows partition which is named by partition_name13:02
SamYaplethats why i grabbed " UUID"13:02
SamYapleso does the priop patch13:02
SamYapleprior*13:03
SamYapleyour code is breaking on my system since it finds PARTUUID13:04
inc0sorry, its PARTUUID="85d07d55-82c3-450f-acd9-e5c15ee59125" after parted  /dev/sdb -s -- mklabel gpt mkpart KOLLA_CEPH_OSD_BOOTSTRAP 1 -113:04
SamYapleyea you DONT want that13:04
SamYapleugh now i have to make some change to it to repush it up13:05
SamYaplecan you tell me why the other code didnt work?13:05
SamYapledid you even try it?13:05
inc0ofc I did13:05
SamYapleso what was wrong with patchset 413:05
SamYaplebecause patchset 5 does _NOT_ do what its suppose to13:05
inc0index error on line 7413:06
inc0since nothing there had uuid13:06
inc0and I just deployed ceph again with my patchset13:06
SamYapleoh thats a simple fix13:06
SamYaplewithout all that lambda nonsense13:06
openstackgerritSam Yaple proposed openstack/kolla: Ignore the 'Disk Flags:' line in parted  https://review.openstack.org/23344113:06
SamYapleif that doesnt break my system ill let you know13:07
larsksSamYaple: udev appears to give you partition names, even in trusty.  There are udev bindings for Python, as well, so it's pretty simple.13:08
larsksE.g., pyudev.Device.from_name(ctx, 'block', 'dm-0')['ID_PART_ENTRY_NAME']13:09
SamYaplelarsks: that would work best13:09
SamYaplewhats the overhead for that library13:10
SamYapleoh its tiny13:10
SamYapleyay13:10
SamYapletime to find out if i can loop through all available devices13:10
SamYaplefantastic larsks thats much better13:11
inc0SamYaple, http://paste.openstack.org/show/475984/13:13
inc0on your patchset:P13:13
inc0but cool, let's pursue this udev thing13:14
SamYapleinc0: yea im working it up right now, but it is a dep13:14
SamYaplethat would mean the kolla_ansible container....13:14
SamYapleits a much better solution though13:14
SamYaplei really hate screen scraping13:15
inc0I'm going off for now13:15
inc0cya, thanks for help13:15
SamYaplehelp me out with the udev thing later inc013:15
SamYapleill need some reviews on it13:16
SamYapleproblably tommorow13:16
inc0sure13:16
inc0if you submit anything today I can do it first thing tomorrow13:16
SamYapleim going to bed13:17
SamYapleso probably not13:17
inc0go to bed13:17
inc0I'm going to spend rest of sunday far away from anything work-related13:17
inc0cya tomorrow then13:17
SamYaplecool13:17
SamYaplejust finished building the images for ceph13:18
SamYaplegonna test real quick13:18
SamYaplealright i see the problem with why your patch broke for me inc013:20
SamYapleand this latest patch won't work13:20
SamYaplethis one does....13:20
openstackgerritSam Yaple proposed openstack/kolla: Ignore the 'Disk Flags:' line in parted  https://review.openstack.org/23344113:20
inc0yeah it should13:21
SamYaplehorrible i know but this fixes it for you for the time being and doesnt break it for me13:21
SamYapleudev will fix it but then we have to bind /dev in for kolla_ansbile :(13:21
SamYapleoh wait13:21
SamYapleudev in containers == bad13:21
SamYapleugh ill think about it later13:21
SamYaplesee ya13:21
SamYaplethanks larsks13:21
inc0cya, it's working13:22
inc0thanks SamYaple13:23
*** inc0 has quit IRC13:25
openstackgerritSam Yaple proposed openstack/kolla: DO NOT MERGE - Gate things  https://review.openstack.org/23188113:26
*** jainman has joined #kolla13:36
jainmanBug 1500245] Re: Consistently Failing - Deploy OpenStack all in one node using Ansible - Want to update doc  for closure of issue13:37
openstackbug 1500245 in kolla "Consistently Failing - Deploy OpenStack all in one node using Ansible" [Undecided,Triaged] https://launchpad.net/bugs/150024513:37
jainmanShould I fork the master branch for changes - please advise13:38
*** dimsum__ has quit IRC13:44
*** dimsum__ has joined #kolla13:50
*** dimsum__ has quit IRC13:56
*** dimsum__ has joined #kolla13:56
larsksjainman: you would typically create a new branch for whatever changes you're making.  It doesn't really matter where you do your work locally because all changes get submitted through gerrit reviews.14:01
nihiliferjainman: please look at http://docs.openstack.org/infra/manual/developers.html14:04
nihiliferor watch https://www.youtube.com/watch?v=DX9NYMZgj8014:06
nihilifergenerally, we are making changes via gerrit on review.openstack.org14:06
nihilifergithub is only a mirror, so please don't make pull requests on github14:06
jainmanOk, Let me go through it,  at work I create a branch and checkin followed by pull request14:09
*** jmccarthy has quit IRC14:10
*** kysse has joined #kolla14:50
kyssehello guys. So what is your opinion? is kolla production ready and what's the status of high availability? (and what is meant to be ha)14:51
*** jmccarthy has joined #kolla14:53
*** dims_ has joined #kolla15:04
*** dimsum__ has quit IRC15:06
*** jmccarthy1 has joined #kolla15:08
*** jmccarthy has quit IRC15:08
*** dims_ has quit IRC15:40
*** jmccarthy1 has quit IRC16:10
*** dimsum__ has joined #kolla16:10
*** jmccarthy has joined #kolla16:10
*** dimsum__ has quit IRC16:37
*** jmccarthy has quit IRC17:11
*** dimsum__ has joined #kolla17:37
*** dimsum__ has quit IRC17:42
*** vinkman has joined #kolla17:57
*** jmccarthy has joined #kolla18:15
jmccarthySamYaple: You about ?18:17
*** dimsum__ has joined #kolla18:39
*** dimsum__ has quit IRC18:45
*** sdake has joined #kolla19:23
sdakemorning19:26
*** achanda has joined #kolla19:26
*** sdake_ has joined #kolla19:34
*** sdake has quit IRC19:37
*** dimsum__ has joined #kolla19:41
*** dimsum__ has quit IRC19:47
*** dimsum__ has joined #kolla20:04
*** jainman has quit IRC20:23
*** Slower has joined #kolla20:29
*** sdake has joined #kolla20:38
*** sdake_ has quit IRC20:39
*** achanda has quit IRC20:48
*** jmccarthy has quit IRC20:57
*** achanda has joined #kolla21:11
*** sdake has quit IRC21:15
*** sdake has joined #kolla21:26
*** achanda has quit IRC21:28
*** alisonh has joined #kolla21:34
*** achanda has joined #kolla22:28
*** achanda has quit IRC22:34
*** dimsum__ has quit IRC22:44
*** asalkeld has quit IRC22:46
*** achanda has joined #kolla22:53
*** asalkeld has joined #kolla23:06
*** dimsum__ has joined #kolla23:09
*** dimsum__ has quit IRC23:23
*** mbound has quit IRC23:34
*** achanda has quit IRC23:38

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