Tuesday, 2017-01-31

*** mtanino_ has joined #openstack-manila00:29
*** mtanino has quit IRC00:30
*** gouthamr has joined #openstack-manila00:48
*** faiz89 has joined #openstack-manila00:54
*** jcsp has quit IRC01:01
*** catintheroof has quit IRC01:02
*** jcsp has joined #openstack-manila01:13
*** faiz89 has quit IRC01:22
*** crushil has joined #openstack-manila01:36
*** catintheroof has joined #openstack-manila01:37
*** catintheroof has quit IRC01:37
*** catintheroof has joined #openstack-manila01:37
bswartzmarkstur: ping01:45
*** faiz89 has joined #openstack-manila01:45
bswartzgouthamr: ping01:46
gouthamrbswartz: pong01:46
bswartzsoooo01:46
bswartzregarding tabs vs spaces01:46
bswartzI tried to convert another one of my projects from tabs to spaces and I found a serious problem01:46
bswartzbash doesn't allow the use of indented here docs with spaces -- tabs are required01:47
bswartzI can't find a workaround for this that doesn't involve complete restructuring of some shell scripts01:48
gouthamroh.. which is why the bashate rule? https://google.github.io/styleguide/shell.xml?showone=Indentation#Indentation01:48
bswartzbashate requires spaces01:49
bswartzand bashate expects 4 column indents01:49
bswartzbut that precludes the use of indented here docs which basically make code unreadable01:49
*** faiz89 has quit IRC01:52
marksturbswartz: ping01:52
bswartzmarkstur: read above01:52
marksturs/ping/pong/  :)01:52
gouthamrbswartz: http://unix.stackexchange.com/questions/76481/cant-indent-heredoc-to-match-nestings-indent01:53
gouthamrgah01:53
bswartzgouthamr: exactly my problem01:53
gouthamrsays you can't use spaces. missed that :P01:53
bswartzgouthamr, markstur: Makefiles are another file format I know of that seems to require tabs instead of spaces01:55
gouthamrhmmm.. i see there are a few interesting hacks around this... but probably for readability, printf is way better01:57
bswartzgouthamr: doubt it would work for what I need01:59
markstursome interesting options here http://stackoverflow.com/questions/33815600/indenting-heredocs-with-spaces02:00
gouthamrbswartz: did it break in manila-test-image?02:00
bswartzgouthamr: no that project doesn't use here docs02:00
bswartzmy dev envirment project uses here docs extensively02:00
marksturMost of the hacks, although creative and perhaps even pretty, could be a source of future problems because they are sneaky02:00
marksturthe print one is pretty safe02:01
bswartzthere are cases where you want leading spaces in your here doc and you're forced to mix tabs and spaces on the same line02:01
marksturchangine heredocs to theredocs (in a file) works for big ones, printf works for small ones02:01
bswartzyeah I considered that but then I'd have to split 2 larges files into about 40 small files02:02
marksturIn the link above the one with the leading ": " looks neat, but is kind of sneaky02:02
marksturI would be inclined to just push heredocs to special functions and then not care so much about the indent02:03
marksturbut I'm not really sure what the code would look like .  I can't picture all the heredocs02:03
bswartzwhen you do that it becomes difficult to detect (visually) where your functions begin and end02:03
marksturif the function's only purpose is to return the heredoc then it should be easy enough.  no?02:04
marksturbut then also the doc isn't "here" anymore which might have been nice02:04
bswartzmarkstur: I write code with this pattern all the time: https://paste.fedoraproject.org/541340/58282991/02:05
bswartzI'm basically embedding a ton of shell commands in a local script which will be run on a remote machine02:06
bswartzI invoke "ssh bash" and pass it a here doc02:06
marksturI've just always figured heredocs meant no indent.  In some ways they are hard to read, but the nice thing is you get a wider here doc.  So you can read it.02:06
marksturI don't mind if tabs are needed to do that code your way.02:07
marksturIt's just unfortunate if it affects the ability to keep tabs out of other places02:07
bswartzagreed02:07
bswartzmaybe the almighty bash gods will take pity on us and invent a way to indent here docs with spaces02:08
marksturcat << '    EOF' | sed -e 's/^    //';02:09
marksturI think the sed is a little sneaky, but you can have your indent if  you are willing to strip it like that02:10
bswartzmarkstur: I'd have to remember to use that in every here doc02:10
bswartzand as I said my code has dozens of them02:10
marksturand I don't think putting them in would be that bad.  It's what happens when someone breaks one and has to learn the hack for the first time that bothers me more02:11
marksturIt isn't terrible to read/learn, but it would be unfortunate02:11
marksturI guess I'll admit, I'd be reluctant to put that in dozens of places.02:12
bswartzit would create a maintenance issue02:12
bswartzif there was a way to write that hack one time and use it everywhere I'd be inclined to do it02:13
marksturgotta run02:14
bswartz.o/02:15
*** mtanino has joined #openstack-manila02:17
*** mtanino_ has quit IRC02:19
openstackgerritGoutham Pacha Ravi proposed openstack/manila: Add access-rules tests to improve the coverage  https://review.openstack.org/39038002:20
*** absubram has quit IRC02:27
*** mtanino has quit IRC02:34
*** kaisers_ has joined #openstack-manila02:55
*** kaisers has quit IRC02:58
bswartztbarron: you still up by any chance?03:03
bswartztbarron: http://paste.openstack.org/show/596962/03:07
*** catintheroof has quit IRC03:09
*** catintheroof has joined #openstack-manila03:11
*** catintheroof has quit IRC03:15
*** mtanino has joined #openstack-manila03:35
*** a-pugachev has quit IRC03:58
*** gouthamr has quit IRC04:07
*** mtanino has quit IRC04:19
*** nkrinner_afk is now known as nkrinner05:31
*** crushil has quit IRC06:28
*** lpetrut has joined #openstack-manila06:38
*** dsariel has joined #openstack-manila06:44
*** rraja has joined #openstack-manila07:13
*** lpetrut has quit IRC07:20
*** lpetrut has joined #openstack-manila07:30
*** jprovazn has joined #openstack-manila07:41
*** gaurangt has joined #openstack-manila08:53
*** lpetrut has quit IRC08:57
*** gcb has joined #openstack-manila09:52
*** a-pugachev has joined #openstack-manila09:55
*** dsariel has quit IRC10:04
*** lpetrut has joined #openstack-manila10:04
*** alyson_ has joined #openstack-manila10:09
*** ganso has joined #openstack-manila10:12
openstackgerritRodrigo Barbieri proposed openstack/manila: Fix error'ed access rules being sent to driver  https://review.openstack.org/42689610:28
openstackgerritMerged openstack/manila-ui: Imported Translations from Zanata  https://review.openstack.org/42665510:41
openstackgerritAlyson proposed openstack/manila: HNAS: avoid mismatch access level for managed shares  https://review.openstack.org/42709610:55
openstackgerritAlyson proposed openstack/manila: HNAS: avoid mismatch access level for managed shares  https://review.openstack.org/42709610:57
openstackgerritRodrigo Barbieri proposed openstack/manila: Decrease share migration periodic task interval  https://review.openstack.org/42709910:58
*** dmellado has quit IRC11:00
openstackgerritRodrigo Barbieri proposed openstack/manila: Enable host-assisted migration in ZFSOnLinux CI  https://review.openstack.org/42710111:02
*** dmellado has joined #openstack-manila11:03
*** rraja has quit IRC11:06
*** yumiriam has joined #openstack-manila11:16
openstackgerritMerged openstack/manila: Add access-rules tests to improve the coverage  https://review.openstack.org/39038011:17
openstackgerritValeriy Ponomaryov proposed openstack/manila: Fix setup of DHSS=False mode for generic driver  https://review.openstack.org/42673711:25
openstackgerritValeriy Ponomaryov proposed openstack/manila: Fix setup of DHSS=False mode for generic driver  https://review.openstack.org/42673711:27
*** dsariel has joined #openstack-manila11:28
openstackgerritAlyson proposed openstack/manila: HNAS: Fix concurrency error when managing snapshots  https://review.openstack.org/42680611:46
openstackgerritAlyson proposed openstack/manila: HNAS: avoid mismatch access level for managed shares  https://review.openstack.org/42709612:16
*** catintheroof has joined #openstack-manila12:22
openstackgerritAlyson proposed openstack/manila: HNAS: avoid mismatch access level for managed shares  https://review.openstack.org/42709612:31
openstackgerritEmilien Macchi proposed openstack/puppet-manila: DNM - test puppet module build  https://review.openstack.org/42716712:49
tbarronbswartz: stacking with the localrc you pasted now12:51
tbarronbswartz: after I get out of meetings this morning I'll see how it works out, thanks!12:52
* tbarron was going in circles trying to get slaac working on his compute instance yesterday12:52
vponomaryovtbarron: veeeery early bird12:53
tbarronvponomaryov: today, not always12:56
*** rraja has joined #openstack-manila13:00
openstackgerritValeriy Ponomaryov proposed openstack/manila: Fix setup of DHSS=False mode for generic driver  https://review.openstack.org/42673713:11
*** timcl has quit IRC13:11
*** timcl has joined #openstack-manila13:11
gansobswartz: ping13:12
*** dustins|out is now known as dustins13:24
openstackgerritValeriy Ponomaryov proposed openstack/manila: Fix setup of DHSS=False mode for generic driver  https://review.openstack.org/42673713:27
*** dustins has quit IRC13:29
*** dustins has joined #openstack-manila13:29
openstackgerritValeriy Ponomaryov proposed openstack/manila: Fix setup of DHSS=False mode for generic driver  https://review.openstack.org/42673713:29
openstackgerritValeriy Ponomaryov proposed openstack/manila: Fix setup of DHSS=False mode for generic driver  https://review.openstack.org/42673713:30
openstackgerritValeriy Ponomaryov proposed openstack/manila: Fix setup of DHSS=False mode for generic driver  https://review.openstack.org/42673713:32
*** catinthe_ has joined #openstack-manila13:36
*** catintheroof has quit IRC13:40
*** xinyanzhang has quit IRC13:47
*** gouthamr has joined #openstack-manila13:56
*** dsariel has quit IRC14:04
tbarronworking with devstack locally I hit https://bugs.launchpad.net/python-openstackclient/+bug/1659878 b/c global requirements for openstackclient is still 3.8.014:11
openstackLaunchpad bug 1659878 in python-openstackclient "Network creation ignores --project option" [High,Fix released] - Assigned to Dean Troyer (dtroyer)14:11
tbarronso demo owned network isn't really owned by demo, it's owned by admin ^^^14:12
tbarronvponomaryov: bswartz does this impact us in CI ^^14:12
tbarroncompute instances created by demo can't attach their nic to the "private" network14:13
tbarronI can work around of course by using LIBS_FROM_GIT14:13
*** dsariel has joined #openstack-manila14:19
*** gcb has quit IRC14:24
gansogouthamr: ping14:25
*** xinyanzhang has joined #openstack-manila14:32
tbarronbswartz: restacking with your localrc plus that workaround ^^14:32
*** breitz has quit IRC14:35
*** yumiriam1 has joined #openstack-manila14:38
*** dsariel has quit IRC14:41
*** yumiriam has quit IRC14:41
*** yumiriam1 has quit IRC14:41
*** jprovazn has quit IRC14:42
*** yumiriam has joined #openstack-manila14:42
*** mtanino has joined #openstack-manila14:45
*** vkmc has quit IRC14:47
gouthamrganso: pong14:48
*** vkmc has joined #openstack-manila14:52
*** Yogi1 has joined #openstack-manila14:53
*** dsariel has joined #openstack-manila14:54
*** eharney has joined #openstack-manila14:57
bswartzganso: sorry for late pong, I was in a meeting14:57
*** porrua has joined #openstack-manila14:58
vponomaryovtbarron: I haven't seen problem related to that issue14:58
*** crushil has joined #openstack-manila14:58
vponomaryovtbarron: in our CI14:58
bswartztbarron: I noticed that behavior in my dev environment and I assumed things were working as designed but if it's a bug that's good news14:58
*** gaurangt has left #openstack-manila14:58
bswartztbarron: I create my own networks and use those and everything works fine14:59
bswartztbarron: I didn't give you my complete writeup, I wanted to talk to you yesterday about that local.conf14:59
bswartztbarron: if it works for you I'll proceed with the rest of the writeup15:00
vponomaryovbswartz: here is how Nova API suffers when I tried to workaround its new behaviour -> http://logs.openstack.org/37/426737/11/check/gate-manila-tempest-dsvm-generic-no-share-servers-ubuntu-xenial-nv/cc1915b/logs/screen-n-api.txt.gz?level=ERROR15:00
*** dustins_ has joined #openstack-manila15:01
vponomaryovbswartz: so, I was able using client calls to make Nova hit DB exceptions ))15:01
bswartzvponomaryov: using which workaround? the old one that we know is broken?15:01
vponomaryovhttps://review.openstack.org/#/c/426737/15:01
bswartzI just hope the new workaround actually works15:01
vponomaryovso, I have one more way, that will try next15:02
vponomaryovthis one already worked eirlier today15:02
vponomaryovjust was not brushed enough15:02
bswartzok15:02
*** dustins has quit IRC15:04
*** dustins_ is now known as dustins15:06
*** nkrinner is now known as nkrinner_afk15:07
openstackgerritValeriy Ponomaryov proposed openstack/manila: Fix setup of DHSS=False mode for generic driver  https://review.openstack.org/42673715:09
*** kaisers_ has quit IRC15:11
*** kaisers has joined #openstack-manila15:12
*** cdelatte has joined #openstack-manila15:14
*** rraja has quit IRC15:16
*** kaisers has quit IRC15:17
*** kaisers has joined #openstack-manila15:22
*** kaisers has quit IRC15:26
*** a-pugachev has quit IRC15:29
*** xyang_ has joined #openstack-manila15:29
*** breitz has joined #openstack-manila15:33
openstackgerritArne Wiebalck proposed openstack/manila-ui: Replace 'Extend Share' by 'Resize Share'  https://review.openstack.org/41138415:35
*** kaisers has joined #openstack-manila15:35
*** jprovazn has joined #openstack-manila15:38
*** mtanino_ has joined #openstack-manila15:39
*** mtanino has quit IRC15:40
*** catinthe_ has quit IRC15:45
*** a-pugachev has joined #openstack-manila15:46
*** kaisers has quit IRC15:48
*** xyang_ has quit IRC15:57
bswartztbarron: https://wiki.openstack.org/wiki/Manila/IPv615:57
tbarronbswartz: thanks! I'll work through it this afternoon when I get out of meetings.15:58
*** absubram has joined #openstack-manila16:02
*** crushil has quit IRC16:03
*** crushil has joined #openstack-manila16:04
*** absubram_ has joined #openstack-manila16:07
*** absubram has quit IRC16:07
*** absubram_ is now known as absubram16:07
gansobswartz: Hi, sorry for the delay, was driving16:09
gansobswartz: are you around?16:09
bswartzganso: yes for a few moments16:13
gansobswartz: ok, couple of questions16:13
gansobswartz: 1) what do you think about the tenant being about to see the destination instance export location during a migration, while still not able to do anything with it?16:14
bswartzwhat do you mean not being able to do anything with it?16:15
bswartzthey'll be able to attempt to mount it16:16
gansobswartz: not they will not, because they cannot add rules to mount the destination, we've agreed to this in the past16:16
bswartzit might fail, or not fail, but that would be backend dependant16:16
bswartzoh I see16:16
bswartzwithout access rules the mount would always fail16:16
gansobswartz: so do you think it should be hidden?16:17
bswartzI don't feel strongly either way16:17
gansobswartz: I was testing this morning, and for a moment I did not know which export location to choose... because there were 2, and one was the destination16:18
gansobswartz: so I had to change to admin tenant to use "share-instance-list" and figure out which one was the source so I could mount the correct one16:18
bswartzwere both visible through manila show?16:19
bswartzbecause in that case we should hide the useless one16:19
gansobswartz: yes16:19
*** porrua has quit IRC16:19
bswartzand I do feel strongly about that16:19
gansobswartz: ok great16:20
gansobswartz: I will log the bug and work on it16:20
openstackgerritAlyson proposed openstack/manila: HNAS: avoid mismatch access level for managed shares  https://review.openstack.org/42709616:21
*** dsariel has quit IRC16:25
bswartzganso: you had implied there was more than 1 question16:33
gansobswartz: oh yes. the other one was this https://bugs.launchpad.net/manila/+bug/166068616:33
openstackLaunchpad bug 1660686 in Manila "Snapshot export locations always shown even when not supported" [Undecided,New]16:33
bswartzdoh16:33
gansobswartz: I strongly feel this is a bug16:34
bswartzthat seems easy to fix in the API service16:34
bswartz+116:34
gansobswartz: in fact, I am fixing that in drivers and manager16:34
gansobswartz: not in API16:34
bswartzwhy?16:34
gansobswartz: because resources are not being handled properly16:34
gouthamryou need the key in the API16:34
gouthamrit can be empty16:34
gansono no16:34
gansoimagine you have the LVM driver, and 2 shares16:34
bswartzit's just an attribute of the snapshot right?16:35
gansoone created with share type with mount_snapshot_support=True, and the other False16:35
bswartzwhat am I missing?16:35
gansothen you create a snapshot in each one of them16:35
gansothe LVM driver is creating snapshot exports for both of them16:35
bswartzthat's fine16:35
gansoboth can create snapshots, because snapshot_support=True16:35
gouthamroh, isn't that an LVM driver bug?16:36
gansowhy is it fine? but one is also creating exports when it is not needed16:36
bswartzas long as the API service doesn't show the export location of the one with mount_snapshot_support=False16:36
bswartzwhether it is literally exported or not is up to the driver16:36
gansoLVM, HNAS, and also share manager that should not be reading export locations from snapshot model updates if mount_snapshot_support=False16:36
bswartzfrom manila's perspective the export_location is merely a string we store and show to users16:36
gansoyes but for drivers they are resources, so we have driver bug and share manager bug here16:37
gansono need to fix API if we fix share manager16:37
bswartzyou mean the manager should not store it in the DB16:37
bswartzeven if the driver returns the string16:37
*** xyang_ has joined #openstack-manila16:37
gansobswartz: exactly16:37
bswartzhmmm16:38
*** dsariel has joined #openstack-manila16:38
gansobswartz: IMO the manager should do the right thing, not be a wild card16:38
bswartzthat seems okay, but I don't see why we wouldn't also fix it in the API service16:38
gansobswartz: in this case the API will not need fixing, it will not show export locations when they don't exist16:39
bswartzI suppose it's a 1-liner fix in either location16:39
gansobswartz: it is not16:39
gansobswartz: also due to the fact that currently drivers cannot determine if mount_snapshot_support is True or False16:40
gansobswartz: so I am passing this down to drivers so they can determine whether they should create the resource16:40
bswartzit's not just an attribute of the share model?16:40
gansobswartz: it is, but the share model is not passed16:40
gouthamrganso: if snapshot.share.mount_snapshot_support ?16:40
bswartzdoh16:40
bswartzit's not passed down to where?16:41
gansogouthamr: no, that's the share_instance, not the share model, I've tried that16:41
gouthamrganso: set as property in the share model...16:41
gansobswartz: the share model is not passed down to drivers in create_snapshot16:41
bswartzit should be16:41
gansogouthamr: I am adjusting where we create a snapshot_instance_dict, and inserting the value there16:41
bswartzrather the share instance model should be, and it should have all these attributes16:42
bswartzmaybe that's the bug16:42
gansobswartz: the share_instance does not have it16:42
bswartzshare instance models should have all the extra_specs attributes that he share has16:42
gansobswartz: and if I am not mistaken, this cannot be proxified16:42
gouthamrganso: that's the use of self.instance in the share -> only when a share is going through migration will it ever have two instances that have different share types16:43
bswartzI don't see why not16:43
gouthamrganso: that could have*16:43
gansogouthamr: I am not sure I am following, how having 2 instances relate to this?16:44
gansos/relate/relates16:44
gansobswartz: I'll try proxifying, but last time I tried this it idd not work16:44
gouthamrganso: ah.. ignore what i said, these capabilities are share properties..16:46
gansogouthamr: yes16:46
gouthamrganso: i was butting into the convo to just tell you you should always sent export_locations, i.e, the key, no matter whether you populate them or not.16:47
gansogouthamr: in the API?16:47
gouthamrganso: in the API, beyond the microversion that it was added in16:47
gansogouthamr: yes, I intended to do that16:47
gansogouthamr: just not allow the share manager to populate it when not supposed to16:47
gouthamrganso: +1 that way we don't need that one line fix in the view builder..16:48
*** kaisers has joined #openstack-manila16:56
*** absubram has quit IRC16:59
openstackgerritAlyson proposed openstack/manila: HNAS: avoid mismatch access level for managed shares  https://review.openstack.org/42709617:07
vponomaryovganso: investigating this -> https://bugs.launchpad.net/manila/+bug/1660321 I found out that it has bigger problems ))17:10
openstackLaunchpad bug 1660321 in Manila "share-group-snapshot-create is not passing share as part of snapshot" [High,In progress] - Assigned to Valeriy Ponomaryov (vponomaryov)17:10
vponomaryovconsistency group snapshot members didn't have "provider_location"s17:11
gansovponomaryov: humm which problems? initially it seems simple like just passing the ['share']17:11
gansovponomaryov: whoa!17:11
vponomaryovbut common snapshot instance does17:11
gansovponomaryov: that is one big problem17:11
gansovponomaryov: the most important field for snapshots, specially managed snapshots17:11
vponomaryovI am not saying about export locations for snapshot members ))17:11
gansovponomaryov: is absent17:11
gansovponomaryov: yea, that too I suppose17:11
vponomaryovso, fix for this ^ would be not so small ))17:12
gansovponomaryov: glad it is experimental17:12
vponomaryovmodel update, +1 DB migration, share manager and bse driver classes updates )17:12
gansovponomaryov: holy cow17:12
*** xyang_ has quit IRC17:12
vponomaryov+ tests ))17:13
vponomaryovAPI bump17:13
gansovponomaryov: unit tests and functional tests I suppose17:13
*** porrua has joined #openstack-manila17:13
gansovponomaryov: python-manilaclient update as well, right?17:13
vponomaryovyes ))17:13
vponomaryov^_^17:13
gansovponomaryov: almost a new feature17:13
bswartzno new features!17:14
vponomaryovbswartz: bugfix ))17:14
vponomaryovjust complicated a bit )17:14
gansovponomaryov: guess 8K lines of code weren't enough for share groups17:15
vponomaryovganso: actually, it should have been separate fix -> fix for CGs17:15
vponomaryovganso: they didn't understand provider locations17:15
vponomaryovso, it is bug of original implementation of "provider_location" feature17:16
*** xyang_ has joined #openstack-manila17:16
vponomaryovthat didn't update CGs17:16
gansovponomaryov: nobody liked CGs back then17:16
*** kaisers has quit IRC17:17
gansovponomaryov: and share groups is the new kid on the block17:17
gansobswartz: it was a feature missing a leg17:18
vponomaryovganso: no, it is house of cards with lack of cards in it, and this one is the top one )17:19
gansovponomaryov: house of cards without kevin spacey17:20
bswartznot sure vponomaryov gets that reference17:20
bswartzvponomaryov do you watch american TV?17:20
vponomaryovbswartz: yes, I am aware about that TV series17:21
vponomaryovbswartz: but haven't watched it17:21
vponomaryovbswartz: we are watching various TV series in english as homework for english classes ))17:22
gansovponomaryov: I suppose "Friends" is among those?17:23
vponomaryovganso: damn right!17:23
bswartzfriends is terrible!17:24
bswartzomg there's so much better TV out there17:24
vponomaryovbswartz: millions of fans disagree with you )17:25
vponomaryovbswartz: army! of fans17:25
gansovponomaryov: +117:28
*** crushil has quit IRC17:31
*** dustins_ has joined #openstack-manila17:40
*** dustins has quit IRC17:43
tbarronbswartz: looking at https://wiki.openstack.org/wiki/Manila/IPv6 - is generating the test image and its config drive obvious if I check out current manila-test-image repo?17:44
bswartztbarron: one would hope yes17:44
bswartztbarron: if it would save time I'll just send you a qcow2 file17:45
*** dsariel has quit IRC17:45
tbarronbswartz: nah, I'll build it and bug you if I hit an issue17:45
bswartztbarron: the image is only 6.5 MB but building it requires downloading 315MB of stuff17:46
tbarronwell, point me to the qcow2 and I'll also build it17:46
bswartznot to mention the OS packages you have to install17:46
openstackgerritRodrigo Barbieri proposed openstack/manila: Fix snapshot export locations incorrectly handled  https://review.openstack.org/42733217:48
*** gouthamr has quit IRC17:51
*** absubram has joined #openstack-manila17:52
bswartzmarkstur: https://review.openstack.org/#/c/426775/17:53
*** catintheroof has joined #openstack-manila17:55
*** a-pugachev has quit IRC17:56
marksturIf we can't outlaw tabs, then maybe we could outlaw copy-paste.  Just think of all the copy-paste errors that would be avoided and all the jobs created17:57
*** crushil has joined #openstack-manila18:00
*** lpetrut has quit IRC18:02
*** timcl has quit IRC18:03
bswartzmarkstur: that would kill 99% of programmers, not to mention stack overflow18:04
bswartzmarkstur: oh sorry I see what you're responding too18:05
bswartzmarkstur: I wanted you to look at the experimental job18:05
bswartzmarkstur: you wanted to see more testing and that job is step 1 for real tests18:05
marksturok. when I can't copy/paste it is true that everything is super painful -- it was a copy/paste error that was mentioned18:06
marksturbswartz: I see. Success with the experimental build.  Nice.18:06
*** timcl has joined #openstack-manila18:06
* markstur quickly reads the 30M logged console18:07
bswartz>_<18:07
bswartzyeah I want to break up that logfile a bit18:07
*** gouthamr has joined #openstack-manila18:07
marksturdon't tell me how it ends.  still scrolling.  no spoilers!18:08
bswartzit ends with a poem18:08
markstur:)18:08
bswartzoh wait that's minecraft...18:08
marksturIf you could just summarize that logflie in a haiku that would be a big time and space saver18:09
bswartzAnother error.18:11
bswartzHours of coding go by.18:11
bswartzCompile and repeat.18:11
bswartz(credit Emma M.)18:12
bswartzSkynet comes to life18:13
bswartzRobots overthrow humans18:13
bswartzForgot the kill switch18:13
marksturs/error/success/ s/go by/go rewarded/ s/repeat/merge/ and you have your success haiku18:13
bswartz(credit Penelope B.)18:13
*** lseki has joined #openstack-manila18:14
marksturI'll be there for you... Yes, I'll be there for you, cuz You're there for me too...18:18
markstur^ is that a haiku?18:19
marksturcredit: internet re: haiku about friends tv show18:19
bswartzmy favorite:18:22
bswartzNo keyboard present18:22
bswartzHit F1 to continue18:22
bswartzZen engineering?18:22
marksturI like that one, but am bothered by the mixing of Zen and frustration18:23
bswartzit's like the sound of 1 hand clapping18:23
marksturSpeaking of Zen I got a question about why our GPFS CI is failing18:25
markstur"openstack server add floating ip manila_service_share_server_london 172.24.5.4"18:25
marksturwith error : Instance network is not ready yet (HTTP 400)18:25
bswartzmarkstur: same issue vponomaryov is struggling with18:26
marksturYeah.  Still stuggling?18:26
marksturI assumed he solved it18:26
vponomaryovmarkstur: no, see https://review.openstack.org/#/c/426737/18:26
marksturRight on.  "I'll be there for you" can be vponomaryov's theme song18:27
vponomaryovmarkstur: if you see this error, then something wrong with Nova config - 99%18:27
vponomaryovof probability18:27
vponomaryovconfig and/or setup18:28
vponomaryovmarkstur: just do the same trick in your case18:28
vponomaryovmarkstur: create any VMs and floating IPs in "test-config" section of devstack18:29
vponomaryovmarkstur: it means "run manila-share" service in this section too ))18:29
bswartzYesterday it worked18:30
bswartzToday it is not working18:30
bswartzDevstack is like that18:30
bswartz^ markstur18:30
vponomaryovmarkstur: it can be fixed in devstack, but I haven't planned to create fix there18:31
vponomaryovmarkstur: fix should be "move default nova cell creation to earlier step than it is now"18:32
marksturshould your GenericShareDriver fixes in plugin.sh just apply to all drivers?  to re-order for all?18:33
marksturvponomaryov: ^  just looking at that now18:33
vponomaryovmarkstur: no18:33
vponomaryovmarkstur: it should be done only for those backends which create Nova VMs and/or floating IPs in devstack18:34
vponomaryovmarkstur: otherwise it will be unexpected change of logic for lots of other backends18:35
vponomaryovmarkstur: that just do not care about this issue18:35
*** lpetrut has joined #openstack-manila18:35
marksturNot sure why GPFS would care to throw "openstack server add floating ip manila_service_share_server_london 172.24.5.4"18:36
marksturThey already fixed the thing a while back to change where the config injection happened. Maybe that is broken again.18:36
vponomaryovmarkstur: can you run your CI on top of this fix?18:37
vponomaryovmarkstur: maybe in your case it is enough?18:37
marksturI was assuming it would run.  But part of your fix is only for Generic18:38
marksturand I don't see any results.  Wonder if they turned it off.18:38
*** xyang_ has quit IRC18:39
*** xyang_ has joined #openstack-manila18:41
*** xyang_ has quit IRC18:42
*** xyang_ has joined #openstack-manila18:44
*** xyang_ has quit IRC18:45
*** xyang_ has joined #openstack-manila18:46
*** xyang_ has quit IRC18:47
tbarronbswartz: i pretty much followed your wiki - that is19:06
tbarronbswartz: I used the local.conf you put in the pastebin, which is almost the same19:07
tbarronbswartz: didn't create backing files explicitly or set up hypervisor frontend/backend as you do it19:07
tbarronbswartz: just because i already have my hypervisor set up and integrated into my home/wan ipv6 network19:08
tbarronbut I used the testing section literally19:08
tbarronbswartz: and it works19:08
bswartztbarron: cool that backing file stuff is only for lvm19:09
bswartzI wrote that code forever ago -- perhaps it's unneeded these days19:09
tbarronbswartz: yeah, and I was just letting lvm plugin do that for me19:10
bswartztbarron: does the lvm plugin cope well with multibackend?19:10
tbarronbswartz: not lvm plugin i guess, manila plugin with devstack localrcc19:10
tbarronbswartz: i'm going to try to mix your settings with the CI localrc a bit19:11
bswartzyeah we're talking about the LVM code in the manila devstack plugin19:11
tbarronbswartz: right19:11
openstackgerritRodrigo Barbieri proposed openstack/manila: Fix multiple export locations during migration  https://review.openstack.org/42736019:11
tbarronso it makes backing files, etc I guess19:11
bswartzas long as it makes 2 of them19:11
bswartzand as long as they're large enough19:11
bswartzI ran into some issue where it used the same one twice or something19:11
tbarronbswartz: well, big enough for CI with two lvm backends ...19:12
tbarronbswartz: not saying it's big enough or not, just describing what I did19:12
bswartzanyways I'm glad it worked19:13
tbarronbswartz: my thought is to see (1) if I can adapt it a bit to use the devstack/CI "public" and "private" networks19:13
bswartztbarron: I suspect you need neutron to fix that bug first19:13
bswartzI created my own networks largely to work around that bug19:13
tbarronbswartz: (2) out of curiosity, is there a way I can do tenant created network that uses GUAs from my allocation19:13
tbarronbswartz: which bug?19:14
bswartztbarron absolutely19:14
bswartztbarron the on you mentioned a few hours ago ^^^19:14
* bswartz travels back in time19:14
*** xinyanzhang has quit IRC19:14
tbarronbswartz: oh, that's not neutron, that's openstackclient19:14
*** xinyanzhang has joined #openstack-manila19:15
tbarronbswartz: fixable just by using the git tree for openstackclient, it has been fixed in master but not yet in requirements, etc.19:15
bswartz(09:11:38 AM) tbarron: working with devstack locally I hit https://bugs.launchpad.net/python-openstackclient/+bug/1659878 b/c global requirements for openstackclient is still 3.8.019:15
openstackLaunchpad bug 1659878 in python-openstackclient "Network creation ignores --project option" [High,Fix released] - Assigned to Dean Troyer (dtroyer)19:15
tbarronbswartz: presumably just a bit of latency19:15
bswartzah okay19:15
tbarronbswartz: yeah, I wonder if I should push on gua for devstack ...19:15
bswartztbarron: you can probably just do a LIBS_FROM_GIT trick there19:16
tbarronbswartz: yeah, that's what I'm doing19:16
bswartzwhat's the name of the lib I need to add?19:17
openstackgerritRodrigo Barbieri proposed openstack/manila: Fix error'ed access rules being sent to driver  https://review.openstack.org/42689619:17
*** kaisers has joined #openstack-manila19:17
tbarronbswartz: python-openstackclient19:17
bswartztbarron: ty I'll test with that19:18
bswartzpresumably it will make the private network usable and I can trash demo-net19:19
bswartztbarron in any case you want to set IPV6_ADDRS_SAFE_TO_USE to be a range in your allocated space19:19
bswartzassuming you have a /56, give openstack a /60 within that space19:20
bswartzthat will give you up to 16 subnets which should be plenty for testing19:20
tbarronbswartz: ack19:20
bswartztbarron: the routing outside of devstack is your problem to solve -- as you saw in my wiki I just hardcoded a route for fd10::/1519:21
*** kaisers has quit IRC19:21
tbarronbswartz: I've done that myself for now19:22
bswartzand for those that don't know, the fc00::/7 is for private addresses you can do whatever you want with19:22
bswartzyou just have to remember to set your firewall to drop those packets at the border of your network to avoid truly evil things occuring19:23
tbarronthe tenant owned subnet that devstack sets up by default, named "private", looks like your demo-v6-subnet except19:23
bswartztbarron: yes they both come from the same subnetpool19:24
tbarronipv6_address_mode and ipv6_ra_mode are both "None"19:24
bswartztbarron: add these 2 lines to local.conf:19:24
bswartzIPV6_RA_MODE=dhcpv6-stateful19:24
bswartzIPV6_ADDRESS_MODE=dhcpv6-stateful19:24
* bswartz goes to update wiki19:25
tbarronyeah, I thought I had those cause I copied your local.conf, but will have to double check19:25
bswartzoh wait those are in my local.conf19:25
* bswartz scratches head19:25
tbarronright, so I have to debug why those aren't getting set on the devstack created subnet19:26
tbarronI'm also a bit puzzled why slaac isn't working within the tenant owned net if we leave all the dhcp stuff out19:26
tbarrondhcp619:26
bswartztbarron: devstack is riddled with ipv6 bugs19:27
bswartztbarron: there are 4 choices: none, slaac, dhcp-stateless, and dhcp-stateful19:27
bswartznone != slaac19:27
tbarronbswartz: when I put a CentOS image on that network and run tcpdump I see RAs19:27
tbarronbut the CentOS vm doesn't do the neighbor negotiation properly (though same image does fine outside openstack)19:28
bswartztbarron is the A bit set to 0 or 1 in those router advertisements?19:29
tbarronbswartz: but for current purposes I'm happy to go with dhcp6, we're manila rather than neutron developers19:29
bswartzrouter advertisements can set the A bit to 0 which means disable slaac19:29
tbarronbswartz: I'll have to redo the experiment and check.  I should have saved logs but everything was inside devstack VM and it was just a cow19:30
openstackgerritRodrigo Barbieri proposed openstack/manila: Fix snapshot export locations incorrectly handled  https://review.openstack.org/42733219:31
tbarronbswartz: anyways, I like your test image, will play with it a bit in my spare time.19:31
bswartztbarron I'm pretty sure teh difference between none and slaac in neutron is probably the value of that A bit in the router advertisements for that subnet19:31
*** pcaruana has quit IRC19:31
tbarronbswartz: sounds reasonable19:31
*** crushil has quit IRC19:32
*** xyang_ has joined #openstack-manila19:35
*** xyang_ has quit IRC19:36
*** ociuhandu has joined #openstack-manila19:36
*** xyang_ has joined #openstack-manila19:47
*** xyang_ has quit IRC19:52
*** xyang_ has joined #openstack-manila19:54
*** ociuhandu has quit IRC19:56
*** gouthamr has quit IRC20:20
*** yumiriam has quit IRC20:24
*** mtanino_ has quit IRC20:25
bswartzvponomaryov: any chance you're still around?20:28
*** gouthamr has joined #openstack-manila20:29
*** xyang1 has joined #openstack-manila20:47
*** cdelatte has quit IRC20:51
*** jprovazn has quit IRC21:14
*** porrua has quit IRC21:17
*** xyang_ has quit IRC21:20
*** mtanino has joined #openstack-manila21:22
*** dustins_ has quit IRC21:31
*** crushil has joined #openstack-manila21:32
*** catintheroof has quit IRC21:38
*** catintheroof has joined #openstack-manila21:38
*** catintheroof has quit IRC21:39
*** rushil has joined #openstack-manila21:40
*** rushil has quit IRC21:46
*** alyson_ has quit IRC21:57
*** crushil has quit IRC22:04
*** catintheroof has joined #openstack-manila22:05
*** catintheroof has quit IRC22:05
*** catintheroof has joined #openstack-manila22:06
*** catintheroof has quit IRC22:11
*** Yogi1 has quit IRC22:11
*** ganso has quit IRC22:14
*** kaisers has joined #openstack-manila22:17
*** kaisers has quit IRC22:22
*** lpetrut has quit IRC22:39
*** eharney has quit IRC22:42
*** lseki has quit IRC23:00
*** xyang1 has quit IRC23:03
*** absubram has quit IRC23:27
*** gouthamr has quit IRC23:35
*** crushil has joined #openstack-manila23:54

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