openstackgerrit | Ghanshyam Mann proposed openstack/manila-tempest-plugin master: DNM: testing gate on ubuntu focal https://review.opendev.org/743134 | 00:38 |
---|---|---|
openstackgerrit | Ghanshyam Mann proposed openstack/manila-ui master: DNM: testing gate on ubuntu focal https://review.opendev.org/743135 | 00:38 |
openstackgerrit | Ghanshyam Mann proposed openstack/manila-image-elements master: DNM: testing gate on ubuntu focal https://review.opendev.org/743136 | 00:38 |
openstackgerrit | Ghanshyam Mann proposed openstack/manila master: DNM: testing gate on ubuntu focal https://review.opendev.org/743137 | 00:38 |
openstackgerrit | Ghanshyam Mann proposed openstack/manila-specs master: DNM: testing gate on ubuntu focal https://review.opendev.org/743138 | 00:41 |
openstackgerrit | Ghanshyam Mann proposed openstack/manila-test-image master: DNM: testing gate on ubuntu focal https://review.opendev.org/743139 | 00:41 |
openstackgerrit | Ghanshyam Mann proposed openstack/python-manilaclient master: DNM: testing gate on ubuntu focal https://review.opendev.org/743140 | 00:41 |
*** baojg has quit IRC | 03:39 | |
*** baojg has joined #openstack-manila | 03:55 | |
*** tosky has joined #openstack-manila | 06:42 | |
*** lpetrut has joined #openstack-manila | 07:10 | |
*** tosky has quit IRC | 08:03 | |
*** tosky has joined #openstack-manila | 09:33 | |
*** tkajinam has quit IRC | 10:10 | |
*** lpetrut has quit IRC | 10:17 | |
*** baojg has quit IRC | 10:19 | |
*** baojg has joined #openstack-manila | 10:21 | |
*** raildo has joined #openstack-manila | 11:30 | |
*** jungleboyj has joined #openstack-manila | 11:42 | |
*** baojg has quit IRC | 12:10 | |
*** baojg has joined #openstack-manila | 12:11 | |
*** baojg has quit IRC | 12:26 | |
*** baojg has joined #openstack-manila | 12:35 | |
*** baojg has quit IRC | 12:48 | |
*** baojg has joined #openstack-manila | 12:51 | |
*** eharney has joined #openstack-manila | 12:57 | |
*** lpetrut has joined #openstack-manila | 14:14 | |
*** jv_ has joined #openstack-manila | 14:18 | |
*** baojg has quit IRC | 14:34 | |
*** hoonetorg has quit IRC | 14:35 | |
*** baojg has joined #openstack-manila | 14:36 | |
*** hoonetorg has joined #openstack-manila | 14:49 | |
*** lpetrut has quit IRC | 14:49 | |
*** lpetrut has joined #openstack-manila | 15:42 | |
*** raildo has quit IRC | 16:28 | |
*** raildo has joined #openstack-manila | 16:31 | |
*** vhari has quit IRC | 16:55 | |
*** vhari has joined #openstack-manila | 17:00 | |
*** baojg has quit IRC | 17:32 | |
*** yan0s has joined #openstack-manila | 17:33 | |
yan0s | Hello all I'm using manila with ganesha over cephfs and I'm faceing the following issue | 17:34 |
yan0s | when I have an export mounted on a client and I turn off the ganesha server | 17:34 |
*** baojg has joined #openstack-manila | 17:34 | |
yan0s | then I cannot mount the share again, even after I restart the ganesha server | 17:34 |
yan0s | also if I try to delete this share from manila, the share hangs in "deleting" status | 17:35 |
yan0s | I can see that the ceph volume still exists | 17:35 |
*** jv_ has quit IRC | 17:36 | |
dviroel | tbarron: :) | 18:06 |
tbarron | yan0s: dviroel i'll be online here in half an hour or so, many fires today | 18:07 |
yan0s | tbarron, thanks I'll ping you again then | 18:08 |
gouthamr | yan0s: are you using ganesha with its rados store enabled? (config opt: ganesha_rados_store_enable) | 18:12 |
yan0s | I have used an automated way with juju so I'm not sure | 18:13 |
yan0s | I think I'm using cephfs instead of rados | 18:13 |
yan0s | where can I check for this option? | 18:14 |
gouthamr | yan0s: okay, you can find out by checking the manila.conf file, which is typically in /etc/manila where manila's running | 18:14 |
yan0s | ganesha_rados_store_enable = True | 18:15 |
yan0s | I did some investigation with: dbus-send --system --print-reply --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.ShowExports | 18:16 |
gouthamr | yan0s: ack, can you check whether you see any errors recovering in the ganesha logs? | 18:16 |
gouthamr | are exports available? ^ | 18:17 |
yan0s | no they are not | 18:18 |
yan0s | if a add a new "manila allow-access" command I can see the new export | 18:18 |
yan0s | if I try to delete the old rule with "manila allow-deny" it gets in error state | 18:19 |
yan0s | I can see some errors when in the ganesha logs | 18:19 |
yan0s | load_fsal :NFS STARTUP :CRIT :Could not dlopen module:/usr/lib/x86_64-linux-gnu/ganesha/libfsalvfs.so Error:/usr/lib/x86_64-linux-gnu/ganesha/libfsalvfs.so: cannot open shared object file: No such file or directory | 18:19 |
yan0s | oad_fsal :NFS STARTUP :MAJ :Failed to load module (/usr/lib/x86_64-linux-gnu/ganesha/libfsalvfs.so) because: Can not access a needed shared library | 18:20 |
yan0s | main :NFS STARTUP :WARN :No export entries found in configuration file !!! | 18:20 |
yan0s | config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:27): Failed to load FSAL (VFS) because: Can not access a needed shared library | 18:23 |
yan0s | config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:27): 1 validation errors in block FSAL | 18:23 |
yan0s | config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:27): Errors processing block (FSAL) | 18:23 |
yan0s | config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:11): 1 validation errors in block EXPORT | 18:23 |
yan0s | config_errs_to_log :CONFIG :CRIT :Config File (/etc/ganesha/ganesha.conf:11): Errors processing block (EXPORT) | 18:23 |
yan0s | nfs_Init_svc :DISP :CRIT :Cannot acquire credentials for principal nfs | 18:23 |
yan0s | nfs_Init_admin_thread :NFS CB :EVENT :Admin thread initialized | 18:23 |
yan0s | nfs_rpc_cb_init_ccache :NFS STARTUP :EVENT :Callback creds directory (/var/run/ganesha) already exists | 18:23 |
yan0s | nfs_rpc_cb_init_ccache :NFS STARTUP :WARN :gssd_refresh_krb5_machine_credential failed (-1765328160:0) | 18:23 |
yan0s | (commands to manage share access were "manila access-allow" and "manila access-deny") | 18:25 |
gouthamr | yan0s: the missing libfsalvfs.so may be unrelated to cephfs, we'll keep that aside for a moment | 18:26 |
gouthamr | yan0s: the config opt ganesha_rados_store_pool_name | 18:27 |
gouthamr | yan0s: has the name of the rados pool that ganesha must use to store its exports | 18:28 |
gouthamr | yan0s: (ganesha_rados_store_pool_name is in /etc/manila/manila.conf as well) | 18:28 |
gouthamr | yan0s: can you check if the exports are there with "rados -p <ganesha_rados_store_pool_name> get ganesha-export-index -" | 18:29 |
yan0s | let me check | 18:29 |
yan0s | I got all the share ids in the form: | 18:30 |
yan0s | %url rados://manila-ganesha/ganesha-export-share-2620b680-1d6c-4de0-b3be-5b5b3e9f27b3 | 18:30 |
*** lpetrut has quit IRC | 18:33 | |
*** tosky has quit IRC | 18:33 | |
gouthamr | yan0s: great, so the rados store's alright, adding newer exports works, but, ganesha is somehow not able to recover from this rados pool - can you now check the ganesha configuration file? there must be a section like this: http://paste.openstack.org/show/796346/ | 18:33 |
yan0s | ganesha.conf -> https://pastebin.com/gBminJ4A | 18:36 |
yan0s | also there is a ceph.conf in /etc/ganesha/ | 18:36 |
gouthamr | yan0s: that seems like the problem, ganesha's config is using a VFS FSAL, when it should be using CephFS | 18:36 |
yan0s | https://pastebin.com/40duuDXM | 18:37 |
* tbarron sends gouthamr coffee for all his wake up and debug stuff this "morning" | 18:37 | |
yan0s | the last pastebin was /etc/ganesha/ceph.conf | 18:37 |
gouthamr | yan0s: that seems to be the problem, (you have VFS FSAL enabled, with some config that is unrelated to cephfs) - but, you'll need ganesha to be configured with the rados store manila is writing to | 18:41 |
gouthamr | yan0s: here's a sample from my environment: http://paste.openstack.org/show/796347/ | 18:41 |
gouthamr | yan0s: it was generated using the template from ceph-ansible: https://github.com/ceph/ceph-ansible/blob/master/roles/ceph-nfs/templates/ganesha.conf.j2 | 18:42 |
gouthamr | yan0s: this is probably something juju must do, but isn't? | 18:42 |
yan0s | ok I will try this, thank you very much! | 18:43 |
yan0s | what is the expected behavior for the nfs client when the nfs-ganesha server restarts? | 18:44 |
yan0s | should the share be unmounted and then mounted back? | 18:45 |
yan0s | or is it possible to become accessible when the ganesha server comes back? | 18:45 |
yan0s | also is there any tutorial suggested for HA NFS setup with manila-ganesha? | 18:46 |
gouthamr | yan0s: tbarron might know better, but i think a hard mount will keep attempting to connect to the server, so if ganesha is up and serving exports, it will reconnect | 18:47 |
tbarron | gouthamr: +1 | 18:51 |
gouthamr | yan0s: regarding "HA NFS setup with manila-ganesha": red hat deploys an active-passive setup with corosync/pacemaker when using manila | 18:52 |
tbarron | yan0s: and upstream ganesha is now starting to support active-active deployment so | 18:52 |
tbarron | with that you should be able to run multiple instances behind an ha-proxy or other load balancer w/o all the pacemaker stuff | 18:53 |
tbarron | and put the exports in rados so they can be seen by multiple instances | 18:53 |
* tbarron mentions in case canonical wants to up the ante on ganesha HA | 18:53 | |
gouthamr | +1, unfortunately i don't have docs/tutorials handy... except this one for experimenting with active-active config: https://jtlayton.wordpress.com/2018/12/10/deploying-an-active-active-nfs-cluster-over-cephfs/ | 18:54 |
tbarron | for the pacemaker stuff it's all open source tripleo, but not an easy read | 18:54 |
gouthamr | yes, glusterfs pioneered in this area, and has some good docs/blog posts that could probably be repurposed for the ganesha bits | 18:54 |
yan0s | juju supports the pacemaker way so I'll probably follow that for now | 18:56 |
yan0s | thank you very much for all the help | 18:57 |
*** baojg has quit IRC | 18:59 | |
*** baojg has joined #openstack-manila | 19:00 | |
gouthamr | you're welcome yan0s | 19:06 |
gouthamr | dviroel tbarron: ready to merge https://review.opendev.org/742987/ ? | 19:06 |
dviroel | gouthamr: I was expecting to see manila-tempest-dsvm-lvm-em-only voting | 19:08 |
gouthamr | wait, | 19:08 |
gouthamr | that's very weird - lemme look | 19:08 |
gouthamr | asking #openstack-infra, thanks for noticing dviroel tbarron | 19:13 |
gouthamr | silly mistakes galore | 19:16 |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila stable/queens: [extended-maintenance-branches-only] Replace LVM job https://review.opendev.org/742987 | 19:18 |
gouthamr | works now, dviroel ^ | 19:20 |
gouthamr | merge it when it passes, i guess :) there're some changes i'm hoping to take downstream | 19:21 |
*** andrebeltrami has joined #openstack-manila | 19:23 | |
*** jv_ has joined #openstack-manila | 19:34 | |
dviroel | sure gouthamr, will do | 19:39 |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila master: [ci] Remove explicit compression of log files https://review.opendev.org/743328 | 19:44 |
dviroel | tbarron: much faster | 20:52 |
tbarron | dviroel: sorry, wasn't looking here, popped up in my email | 20:53 |
dviroel | tbarron: np at all, tks for reviewing it :) | 20:57 |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila master: Zuulv3 native grenade job https://review.opendev.org/741727 | 21:01 |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila stable/train: Update LVM volume extend https://review.opendev.org/742289 | 21:08 |
*** raildo has quit IRC | 21:14 | |
*** samueldmq has joined #openstack-manila | 21:20 | |
*** tosky has joined #openstack-manila | 21:25 | |
openstackgerrit | Merged openstack/manila stable/queens: [extended-maintenance-branches-only] Replace LVM job https://review.opendev.org/742987 | 22:17 |
openstackgerrit | Goutham Pacha Ravi proposed openstack/manila stable/train: Monkey patch original current_thread _active https://review.opendev.org/743431 | 22:37 |
openstackgerrit | Merged openstack/manila stable/stein: [NetApp] update set_preferred_dc for ontapi 1.150 https://review.opendev.org/742086 | 22:40 |
*** tkajinam has joined #openstack-manila | 22:52 | |
*** hoonetorg has quit IRC | 23:06 | |
*** hoonetorg has joined #openstack-manila | 23:19 | |
*** tosky has quit IRC | 23:25 | |
*** andrebeltrami has quit IRC | 23:33 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!