openstackgerrit | Tom Barron proposed openstack/manila: DO NOT MERGE https://review.openstack.org/352606 | 00:33 |
---|---|---|
*** vbellur has quit IRC | 00:36 | |
*** markstur has joined #openstack-manila | 00:44 | |
*** cknight has joined #openstack-manila | 01:11 | |
*** tuanluong has joined #openstack-manila | 01:19 | |
zengyingzhe_ | gouthamr, hi you there? | 01:38 |
gouthamr | zengyingzhe_: hi, yes | 01:38 |
zengyingzhe_ | I got a question about replication. | 01:38 |
gouthamr | zengyingzhe_: sure.. | 01:39 |
zengyingzhe_ | does the active replica allow to extend/shrink from the replication feature design? | 01:40 |
gouthamr | zengyingzhe_: yes.. | 01:40 |
gouthamr | zengyingzhe_: 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 |
gouthamr | zengyingzhe_: https://github.com/openstack/manila/blob/master/manila_tempest_tests/tests/api/admin/test_replication_actions.py#L71 | 01: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 |
gouthamr | zengyingzhe_: oh... | 01:43 |
gouthamr | zengyingzhe_: 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 |
gouthamr | zengyingzhe_: oh.. sounds like a bug then.. :) | 01:48 |
*** kaisers__ has joined #openstack-manila | 01:49 | |
zengyingzhe_ | gouthamr: Yep, I'll take care of it. | 01:49 |
gouthamr | zengyingzhe_: +1 | 01:50 |
zengyingzhe_ | gouthamr: thanks for your help. | 01:50 |
gouthamr | zengyingzhe_: you're welcome.. | 01:50 |
*** kaisers_ has quit IRC | 01:52 | |
TommyLikeHu | hey guys, How to run a single unit testcase in manilaclient with tox? | 02:10 |
*** mtanino has quit IRC | 02:12 | |
gouthamr | TommyLikeHu: tox -epy27 -- test_xyz | 02:16 |
TommyLikeHu | gouthamr:thanks | 02:17 |
gouthamr | np.. | 02:17 |
TommyLikeHu | gouthamr: can I see the detail output with --debug something like that? | 02:19 |
gouthamr | TommyLikeHu: python-manilaclient directly uses testr to run its tests.. | 02:28 |
gouthamr | TommyLikeHu: so, i'm not sure how you can write to stdout and stuff | 02:28 |
gouthamr | TommyLikeHu: however, if you make a slight change to your tox.ini, you can get that to work | 02:28 |
gouthamr | in the [testenv] section, replace "python setup.py testr --testr-args='{posargs}'" with ostestr {posargs}" | 02:29 |
gouthamr | TommyLikeHu: ostestr {posargs} | 02:29 |
gouthamr | TommyLikeHu: then you can run your tests like this: "tox -epy27 -- --regex=test_xyz" | 02:30 |
TommyLikeHu | gouthamr: thanks, l'd like to have a try | 02:33 |
gouthamr | TommyLikeHu: you're welcome | 02:33 |
openstackgerrit | Goutham Pacha Ravi proposed openstack/python-manilaclient: Switch tox to ostestr https://review.openstack.org/385717 | 02:37 |
*** cknight has quit IRC | 02:38 | |
*** gcb has quit IRC | 02:39 | |
*** gcb has joined #openstack-manila | 02:51 | |
openstackgerrit | Goutham Pacha Ravi proposed openstack/python-manilaclient: Switch test runner to ostestr wrapper https://review.openstack.org/385717 | 03:01 |
*** absubram has quit IRC | 03:27 | |
*** mtanino has joined #openstack-manila | 03:31 | |
*** gouthamr has quit IRC | 03:33 | |
*** absubram has joined #openstack-manila | 03:38 | |
*** mtanino has quit IRC | 03:48 | |
openstackgerrit | melissaml proposed openstack/manila: Fix a typo in api_version_request.py https://review.openstack.org/385732 | 03:48 |
*** wangqun has joined #openstack-manila | 04:08 | |
*** akapil has joined #openstack-manila | 04:41 | |
*** akapil has quit IRC | 04:45 | |
*** kaisers__ has quit IRC | 05:04 | |
*** kaisers_ has joined #openstack-manila | 05:04 | |
*** dsariel has joined #openstack-manila | 05:05 | |
*** markstur has quit IRC | 05:06 | |
*** markstur has joined #openstack-manila | 05:15 | |
*** lpetrut has joined #openstack-manila | 05:17 | |
*** markstur has quit IRC | 05:53 | |
*** lpetrut has quit IRC | 06:10 | |
openstackgerrit | zhongjun proposed openstack/python-manilaclient: Add the ability to check tenant quota detail https://review.openstack.org/368567 | 06:16 |
*** rraja has joined #openstack-manila | 06:29 | |
*** nherciu has joined #openstack-manila | 06:33 | |
*** lpetrut has joined #openstack-manila | 06:36 | |
TommyLikeHu | ping vponomaryov | 06:44 |
*** nkrinner_afk is now known as nkrinner | 06:46 | |
*** akapil has joined #openstack-manila | 06:47 | |
*** akapil has quit IRC | 06:51 | |
*** lpetrut has quit IRC | 06:59 | |
*** mkoderer has joined #openstack-manila | 06:59 | |
*** absubram has quit IRC | 07:03 | |
*** absubram has joined #openstack-manila | 07:03 | |
*** narayrak has joined #openstack-manila | 07:10 | |
openstackgerrit | melissaml proposed openstack/manila: Fix a typo in api_version_request.py https://review.openstack.org/385732 | 07:25 |
*** akapil has joined #openstack-manila | 08:01 | |
*** akapil has quit IRC | 08:01 | |
*** akapil has joined #openstack-manila | 08:03 | |
*** rraja has quit IRC | 08:09 | |
openstackgerrit | melissaml proposed openstack/manila: Fix a typo in api_version_request.py https://review.openstack.org/385732 | 08:13 |
*** lpetrut has joined #openstack-manila | 08:14 | |
*** makowals has joined #openstack-manila | 08:56 | |
*** makowals_ has quit IRC | 08:58 | |
*** ChanServ has quit IRC | 09:14 | |
*** akapil has quit IRC | 09:15 | |
*** _laco has quit IRC | 09:17 | |
*** nherciu has quit IRC | 09:17 | |
*** openstackgerrit has quit IRC | 09:17 | |
*** mkoderer has quit IRC | 09:17 | |
*** wangqun has quit IRC | 09:17 | |
*** zigo has quit IRC | 09:17 | |
*** ociuhandu has quit IRC | 09:17 | |
*** sage_ has quit IRC | 09:17 | |
*** mnaser has quit IRC | 09:17 | |
*** smcginnis has quit IRC | 09:17 | |
*** amit213 has quit IRC | 09:17 | |
*** rhefner has quit IRC | 09:17 | |
*** harlowja has quit IRC | 09:17 | |
*** DuncanT has quit IRC | 09:17 | |
*** kambiz has quit IRC | 09:17 | |
*** gobbe has quit IRC | 09:17 | |
*** dsariel has quit IRC | 09:17 | |
*** breitz has quit IRC | 09:17 | |
*** EduNeto has quit IRC | 09:17 | |
*** assassin has quit IRC | 09:17 | |
*** jseiler_ has quit IRC | 09:17 | |
*** tries_ has quit IRC | 09:17 | |
*** lpetrut has quit IRC | 09:17 | |
*** kaisers_ has quit IRC | 09:17 | |
*** gcb has quit IRC | 09:17 | |
*** scottda has quit IRC | 09:17 | |
*** gregsfortytwo has quit IRC | 09:17 | |
*** ameade has quit IRC | 09:17 | |
*** madorn has quit IRC | 09:17 | |
*** cargonza has quit IRC | 09:17 | |
*** nkrinner has quit IRC | 09:17 | |
*** johnthetubaguy has quit IRC | 09:17 | |
*** jcsp has quit IRC | 09:17 | |
*** cFouts is now known as nug | 09:17 | |
*** jcsp has joined #openstack-manila | 09:17 | |
*** absubram has quit IRC | 09:20 | |
*** netapp has quit IRC | 09:20 | |
vponomaryov | TommyLikeHu: pong | 09:27 |
*** akapil has joined #openstack-manila | 09:29 | |
TommyLikeHu | vponomaryov: it's very clear of your comments, thanks, pong pong back | 09:30 |
*** akapil has quit IRC | 09:34 | |
*** netapp has joined #openstack-manila | 10:06 | |
*** nherciu has joined #openstack-manila | 10:06 | |
*** DuncanT has joined #openstack-manila | 10:07 | |
*** lpetrut has joined #openstack-manila | 10:07 | |
*** kaisers_ has joined #openstack-manila | 10:07 | |
*** gcb has joined #openstack-manila | 10:07 | |
*** scottda has joined #openstack-manila | 10:07 | |
*** gregsfortytwo has joined #openstack-manila | 10:07 | |
*** madorn has joined #openstack-manila | 10:07 | |
*** cargonza has joined #openstack-manila | 10:07 | |
*** nkrinner has joined #openstack-manila | 10:07 | |
*** johnthetubaguy has joined #openstack-manila | 10:07 | |
*** akapil has joined #openstack-manila | 10:09 | |
*** breitz has joined #openstack-manila | 10:09 | |
*** EduNeto has joined #openstack-manila | 10:09 | |
*** assassin has joined #openstack-manila | 10:09 | |
*** jseiler_ has joined #openstack-manila | 10:09 | |
*** tries_ has joined #openstack-manila | 10:09 | |
*** _laco has joined #openstack-manila | 10:10 | |
*** _laco has quit IRC | 10:10 | |
*** akapil has quit IRC | 10:10 | |
*** breitz has quit IRC | 10:10 | |
*** EduNeto has quit IRC | 10:10 | |
*** assassin has quit IRC | 10:10 | |
*** jseiler_ has quit IRC | 10:10 | |
*** tries_ has quit IRC | 10:10 | |
*** DuncanT has quit IRC | 10:10 | |
*** lpetrut has quit IRC | 10:10 | |
*** kaisers_ has quit IRC | 10:10 | |
*** gcb has quit IRC | 10:10 | |
*** scottda has quit IRC | 10:10 | |
*** gregsfortytwo has quit IRC | 10:10 | |
*** madorn has quit IRC | 10:10 | |
*** cargonza has quit IRC | 10:10 | |
*** nkrinner has quit IRC | 10:10 | |
*** johnthetubaguy has quit IRC | 10:10 | |
*** netapp has quit IRC | 10:10 | |
*** nherciu has quit IRC | 10:10 | |
*** cargonza has joined #openstack-manila | 10:19 | |
*** lpetrut has joined #openstack-manila | 10:26 | |
*** kaisers_ has joined #openstack-manila | 10:26 | |
*** gcb has joined #openstack-manila | 10:26 | |
*** scottda has joined #openstack-manila | 10:26 | |
*** gregsfortytwo has joined #openstack-manila | 10:26 | |
*** madorn has joined #openstack-manila | 10:26 | |
*** nkrinner has joined #openstack-manila | 10:26 | |
*** johnthetubaguy has joined #openstack-manila | 10:26 | |
*** _laco has joined #openstack-manila | 10:27 | |
*** netapp has joined #openstack-manila | 10:27 | |
*** nherciu has joined #openstack-manila | 10:27 | |
*** DuncanT has joined #openstack-manila | 10:27 | |
*** akapil has joined #openstack-manila | 10:27 | |
*** breitz has joined #openstack-manila | 10:27 | |
*** EduNeto has joined #openstack-manila | 10:27 | |
*** assassin has joined #openstack-manila | 10:27 | |
*** jseiler_ has joined #openstack-manila | 10:27 | |
*** tries_ has joined #openstack-manila | 10:27 | |
*** openstackgerrit has joined #openstack-manila | 10:28 | |
*** ameade has joined #openstack-manila | 10:28 | |
*** mkoderer has joined #openstack-manila | 10:28 | |
*** zigo has joined #openstack-manila | 10:28 | |
*** ociuhandu has joined #openstack-manila | 10:28 | |
*** sage_ has joined #openstack-manila | 10:28 | |
*** mnaser has joined #openstack-manila | 10:28 | |
*** smcginnis has joined #openstack-manila | 10:28 | |
*** amit213 has joined #openstack-manila | 10:28 | |
*** rhefner has joined #openstack-manila | 10:28 | |
*** kambiz has joined #openstack-manila | 10:28 | |
*** gobbe has joined #openstack-manila | 10:28 | |
*** DuncanT has quit IRC | 10:28 | |
*** ChanServ has joined #openstack-manila | 10:29 | |
*** tepper.freenode.net sets mode: +o ChanServ | 10:29 | |
*** nug is now known as Guest6208 | 10:32 | |
*** DuncanT has joined #openstack-manila | 10:33 | |
openstackgerrit | Merged openstack/manila: Use assert(Not)In/Greater(Equal)/LessEqual/IsNotNone https://review.openstack.org/360335 | 10:33 |
*** cargonza has quit IRC | 10:35 | |
*** cargonza has joined #openstack-manila | 10:35 | |
*** DuncanT has quit IRC | 10:37 | |
*** DuncanT has joined #openstack-manila | 10:37 | |
*** jcsp has quit IRC | 10:54 | |
*** rraja has joined #openstack-manila | 11:08 | |
*** dalgaaf has joined #openstack-manila | 11:14 | |
*** ociuhandu has quit IRC | 11:33 | |
*** erlon has joined #openstack-manila | 11:33 | |
*** bkreitch has left #openstack-manila | 11:37 | |
*** alyson_ has joined #openstack-manila | 11:43 | |
*** EduNeto has quit IRC | 11:55 | |
*** tuanluong has quit IRC | 12:05 | |
*** JoseMello has joined #openstack-manila | 12:16 | |
*** dsariel has joined #openstack-manila | 12:16 | |
*** timcl has joined #openstack-manila | 12:18 | |
*** mtanino has joined #openstack-manila | 12:38 | |
openstackgerrit | Praveen N proposed openstack/manila: updated positional argument and output https://review.openstack.org/381073 | 12:42 |
*** mtanino has quit IRC | 12:42 | |
*** akerr has joined #openstack-manila | 12:43 | |
*** rajiv_ has joined #openstack-manila | 12:43 | |
*** gouthamr has joined #openstack-manila | 12: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-manila | 12:51 | |
*** xyang1 has joined #openstack-manila | 12:53 | |
*** EduNeto has joined #openstack-manila | 12:57 | |
tbarron | rajiv_: have you seen https://github.com/openstack/manila/blob/master/doc/source/devref/cephfs_native_driver.rst ? | 12:59 |
rajiv_ | Thanks tharron | 13:04 |
tbarron | rajiv_: you are welcome | 13:06 |
*** lpetrut has quit IRC | 13:12 | |
rraja | rajiv_: 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-manila | 13: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: thanks | 13:16 |
*** tpsilva has joined #openstack-manila | 13:16 | |
*** bhagyashri_s has joined #openstack-manila | 13:17 | |
tbarron | rajiv_: 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-manila | 13:20 | |
rraja | rajiv_: 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 |
rraja | rajiv_: it does not. | 13:22 |
rraja | rajiv_: as you mention the clients are expected to well behaved. see http://docs.ceph.com/docs/master/cephfs/quota/#limitations | 13:23 |
*** dustins has joined #openstack-manila | 13:23 | |
*** rajiv_ has quit IRC | 13:24 | |
rraja | rajiv_: 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 |
rraja | s/its/the current driver is/ | 13:25 |
*** rajiv_ has joined #openstack-manila | 13:25 | |
rraja | rajiv_: https://github.com/openstack/manila/blob/master/doc/source/devref/cephfs_native_driver.rst#known-restrictions | 13:25 |
*** akapil has quit IRC | 13:26 | |
rajiv_ | rraja: thanks | 13:27 |
openstackgerrit | Merged openstack/puppet-manila: Fix documentation for log_dir parameter https://review.openstack.org/384589 | 13:27 |
*** eharney has quit IRC | 13:30 | |
*** akapil has joined #openstack-manila | 13:31 | |
*** lpetrut has joined #openstack-manila | 13:31 | |
*** rooneym has joined #openstack-manila | 13:37 | |
*** makowals has quit IRC | 13:39 | |
*** makowals has joined #openstack-manila | 13:39 | |
*** porrua has joined #openstack-manila | 13:42 | |
openstackgerrit | Merged openstack/manila: Fix a typo in api_version_request.py https://review.openstack.org/385732 | 13:44 |
tinwood | hi, 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 |
vponomaryov | tinwood: it is completely up-to-nova | 13:58 |
tinwood | vponomaryov, 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 |
tinwood | vponomaryov, also is there a way to delete a share in the "error_deleting" status? | 14:00 |
*** eharney has joined #openstack-manila | 14:02 | |
gouthamr | tinwood: 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-manila | 14:04 | |
tinwood | gouthamr, 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 |
gouthamr | tinwood: 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 | |
tinwood | gouthamr, excellent -- thanks very much. :) | 14:07 |
bhagyashri_s | vponomaryov: 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 |
gouthamr | tinwood: np! | 14:07 |
vponomaryov | bhagyashri_s: hello | 14:09 |
bhagyashri_s | vponomaryov: 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 |
vponomaryov | bhagyashri_s: it is not executed by test run | 14:13 |
vponomaryov | bhagyashri_s: it is the point | 14:13 |
vponomaryov | bhagyashri_s: looks like you change dead code | 14:13 |
vponomaryov | bhagyashri_s: then sane question, why do you do this? | 14:14 |
*** absubram has joined #openstack-manila | 14:14 | |
vponomaryov | bhagyashri_s: if it is not dead code, then it should be covered with unit tests | 14:14 |
*** openstackgerrit has quit IRC | 14:18 | |
*** openstackgerrit has joined #openstack-manila | 14:19 | |
bhagyashri_s | vponomaryov: I have made change just for code optimization. | 14:19 |
vponomaryov | bhagyashri_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 reqriting | 14:21 |
vponomaryov | s/then its reqriting/than its rewriting/ | 14:22 |
bhagyashri_s | vponomaryov: but this code is used for the unit test case purpose. | 14:26 |
*** TommyLikeHu has quit IRC | 14:28 | |
bhagyashri_s | vponomaryov: not like dead code. | 14:29 |
*** TommyLikeHu has joined #openstack-manila | 14:29 | |
openstackgerrit | Merged openstack/python-manilaclient: Switch test runner to ostestr wrapper https://review.openstack.org/385717 | 14:30 |
*** erlon has quit IRC | 14:31 | |
vponomaryov | bhagyashri_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 |
vponomaryov | s/ran tested/ran tests/ | 14:32 |
*** markstur has joined #openstack-manila | 14:34 | |
bhagyashri_s | vponomaryov: Ok. Now I got point. thank you. | 14:36 |
vponomaryov | bhagyashri_s: run "tox -e cover" to see real coverage of code by unit tests. | 14:36 |
vponomaryov | bhagyashri_s: manilaclient/common/apiclient/client.py as well as manilaclient/common/apiclient/fake_client.py are dead modules | 14:38 |
vponomaryov | bhagyashri_s: and not only these | 14:38 |
vponomaryov | bhagyashri_s: there is a lot of dead code that previously was ported from oslo.incubator | 14:39 |
*** mtanino has joined #openstack-manila | 14:41 | |
*** nkrinner is now known as nkrinner_afk | 14:41 | |
bhagyashri_s | vponomaryov: Yes I agree. | 14:42 |
*** nkrinner_afk is now known as nkrinner | 14:43 | |
bhagyashri_s | vponomaryov: I confirm that point as per your guideline thank you. | 14:44 |
vponomaryov | bhagyashri_s: maybe you may want to do clean up of dead code? | 14:49 |
*** ganso has joined #openstack-manila | 14:52 | |
openstackgerrit | Merged openstack/manila: Updated from global requirements https://review.openstack.org/385658 | 14:52 |
*** lpetrut has quit IRC | 14:55 | |
bhagyashri_s | vponomaryov: yeah sure I will do it as soon as possible. | 14:57 |
*** nkrinner is now known as nkrinner_afk | 14:57 | |
* markstur says hello from IBM | 14:57 | |
gouthamr | markstur: w00t | 14:59 |
*** zengyingzhe has joined #openstack-manila | 14:59 | |
*** timcl1 has joined #openstack-manila | 15:00 | |
gouthamr | markstur: IBM OpenStack? | 15:01 |
markstur | gouthamr: Yeah. OpenStack will be more than just a hobby for me this year. | 15:02 |
gouthamr | markstur: awesome! :) | 15:02 |
*** timcl has quit IRC | 15:03 | |
*** zhugx has joined #openstack-manila | 15:07 | |
*** Yogi1 has joined #openstack-manila | 15:08 | |
*** timcl1 has quit IRC | 15:11 | |
*** timcl has joined #openstack-manila | 15:12 | |
*** zhugx has quit IRC | 15:22 | |
openstackgerrit | Merged openstack/manila-ui: Fix migration-start id-dependent form https://review.openstack.org/375164 | 15:25 |
tbarron | markstur: glad you found a little mom and pop place to work at!!! | 15:26 |
markstur | tbarron: :) | 15:27 |
*** zengyingzhe has quit IRC | 15:30 | |
vponomaryov | markstur: this year? only till january? | 15:31 |
*** tongli has joined #openstack-manila | 15:31 | |
markstur | vponomaryov: It better be for longer than that! | 15:31 |
markstur | I meant as opposed to last year | 15:32 |
openstackgerrit | Merged openstack/manila: updated positional argument and output https://review.openstack.org/381073 | 15:32 |
tongli | good 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 |
tongli | but can not really create a share. can someone help on what I am missing? | 15:33 |
tongli | there 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 IRC | 15:35 | |
tongli | I think I am missing some post devstack run steps. but do not know what. | 15:35 |
tongli | any help will be really appreciated. using newton btw. | 15:35 |
*** rhagarty has joined #openstack-manila | 15:37 | |
bswartz | vponomaryov: how hard would it be to change devstack plugin to default to LVM driver instead of generic driver? | 15:39 |
bswartz | vponomaryov: if we do that it might help ppl like tongli | 15:39 |
vponomaryov | bswartz: easy to change default, but we depend on that default in some places | 15:39 |
bswartz | vponomaryov: what places? (this is why I'm asking) | 15:40 |
tongli | @bswartz, +100. | 15:40 |
vponomaryov | bswartz; for example - currect grenade job | 15:40 |
tongli | I had to change some code also enable it in horizon. | 15:40 |
tongli | like adding this line. | 15:40 |
vponomaryov | bswartz: I created commits for switching it to dummy driver, but it is not merged yet | 15:40 |
*** ganso has left #openstack-manila | 15:40 | |
tongli | HORIZON_CONFIG["customization_module"]="manila_ui.overrides" | 15:41 |
gouthamr | fwiw, the LVM instructions finally showed up in the newton install guide :) http://docs.openstack.org/project-install-guide/shared-file-systems/newton/ | 15:41 |
tongli | without that line in local_settings.py, horizons has nothing to do with manila | 15:41 |
bswartz | vponomaryov: let's make sure nothing depends on the default driver that devstack sets | 15:41 |
bswartz | tongli: that shouldn't be needed anymore... | 15:42 |
bswartz | I thought that horizon fixed the way plugin were installed | 15:42 |
tongli | @bswartz, if I do not have that in the local_settings.py, horizon won't show "Share" tab. | 15:42 |
vponomaryov | tongli: what release of openstack do you use? | 15:43 |
tongli | I tested with newton release. | 15:43 |
tongli | newton, not the latest master. | 15:43 |
tongli | not sure how much different though. | 15:43 |
bswartz | tongli: newton from git? or rpms/debs? | 15:43 |
bswartz | oh nm you said devstack | 15:44 |
bswartz | devstack will pull from git | 15:44 |
tongli | @bswartz, this is devstack install on ubuntu. | 15:44 |
tongli | right. | 15:44 |
tongli | after devstack install, things look ok. I saw generic1 and generic2 in manila.conf file, | 15:45 |
tongli | and also admin_net got created. | 15:45 |
tongli | I thought the plugin has some script to also create vm using manila-service-image-master. | 15:45 |
tongli | but that did not happen. no vm was running after devstack finished. | 15:46 |
vponomaryov | tongli: traces in logs? how did you run share creation? | 15:46 |
vponomaryov | tongli: have you looked at docs? | 15:46 |
tongli | I use the horizon UI to create share. | 15:47 |
tongli | yes, 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 |
tongli | since the configuration seems already done. | 15:47 |
tongli | I assume generic1 and generic2 are share nodes (in manila.conf file). | 15:48 |
vponomaryov | tongli: and you configured share-network correctly right? | 15:48 |
tongli | but I am not seeing a vm created. | 15:48 |
tongli | yeah, I can create manila share network fine. | 15:48 |
tongli | since I already have a tenant neutron network. | 15:48 |
vponomaryov | tongli: what does it contain? | 15:48 |
tongli | that part is ok. | 15:48 |
vponomaryov | tongi: what do you see in logs of manila? | 15:49 |
vponomaryov | tongli; we cannot help you not having even traces | 15:49 |
tongli | ERROR 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 |
vponomaryov | tongli: it is not trace | 15:49 |
tongli | that is the stuff I can find in the log files. | 15:50 |
tongli | I can change the log level to trace and try again. | 15:50 |
vponomaryov | tongli: and it is recommended to use "paste" sites for traces and code | 15:50 |
tongli | give me a second. | 15:50 |
tongli | yes | 15:50 |
tongli | I will use that. | 15:51 |
tongli | can 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 |
tongli | or manila actually will provision a VM automatically? that is what is puzzling me. | 15:52 |
tongli | devstack seems trying to do something but not complete. | 15:53 |
tongli | if I manually start up a VM using that image, how does manila know that vm is a manila shared node. | 15:54 |
tongli | if you can help answer these few questions, that will be very helpful. | 15:54 |
tongli | @vponomaryoy @bswartz ? | 15:55 |
bswartz | tongli: the generic driver has a bunch of requirements | 15:56 |
bswartz | you need nova setup properly, you need cinder setup properly, and you need that service image | 15:56 |
bswartz | also you need glance/neutron | 15:56 |
bswartz | it's way easier to setup the lvm driver | 15:56 |
tongli | so I assume that devstack plugin was trying to do that but half way through? | 15:57 |
tongli | just need to confirm. | 15:57 |
bswartz | the devstack plugin configures the generic driver by default | 15:58 |
bswartz | you need to modify you local.conf file if you want something else | 15:58 |
tongli | since 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 |
bswartz | you don't need to create anything special, but you do need the environment setup with all the dependencies | 15:59 |
tongli | I mean few samples code for local.conf to use lvm? | 15:59 |
*** rhagarty_ has joined #openstack-manila | 16:00 | |
*** akapil has quit IRC | 16:01 | |
bswartz | tongli: http://paste.openstack.org/show/585634/ | 16:01 |
bswartz | tongli: ^ that's what I use | 16:01 |
bswartz | tongli: you have to manually create lvm-shares1 and lvm-shares2 as VGs | 16:02 |
tongli | @bswartz, awesome. thanks. I can create these shares. | 16:02 |
*** rhagarty has quit IRC | 16:04 | |
*** timcl1 has joined #openstack-manila | 16:05 | |
*** timcl has quit IRC | 16:05 | |
tongli | let me try that and see what happens. | 16:08 |
*** narayrak has quit IRC | 16:11 | |
*** rhagarty__ has joined #openstack-manila | 16: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 |
tongli | they look like a distraction. | 16:16 |
*** rhagarty_ has quit IRC | 16:16 | |
*** rhagarty_ has joined #openstack-manila | 16:21 | |
*** rhagarty__ has quit IRC | 16:22 | |
*** rhagarty__ has joined #openstack-manila | 16:23 | |
*** rhagarty_ has quit IRC | 16:26 | |
*** dsariel has joined #openstack-manila | 16:30 | |
*** diablo_rojo has joined #openstack-manila | 16:33 | |
*** MikeG451 has quit IRC | 16:34 | |
*** diablo_rojo has left #openstack-manila | 16:37 | |
bswartz | tongli: 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.sh | 16:47 |
tongli | sure. thanks. | 16:48 |
tongli | trying your example configuration now. | 16:48 |
*** timcl1 has quit IRC | 16:50 | |
*** lpetrut has joined #openstack-manila | 16:51 | |
*** erlon has joined #openstack-manila | 16:56 | |
*** MikeG451 has joined #openstack-manila | 16:58 | |
*** timcl has joined #openstack-manila | 17: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 |
openstackgerrit | Merged openstack/manila: NetApp cDOT driver should not report untenable pools https://review.openstack.org/385594 | 17:17 |
tongli | @bswartz, created a share, and it seems working. thanks for your help. | 17:17 |
tongli | after I created a share, a lvm appeared when I did lvdisplay. | 17:18 |
tongli | after 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 IRC | 17:30 | |
*** lgreg has joined #openstack-manila | 17:39 | |
*** mkoderer has quit IRC | 17:42 | |
*** rraja has quit IRC | 17:49 | |
*** timcl has quit IRC | 17:56 | |
*** rhagarty__ has quit IRC | 17:58 | |
*** vbellur has quit IRC | 18:06 | |
bswartz | tongli: np glad it worked | 18:08 |
tongli | @bswartz, really appreciate your help. | 18:08 |
*** Guest6208 is now known as cFouts | 18:09 | |
tongli | after I created the share, I simply just need to mount it from any vm that I like to, right? | 18:09 |
tongli | since this is really just a NFS share, correct? | 18:09 |
bswartz | tongli: yeah the trick is network connectivity and access control | 18:15 |
bswartz | VMs typically cannot route packets to the hypervisor they're on unless you create a provider net or use floating IPs | 18:15 |
tongli | understand. allow nfs port to go through. | 18:15 |
tongli | right. | 18:16 |
bswartz | and 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 IP | 18:16 |
tongli | totally. understand that part. thanks again. | 18:16 |
bswartz | or just use 0.0.0.0/0 | 18:16 |
tongli | yes. wanted to confirm with you first. | 18:17 |
tongli | thanks again. | 18:17 |
*** gouthamr has quit IRC | 18:24 | |
*** vbellur has joined #openstack-manila | 18:30 | |
*** gouthamr has joined #openstack-manila | 18:54 | |
*** lpetrut has joined #openstack-manila | 19:20 | |
*** timcl has joined #openstack-manila | 19:24 | |
*** porrua has quit IRC | 19:43 | |
*** mliima has left #openstack-manila | 19:55 | |
*** akerr has quit IRC | 19:57 | |
*** Yogi1 has quit IRC | 20:10 | |
*** nherciu has quit IRC | 20:12 | |
*** openstackgerrit has quit IRC | 20:19 | |
*** openstackgerrit has joined #openstack-manila | 20:19 | |
*** akapil has joined #openstack-manila | 20:31 | |
*** vbellur has quit IRC | 20:47 | |
*** cknight has quit IRC | 20:51 | |
*** dustins has quit IRC | 21:06 | |
*** akapil has quit IRC | 21:10 | |
*** absubram has quit IRC | 21:18 | |
*** akapil has joined #openstack-manila | 21:20 | |
*** eharney has quit IRC | 21:33 | |
*** timcl has quit IRC | 21:34 | |
*** breitz has quit IRC | 21:40 | |
*** JoseMello has quit IRC | 21:41 | |
*** kaisers__ has joined #openstack-manila | 21:45 | |
*** kaisers_ has quit IRC | 21:48 | |
*** tongli has quit IRC | 21:49 | |
*** alyson_ has quit IRC | 21:59 | |
*** lpetrut has quit IRC | 22:15 | |
*** rooneym has quit IRC | 22:19 | |
*** akapil has quit IRC | 22:20 | |
*** kaisers_ has joined #openstack-manila | 22:22 | |
*** xyang1 has quit IRC | 22:24 | |
*** kaisers__ has quit IRC | 22:24 | |
*** akapil has joined #openstack-manila | 22:48 | |
*** tpsilva has quit IRC | 23:04 | |
*** cknight has joined #openstack-manila | 23:17 | |
*** cknight has quit IRC | 23:31 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!