Thursday, 2016-10-13

openstackgerritTom Barron proposed openstack/manila: DO NOT MERGE  https://review.openstack.org/35260600:33
*** vbellur has quit IRC00:36
*** markstur has joined #openstack-manila00:44
*** cknight has joined #openstack-manila01:11
*** tuanluong has joined #openstack-manila01:19
zengyingzhe_gouthamr, hi you there?01:38
gouthamrzengyingzhe_: hi, yes01:38
zengyingzhe_I got a question about replication.01:38
gouthamrzengyingzhe_: sure..01:39
zengyingzhe_does the active replica allow to extend/shrink from the replication feature design?01:40
gouthamrzengyingzhe_: yes..01:40
gouthamrzengyingzhe_: according to manila, all share instances of a given share must be of the same size.. (size is hence a property of the share and not the instance)01:41
gouthamrzengyingzhe_: https://github.com/openstack/manila/blob/master/manila_tempest_tests/tests/api/admin/test_replication_actions.py#L7101:42
zengyingzhe_gouthamr: Ah, looks like it's a problem for huawei driver, cause it doesn't handle this situation while a share has replicas.01:42
gouthamrzengyingzhe_: oh...01:43
gouthamrzengyingzhe_: is your CI now capable of running those tests?01:43
zengyingzhe_gouthamr: CI can pass. Actually the extend/shrink operation can successd. The problem is that the driver doesn't apply these operations to all related replicas of one share.01:47
gouthamrzengyingzhe_: oh.. sounds like a bug then.. :)01:48
*** kaisers__ has joined #openstack-manila01:49
zengyingzhe_gouthamr: Yep, I'll take care of it.01:49
gouthamrzengyingzhe_: +101:50
zengyingzhe_gouthamr: thanks for your help.01:50
gouthamrzengyingzhe_: you're welcome..01:50
*** kaisers_ has quit IRC01:52
TommyLikeHuhey guys, How to run a single unit testcase in manilaclient with tox?02:10
*** mtanino has quit IRC02:12
gouthamrTommyLikeHu: tox -epy27 -- test_xyz02:16
TommyLikeHugouthamr:thanks02:17
gouthamrnp..02:17
TommyLikeHugouthamr: can I see the detail output with --debug something like that?02:19
gouthamrTommyLikeHu: python-manilaclient directly uses testr to run its tests..02:28
gouthamrTommyLikeHu: so, i'm not sure how you can write to stdout and stuff02:28
gouthamrTommyLikeHu: however, if you make a slight change to your tox.ini, you can get that to work02:28
gouthamrin the [testenv] section, replace "python setup.py testr --testr-args='{posargs}'"  with ostestr {posargs}"02:29
gouthamrTommyLikeHu: ostestr {posargs}02:29
gouthamrTommyLikeHu: then you can run your tests like this: "tox -epy27 -- --regex=test_xyz"02:30
TommyLikeHugouthamr: thanks, l'd like to have a try02:33
gouthamrTommyLikeHu: you're welcome02:33
openstackgerritGoutham Pacha Ravi proposed openstack/python-manilaclient: Switch tox to ostestr  https://review.openstack.org/38571702:37
*** cknight has quit IRC02:38
*** gcb has quit IRC02:39
*** gcb has joined #openstack-manila02:51
openstackgerritGoutham Pacha Ravi proposed openstack/python-manilaclient: Switch test runner to ostestr wrapper  https://review.openstack.org/38571703:01
*** absubram has quit IRC03:27
*** mtanino has joined #openstack-manila03:31
*** gouthamr has quit IRC03:33
*** absubram has joined #openstack-manila03:38
*** mtanino has quit IRC03:48
openstackgerritmelissaml proposed openstack/manila: Fix a typo in api_version_request.py  https://review.openstack.org/38573203:48
*** wangqun has joined #openstack-manila04:08
*** akapil has joined #openstack-manila04:41
*** akapil has quit IRC04:45
*** kaisers__ has quit IRC05:04
*** kaisers_ has joined #openstack-manila05:04
*** dsariel has joined #openstack-manila05:05
*** markstur has quit IRC05:06
*** markstur has joined #openstack-manila05:15
*** lpetrut has joined #openstack-manila05:17
*** markstur has quit IRC05:53
*** lpetrut has quit IRC06:10
openstackgerritzhongjun proposed openstack/python-manilaclient: Add the ability to check tenant quota detail  https://review.openstack.org/36856706:16
*** rraja has joined #openstack-manila06:29
*** nherciu has joined #openstack-manila06:33
*** lpetrut has joined #openstack-manila06:36
TommyLikeHuping  vponomaryov06:44
*** nkrinner_afk is now known as nkrinner06:46
*** akapil has joined #openstack-manila06:47
*** akapil has quit IRC06:51
*** lpetrut has quit IRC06:59
*** mkoderer has joined #openstack-manila06:59
*** absubram has quit IRC07:03
*** absubram has joined #openstack-manila07:03
*** narayrak has joined #openstack-manila07:10
openstackgerritmelissaml proposed openstack/manila: Fix a typo in api_version_request.py  https://review.openstack.org/38573207:25
*** akapil has joined #openstack-manila08:01
*** akapil has quit IRC08:01
*** akapil has joined #openstack-manila08:03
*** rraja has quit IRC08:09
openstackgerritmelissaml proposed openstack/manila: Fix a typo in api_version_request.py  https://review.openstack.org/38573208:13
*** lpetrut has joined #openstack-manila08:14
*** makowals has joined #openstack-manila08:56
*** makowals_ has quit IRC08:58
*** ChanServ has quit IRC09:14
*** akapil has quit IRC09:15
*** _laco has quit IRC09:17
*** nherciu has quit IRC09:17
*** openstackgerrit has quit IRC09:17
*** mkoderer has quit IRC09:17
*** wangqun has quit IRC09:17
*** zigo has quit IRC09:17
*** ociuhandu has quit IRC09:17
*** sage_ has quit IRC09:17
*** mnaser has quit IRC09:17
*** smcginnis has quit IRC09:17
*** amit213 has quit IRC09:17
*** rhefner has quit IRC09:17
*** harlowja has quit IRC09:17
*** DuncanT has quit IRC09:17
*** kambiz has quit IRC09:17
*** gobbe has quit IRC09:17
*** dsariel has quit IRC09:17
*** breitz has quit IRC09:17
*** EduNeto has quit IRC09:17
*** assassin has quit IRC09:17
*** jseiler_ has quit IRC09:17
*** tries_ has quit IRC09:17
*** lpetrut has quit IRC09:17
*** kaisers_ has quit IRC09:17
*** gcb has quit IRC09:17
*** scottda has quit IRC09:17
*** gregsfortytwo has quit IRC09:17
*** ameade has quit IRC09:17
*** madorn has quit IRC09:17
*** cargonza has quit IRC09:17
*** nkrinner has quit IRC09:17
*** johnthetubaguy has quit IRC09:17
*** jcsp has quit IRC09:17
*** cFouts is now known as nug09:17
*** jcsp has joined #openstack-manila09:17
*** absubram has quit IRC09:20
*** netapp has quit IRC09:20
vponomaryovTommyLikeHu: pong09:27
*** akapil has joined #openstack-manila09:29
TommyLikeHuvponomaryov: it's very clear of your comments, thanks, pong pong back09:30
*** akapil has quit IRC09:34
*** netapp has joined #openstack-manila10:06
*** nherciu has joined #openstack-manila10:06
*** DuncanT has joined #openstack-manila10:07
*** lpetrut has joined #openstack-manila10:07
*** kaisers_ has joined #openstack-manila10:07
*** gcb has joined #openstack-manila10:07
*** scottda has joined #openstack-manila10:07
*** gregsfortytwo has joined #openstack-manila10:07
*** madorn has joined #openstack-manila10:07
*** cargonza has joined #openstack-manila10:07
*** nkrinner has joined #openstack-manila10:07
*** johnthetubaguy has joined #openstack-manila10:07
*** akapil has joined #openstack-manila10:09
*** breitz has joined #openstack-manila10:09
*** EduNeto has joined #openstack-manila10:09
*** assassin has joined #openstack-manila10:09
*** jseiler_ has joined #openstack-manila10:09
*** tries_ has joined #openstack-manila10:09
*** _laco has joined #openstack-manila10:10
*** _laco has quit IRC10:10
*** akapil has quit IRC10:10
*** breitz has quit IRC10:10
*** EduNeto has quit IRC10:10
*** assassin has quit IRC10:10
*** jseiler_ has quit IRC10:10
*** tries_ has quit IRC10:10
*** DuncanT has quit IRC10:10
*** lpetrut has quit IRC10:10
*** kaisers_ has quit IRC10:10
*** gcb has quit IRC10:10
*** scottda has quit IRC10:10
*** gregsfortytwo has quit IRC10:10
*** madorn has quit IRC10:10
*** cargonza has quit IRC10:10
*** nkrinner has quit IRC10:10
*** johnthetubaguy has quit IRC10:10
*** netapp has quit IRC10:10
*** nherciu has quit IRC10:10
*** cargonza has joined #openstack-manila10:19
*** lpetrut has joined #openstack-manila10:26
*** kaisers_ has joined #openstack-manila10:26
*** gcb has joined #openstack-manila10:26
*** scottda has joined #openstack-manila10:26
*** gregsfortytwo has joined #openstack-manila10:26
*** madorn has joined #openstack-manila10:26
*** nkrinner has joined #openstack-manila10:26
*** johnthetubaguy has joined #openstack-manila10:26
*** _laco has joined #openstack-manila10:27
*** netapp has joined #openstack-manila10:27
*** nherciu has joined #openstack-manila10:27
*** DuncanT has joined #openstack-manila10:27
*** akapil has joined #openstack-manila10:27
*** breitz has joined #openstack-manila10:27
*** EduNeto has joined #openstack-manila10:27
*** assassin has joined #openstack-manila10:27
*** jseiler_ has joined #openstack-manila10:27
*** tries_ has joined #openstack-manila10:27
*** openstackgerrit has joined #openstack-manila10:28
*** ameade has joined #openstack-manila10:28
*** mkoderer has joined #openstack-manila10:28
*** zigo has joined #openstack-manila10:28
*** ociuhandu has joined #openstack-manila10:28
*** sage_ has joined #openstack-manila10:28
*** mnaser has joined #openstack-manila10:28
*** smcginnis has joined #openstack-manila10:28
*** amit213 has joined #openstack-manila10:28
*** rhefner has joined #openstack-manila10:28
*** kambiz has joined #openstack-manila10:28
*** gobbe has joined #openstack-manila10:28
*** DuncanT has quit IRC10:28
*** ChanServ has joined #openstack-manila10:29
*** tepper.freenode.net sets mode: +o ChanServ10:29
*** nug is now known as Guest620810:32
*** DuncanT has joined #openstack-manila10:33
openstackgerritMerged openstack/manila: Use assert(Not)In/Greater(Equal)/LessEqual/IsNotNone  https://review.openstack.org/36033510:33
*** cargonza has quit IRC10:35
*** cargonza has joined #openstack-manila10:35
*** DuncanT has quit IRC10:37
*** DuncanT has joined #openstack-manila10:37
*** jcsp has quit IRC10:54
*** rraja has joined #openstack-manila11:08
*** dalgaaf has joined #openstack-manila11:14
*** ociuhandu has quit IRC11:33
*** erlon has joined #openstack-manila11:33
*** bkreitch has left #openstack-manila11:37
*** alyson_ has joined #openstack-manila11:43
*** EduNeto has quit IRC11:55
*** tuanluong has quit IRC12:05
*** JoseMello has joined #openstack-manila12:16
*** dsariel has joined #openstack-manila12:16
*** timcl has joined #openstack-manila12:18
*** mtanino has joined #openstack-manila12:38
openstackgerritPraveen N proposed openstack/manila: updated positional argument and output  https://review.openstack.org/38107312:42
*** mtanino has quit IRC12:42
*** akerr has joined #openstack-manila12:43
*** rajiv_ has joined #openstack-manila12:43
*** gouthamr has joined #openstack-manila12:44
rajiv_I want to know about integration of ceph with manila. is there any diagram representing integration or some document not listing commands and configuration but concepts?12:48
*** vbellur has joined #openstack-manila12:51
*** xyang1 has joined #openstack-manila12:53
*** EduNeto has joined #openstack-manila12:57
tbarronrajiv_: have you seen https://github.com/openstack/manila/blob/master/doc/source/devref/cephfs_native_driver.rst ?12:59
rajiv_Thanks tharron13:04
tbarronrajiv_: you are welcome13:06
*** lpetrut has quit IRC13:12
rrajarajiv_: https://www.youtube.com/watch?v=vt4XUQWetg0 . this cephfs/manila talk at the previous OpenStack summit is still relevant.13:15
*** StraubTW has joined #openstack-manila13:15
rajiv_tharron: is my understanding correct? We have ceph cluster with cephFS. Then VMs are put in the public network of ceph cluster so that VMs can directly contact ceph for mounting file system. Therefore guest OS should have ceph client installed. And quota feature is given at client side, which can be compromised and because ceph cluster is also accessible from the VMs.13:16
rajiv_rraja: thanks13:16
*** tpsilva has joined #openstack-manila13:16
*** bhagyashri_s has joined #openstack-manila13:17
tbarronrajiv_: current native cephfs driver is the first step; the preso rraja just gave you shows roadmap for mediating access to the cluster from client, etc.13:19
*** mliima has joined #openstack-manila13:20
rrajarajiv_: the clients need `ceph-fuse` to be able to mount cephfs and respect share sizes (done by setting quotas on CephFS shares), since only the fuse client has quota support.13:21
rajiv_rraja: what about kernel ceph client? does not it support quota?13:22
rrajarajiv_: it does not.13:22
rrajarajiv_: as you mention the clients are expected to well behaved. see http://docs.ceph.com/docs/master/cephfs/quota/#limitations13:23
*** dustins has joined #openstack-manila13:23
*** rajiv_ has quit IRC13:24
rrajarajiv_: and as tbarron pointed out and as mentioned in the doc, the driver can be currently used in private clouds, and its a stepping stone to build something that's fit for public/hybrid clouds.13:24
rrajas/its/the current driver is/13:25
*** rajiv_ has joined #openstack-manila13:25
rrajarajiv_: https://github.com/openstack/manila/blob/master/doc/source/devref/cephfs_native_driver.rst#known-restrictions13:25
*** akapil has quit IRC13:26
rajiv_rraja: thanks13:27
openstackgerritMerged openstack/puppet-manila: Fix documentation for log_dir parameter  https://review.openstack.org/38458913:27
*** eharney has quit IRC13:30
*** akapil has joined #openstack-manila13:31
*** lpetrut has joined #openstack-manila13:31
*** rooneym has joined #openstack-manila13:37
*** makowals has quit IRC13:39
*** makowals has joined #openstack-manila13:39
*** porrua has joined #openstack-manila13:42
openstackgerritMerged openstack/manila: Fix a typo in api_version_request.py  https://review.openstack.org/38573213:44
tinwoodhi, may I ask a quick question about where the generic driver tries to launch an instance? It seems to be on the same machine as the manila-share service?13:55
vponomaryovtinwood: it is completely up-to-nova13:58
tinwoodvponomaryov, That's what I would have thought; which is weird as the "manila show" says the host is the same as the manila-share which isn't a nova-compute.13:59
tinwoodvponomaryov, also is there a way to delete a share in the "error_deleting" status?14:00
*** eharney has joined #openstack-manila14:02
gouthamrtinwood: that's a tricky question, was the nova instance created? was the cinder volume created? where did the driver blow up? if you can clean up those resources on your own, there's `$ manila force-delete xyzzy`14:03
*** cknight has joined #openstack-manila14:04
tinwoodgouthamr, it's a virtual openstack so I can tear it down if I need to.  Just wanted to clean the share out so I can try again? I think I didn't have enough memory on my compute to launch the share instance so I'm going to re-provision those and try again.14:05
gouthamrtinwood: if your share ended up with 'error_deleting' and you want manila to attempt, but delete it anyway if the deletion fails on teh backend, use 'force-delete'14:06
* gouthamr heh, no joke about using the force yet.14:06
tinwoodgouthamr, excellent -- thanks very much. :)14:07
bhagyashri_svponomaryov: Hi, I have address your comment on patch https://review.openstack.org/#/c/361858/ so i want to discuss on it. Can you have free time to discuss ?14:07
gouthamrtinwood: np!14:07
vponomaryovbhagyashri_s: hello14:09
bhagyashri_svponomaryov: Hi, basically the the module in which I have made changes is used for the test purpose only so IMO there is no need to test the change. I have made change just for the code optimization and refactoring.14:12
vponomaryovbhagyashri_s: it is not executed by test run14:13
vponomaryovbhagyashri_s: it is the point14:13
vponomaryovbhagyashri_s: looks like you change dead code14:13
vponomaryovbhagyashri_s: then sane question, why do you do this?14:14
*** absubram has joined #openstack-manila14:14
vponomaryovbhagyashri_s: if it is not dead code, then it should be covered with unit tests14:14
*** openstackgerrit has quit IRC14:18
*** openstackgerrit has joined #openstack-manila14:19
bhagyashri_svponomaryov: I have made change just for code optimization.14:19
vponomaryovbhagyashri_s: first of all, it is not optimization, amount of operations there is kind of the same. Second, deletion of dead code is better then its reqriting14:21
vponomaryovs/then its reqriting/than its rewriting/14:22
bhagyashri_svponomaryov: but this code is used for the unit test case purpose.14:26
*** TommyLikeHu has quit IRC14:28
bhagyashri_svponomaryov: not like dead code.14:29
*** TommyLikeHu has joined #openstack-manila14:29
openstackgerritMerged openstack/python-manilaclient: Switch test runner to ostestr wrapper  https://review.openstack.org/38571714:30
*** erlon has quit IRC14:31
vponomaryovbhagyashri_s: So, I am saying that unit tests do not execute this code at all, you say it is used in unit tests. One of us is mistaken. I removed changed method and ran tested. They passed successfully. What more discussion could be in this case?14:32
vponomaryovs/ran tested/ran tests/14:32
*** markstur has joined #openstack-manila14:34
bhagyashri_svponomaryov: Ok. Now I got point.  thank you.14:36
vponomaryovbhagyashri_s: run "tox -e cover" to see real coverage of code by unit tests.14:36
vponomaryovbhagyashri_s: manilaclient/common/apiclient/client.py as well as manilaclient/common/apiclient/fake_client.py are dead modules14:38
vponomaryovbhagyashri_s: and not only these14:38
vponomaryovbhagyashri_s: there is a lot of dead code that previously was ported from oslo.incubator14:39
*** mtanino has joined #openstack-manila14:41
*** nkrinner is now known as nkrinner_afk14:41
bhagyashri_svponomaryov: Yes I agree.14:42
*** nkrinner_afk is now known as nkrinner14:43
bhagyashri_svponomaryov: I confirm that point as per your guideline thank you.14:44
vponomaryovbhagyashri_s: maybe you may want to do clean up of dead code?14:49
*** ganso has joined #openstack-manila14:52
openstackgerritMerged openstack/manila: Updated from global requirements  https://review.openstack.org/38565814:52
*** lpetrut has quit IRC14:55
bhagyashri_svponomaryov: yeah sure I will do it as soon as possible.14:57
*** nkrinner is now known as nkrinner_afk14:57
* markstur says hello from IBM14:57
gouthamrmarkstur: w00t14:59
*** zengyingzhe has joined #openstack-manila14:59
*** timcl1 has joined #openstack-manila15:00
gouthamrmarkstur: IBM OpenStack?15:01
marksturgouthamr: Yeah. OpenStack will be more than just a hobby for me this year.15:02
gouthamrmarkstur: awesome! :)15:02
*** timcl has quit IRC15:03
*** zhugx has joined #openstack-manila15:07
*** Yogi1 has joined #openstack-manila15:08
*** timcl1 has quit IRC15:11
*** timcl has joined #openstack-manila15:12
*** zhugx has quit IRC15:22
openstackgerritMerged openstack/manila-ui: Fix migration-start id-dependent form  https://review.openstack.org/37516415:25
tbarronmarkstur: glad you found a little mom and pop place to work at!!!15:26
marksturtbarron: :)15:27
*** zengyingzhe has quit IRC15:30
vponomaryovmarkstur: this year? only till january?15:31
*** tongli has joined #openstack-manila15:31
marksturvponomaryov: It better be for longer than that!15:31
marksturI meant as opposed to last year15:32
openstackgerritMerged openstack/manila: updated positional argument and output  https://review.openstack.org/38107315:32
tongligood day to Manila guys. setting up devstack with manila enabled. Also have the UI show on horizon. saw generic1 and generic2 in manila.conf file.15:33
tonglibut can not really create a share. can someone help on what I am missing?15:33
tonglithere is a admin_net created. but I can not really boot up a VM on that network with the manila-service-image-master.15:34
*** dsariel has quit IRC15:35
tongliI think I am missing some post devstack run steps. but do not know what.15:35
tongliany help will be really appreciated. using newton btw.15:35
*** rhagarty has joined #openstack-manila15:37
bswartzvponomaryov: how hard would it be to change devstack plugin to default to LVM driver instead of generic driver?15:39
bswartzvponomaryov: if we do that it might help ppl like tongli15:39
vponomaryovbswartz: easy to change default, but we depend on that default in some places15:39
bswartzvponomaryov: what places? (this is why I'm asking)15:40
tongli@bswartz, +100.15:40
vponomaryovbswartz; for example - currect grenade job15:40
tongliI had to change some code also enable it in horizon.15:40
tonglilike adding this line.15:40
vponomaryovbswartz: I created commits for switching it to dummy driver, but it is not merged yet15:40
*** ganso has left #openstack-manila15:40
tongliHORIZON_CONFIG["customization_module"]="manila_ui.overrides"15:41
gouthamrfwiw, the LVM instructions finally showed up in the newton install guide :) http://docs.openstack.org/project-install-guide/shared-file-systems/newton/15:41
tongliwithout that line in local_settings.py, horizons has nothing to do with manila15:41
bswartzvponomaryov: let's make sure nothing depends on the default driver that devstack sets15:41
bswartztongli: that shouldn't be needed anymore...15:42
bswartzI thought that horizon fixed the way plugin were installed15:42
tongli@bswartz, if I do not have that in the local_settings.py, horizon won't show "Share" tab.15:42
vponomaryovtongli: what release of openstack do you use?15:43
tongliI tested with newton release.15:43
tonglinewton, not the latest master.15:43
tonglinot sure how much different though.15:43
bswartztongli: newton from git? or rpms/debs?15:43
bswartzoh nm you said devstack15:44
bswartzdevstack will pull from git15:44
tongli@bswartz, this is devstack install on ubuntu.15:44
tongliright.15:44
tongliafter devstack install, things look ok. I saw generic1 and generic2 in manila.conf file,15:45
tongliand also admin_net got created.15:45
tongliI thought the plugin has some script to also create vm using manila-service-image-master.15:45
tonglibut that did not happen. no vm was running after devstack finished.15:46
vponomaryovtongli: traces in logs? how did you run share creation?15:46
vponomaryovtongli: have you looked at docs?15:46
tongliI use the horizon UI to create share.15:47
tongliyes, I did look at all the docs I can find, at the state of devstack, I do not really know what to do.15:47
tonglisince the configuration seems already done.15:47
tongliI assume generic1 and generic2 are share nodes (in manila.conf file).15:48
vponomaryovtongli: and you configured share-network correctly right?15:48
tonglibut I am not seeing a vm created.15:48
tongliyeah, I can create manila share network fine.15:48
tonglisince I already have a tenant neutron network.15:48
vponomaryovtongli: what does it contain?15:48
tonglithat part is ok.15:48
vponomaryovtongi: what do you see in logs of manila?15:49
vponomaryovtongli; we cannot help you not having even traces15:49
tongliERROR manila.share.manager [req-7df6d64e-cace-4b73-91ee-a3b8f6f1846c 25dbea24318e4f9f9e7cc963c9e5a98c be7de805594d49ca8c18b15a36333aa3] Creation of share instance d1b0bd1e-053a-4712-86a7-e2dfcfff1664 failed: failed to get share server.15:49
vponomaryovtongli: it is not trace15:49
tonglithat is the stuff I can find in the log files.15:50
tongliI can change the log level to trace and try again.15:50
vponomaryovtongli: and it is recommended to use "paste" sites for traces and code15:50
tongligive me a second.15:50
tongliyes15:50
tongliI will use that.15:51
tonglican I ask you if I really need to have a VM (using the manila-service-image-master image) running to have all the stuff working?15:52
tonglior manila actually will provision a VM automatically? that is what is puzzling me.15:52
tonglidevstack seems trying to do something but not complete.15:53
tongliif I manually start up a VM using that image, how does manila know that vm is a manila shared node.15:54
tongliif you can help answer these few questions, that will be very helpful.15:54
tongli@vponomaryoy @bswartz ?15:55
bswartztongli: the generic driver has a bunch of requirements15:56
bswartzyou need nova setup properly, you need cinder setup properly, and you need that service image15:56
bswartzalso you need glance/neutron15:56
bswartzit's way easier to setup the lvm driver15:56
tongliso I assume that devstack plugin was trying to do that but half way through?15:57
tonglijust need to confirm.15:57
bswartzthe devstack plugin configures the generic driver by default15:58
bswartzyou need to modify you local.conf file if you want something else15:58
tonglisince things are not working, you always wonder if you did something wrong like mising some configuration or you have to do some thing extra like create a VM.15:58
tongli@bawartz, that is cool. have a sample or something to use lvm?15:59
bswartzyou don't need to create anything special, but you do need the environment setup with all the dependencies15:59
tongliI mean few samples code for local.conf to use lvm?15:59
*** rhagarty_ has joined #openstack-manila16:00
*** akapil has quit IRC16:01
bswartztongli: http://paste.openstack.org/show/585634/16:01
bswartztongli: ^ that's what I use16:01
bswartztongli: you have to manually create lvm-shares1 and lvm-shares2 as VGs16:02
tongli@bswartz, awesome. thanks. I can create these shares.16:02
*** rhagarty has quit IRC16:04
*** timcl1 has joined #openstack-manila16:05
*** timcl has quit IRC16:05
tonglilet me try that and see what happens.16:08
*** narayrak has quit IRC16:11
*** rhagarty__ has joined #openstack-manila16:14
tongli@bswartz, great stuff. is there anyway to not let devstack creating these entries like generic1 and generic2 in the configuration file?16:15
tonglithey look like a distraction.16:16
*** rhagarty_ has quit IRC16:16
*** rhagarty_ has joined #openstack-manila16:21
*** rhagarty__ has quit IRC16:22
*** rhagarty__ has joined #openstack-manila16:23
*** rhagarty_ has quit IRC16:26
*** dsariel has joined #openstack-manila16:30
*** diablo_rojo has joined #openstack-manila16:33
*** MikeG451 has quit IRC16:34
*** diablo_rojo has left #openstack-manila16:37
bswartztongli: if your bash skills are strong you may be able to figure it out -- the devstack plugin is not terribly large: https://github.com/openstack/manila/blob/master/devstack/plugin.sh16:47
tonglisure. thanks.16:48
tonglitrying your example configuration now.16:48
*** timcl1 has quit IRC16:50
*** lpetrut has joined #openstack-manila16:51
*** erlon has joined #openstack-manila16:56
*** MikeG451 has joined #openstack-manila16:58
*** timcl has joined #openstack-manila17:03
tongli@bswartz, used your configuration and having everything running.17:12
tongli@bswartz, I just need to create a share from horizon, right?17:12
openstackgerritMerged openstack/manila: NetApp cDOT driver should not report untenable pools  https://review.openstack.org/38559417:17
tongli@bswartz, created a share, and it seems working. thanks for your help.17:17
tongliafter I created a share, a lvm appeared when I did lvdisplay.17:18
tongliafter I deleted the share, the lvm disappeared when I did lvdisplay. so I think that means manila is working in my little devstack env.17:18
tongli@bswartz, just want to thank you for taking time to help your fellow stackers.17:19
*** lpetrut has quit IRC17:30
*** lgreg has joined #openstack-manila17:39
*** mkoderer has quit IRC17:42
*** rraja has quit IRC17:49
*** timcl has quit IRC17:56
*** rhagarty__ has quit IRC17:58
*** vbellur has quit IRC18:06
bswartztongli: np glad it worked18:08
tongli@bswartz, really appreciate your help.18:08
*** Guest6208 is now known as cFouts18:09
tongliafter I created the share, I simply just need to mount it from any vm that I like to, right?18:09
tonglisince this is really just a NFS share, correct?18:09
bswartztongli: yeah the trick is network connectivity and access control18:15
bswartzVMs typically cannot route packets to the hypervisor they're on unless you create a provider net or use floating IPs18:15
tongliunderstand. allow nfs port to go through.18:15
tongliright.18:16
bswartzand the NFS server will see the source address as the floating IP in that case, which means when you do access-allow you need to allow access to the floating IP not the private IP18:16
tonglitotally. understand that part. thanks again.18:16
bswartzor just use 0.0.0.0/018:16
tongliyes. wanted to confirm with you first.18:17
tonglithanks again.18:17
*** gouthamr has quit IRC18:24
*** vbellur has joined #openstack-manila18:30
*** gouthamr has joined #openstack-manila18:54
*** lpetrut has joined #openstack-manila19:20
*** timcl has joined #openstack-manila19:24
*** porrua has quit IRC19:43
*** mliima has left #openstack-manila19:55
*** akerr has quit IRC19:57
*** Yogi1 has quit IRC20:10
*** nherciu has quit IRC20:12
*** openstackgerrit has quit IRC20:19
*** openstackgerrit has joined #openstack-manila20:19
*** akapil has joined #openstack-manila20:31
*** vbellur has quit IRC20:47
*** cknight has quit IRC20:51
*** dustins has quit IRC21:06
*** akapil has quit IRC21:10
*** absubram has quit IRC21:18
*** akapil has joined #openstack-manila21:20
*** eharney has quit IRC21:33
*** timcl has quit IRC21:34
*** breitz has quit IRC21:40
*** JoseMello has quit IRC21:41
*** kaisers__ has joined #openstack-manila21:45
*** kaisers_ has quit IRC21:48
*** tongli has quit IRC21:49
*** alyson_ has quit IRC21:59
*** lpetrut has quit IRC22:15
*** rooneym has quit IRC22:19
*** akapil has quit IRC22:20
*** kaisers_ has joined #openstack-manila22:22
*** xyang1 has quit IRC22:24
*** kaisers__ has quit IRC22:24
*** akapil has joined #openstack-manila22:48
*** tpsilva has quit IRC23:04
*** cknight has joined #openstack-manila23:17
*** cknight has quit IRC23:31

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