openstackgerrit | Victoria Martinez de la Cruz proposed openstack/manila master: Add create share from snapshot in CephFS https://review.opendev.org/c/openstack/manila/+/741560 | 00:11 |
---|---|---|
openstackgerrit | Victoria Martinez de la Cruz proposed openstack/manila master: Add create share from snapshot in CephFS https://review.opendev.org/c/openstack/manila/+/741560 | 00:13 |
*** sfernand has quit IRC | 00:32 | |
*** LinPeiWen has joined #openstack-manila | 00:33 | |
openstackgerrit | Lin PeiWen proposed openstack/manila master: Glusterfs driver supports snapshot revert https://review.opendev.org/c/openstack/manila/+/762944 | 00:37 |
*** baojg has joined #openstack-manila | 01:51 | |
*** dviroel has quit IRC | 02:13 | |
*** LinPeiWen has quit IRC | 03:02 | |
*** LinPeiWen has joined #openstack-manila | 03:02 | |
*** ivan_lin has quit IRC | 03:04 | |
*** carloss has quit IRC | 03:06 | |
*** LinPeiWen47 has joined #openstack-manila | 04:07 | |
*** ivan_lin has joined #openstack-manila | 04:16 | |
*** LinPeiWen47 has quit IRC | 04:17 | |
*** LinPeiWen has quit IRC | 04:18 | |
*** vishalmanchanda has joined #openstack-manila | 05:19 | |
*** LinPeiWen has joined #openstack-manila | 05:25 | |
*** lpetrut has joined #openstack-manila | 07:11 | |
openstackgerrit | Liron Kuchlani proposed openstack/python-manilaclient master: Forbid users to create shares with the name "None" https://review.opendev.org/c/openstack/python-manilaclient/+/768606 | 08:35 |
*** tosky has joined #openstack-manila | 08:46 | |
*** LinPeiWen has quit IRC | 08:53 | |
*** LinPeiWen has joined #openstack-manila | 09:05 | |
*** baojg has quit IRC | 10:35 | |
*** baojg has joined #openstack-manila | 10:35 | |
openstackgerrit | Vida Haririan proposed openstack/manila-tempest-plugin master: Added test test_create_snapshot_over_quota_limit https://review.opendev.org/c/openstack/manila-tempest-plugin/+/773786 | 10:42 |
*** baojg has quit IRC | 10:45 | |
*** dviroel has joined #openstack-manila | 10:47 | |
*** carloss has joined #openstack-manila | 11:27 | |
*** chuan137 has joined #openstack-manila | 14:28 | |
*** kafilat has joined #openstack-manila | 14:52 | |
*** felipe_rodrigues has joined #openstack-manila | 15:00 | |
*** disap has joined #openstack-manila | 15:03 | |
*** lpetrut has quit IRC | 15:23 | |
*** LinPeiWen has quit IRC | 15:33 | |
gouthamr | o/ vhari ty for bringing up https://bugs.launchpad.net/manila/+bug/1914453 | 16:01 |
openstack | Launchpad bug 1914453 in OpenStack Shared File Systems Service (Manila) "CephFS Native driver gets blacklisted during startup with Ceph Octopus " [Undecided,New] | 16:01 |
vhari | gouthamr, yw :) | 16:02 |
gouthamr | interesting, i wonder if the blacklisting is new in octopus - strange we've not seen it in the CI | 16:03 |
gouthamr | vkmc ^ | 16:03 |
gouthamr | s/blacklisting/blocklisting - ceph's corrected the terminology on the latest branch: https://docs.ceph.com/en/latest/cephfs/eviction | 16:07 |
*** disap has quit IRC | 16:08 | |
vkmc | gouthamr, tbarron pointed me towards it earlier today! | 16:11 |
vkmc | I need to check that | 16:12 |
vkmc | I'm also wondering how we didn't catch that on our CI | 16:12 |
tbarron | note that manila itself is using nautilus client, not octopus. | 16:13 |
gouthamr | we are? | 16:14 |
tbarron | client-server version mismatch may be an ingredient | 16:14 |
tbarron | gouthamr: as reported in the bug at least | 16:14 |
gouthamr | ah i see | 16:14 |
tbarron | not that we'd ever see any version incompatibility issues with ceph of course | 16:15 |
gouthamr | good eye, we aren't doing that in the CI | 16:15 |
gouthamr | tbarron: :D | 16:15 |
* tbarron ducks | 16:15 | |
*** hoonetorg has joined #openstack-manila | 16:20 | |
*** eliaswimmer has quit IRC | 16:28 | |
openstackgerrit | Victoria Martinez de la Cruz proposed openstack/manila master: Add create share from snapshot in CephFS https://review.opendev.org/c/openstack/manila/+/741560 | 16:29 |
*** ignaziocassano has joined #openstack-manila | 17:03 | |
ignaziocassano | Hello All, please anyone can help me in share migration on openstack stein ? | 17:03 |
ignaziocassano | what data_node_access_ip means ? | 17:04 |
ignaziocassano | I configured 2 netapp backend on my manila.conf and I am able to create share on both, but I am not able to migrate share between them | 17:05 |
ignaziocassano | manila shares can be mounted grom my controllers nodes so in the data_node_access_ip I wrote the controllers address .....is right ? | 17:06 |
ignaziocassano | Ay help, please ? | 17:09 |
dviroel | hi ignaziocassano | 17:12 |
ignaziocassano | Hi | 17:12 |
dviroel | if your are going to use driver_assisted_migration you won't need this config option | 17:12 |
ignaziocassano | Driver assisted is not working and it gives me the following error:NaApiError: NetApp API failed. Reason - 13001:Failed to check whether the aggregate "aggr_FAS2_VNX5800" is an NAE (NetApp Aggregate Encryption) aggregate. Reason: Aggregate "aggr_FAS2_VNX5800" does not exist.): | 17:14 |
ignaziocassano | It is strange because I am able to write share on both backends | 17:14 |
ignaziocassano | and the above aggregate works fine | 17:14 |
ignaziocassano | and axists | 17:14 |
ignaziocassano | and exists | 17:15 |
dviroel | oh, let me take a look | 17:15 |
ignaziocassano | the following is my manila pool-list command: | 17:17 |
ignaziocassano | Name | Host | Backend | Pool | | 17:18 |
ignaziocassano | +----------------------------------------------------------+----------------+-----------------+---------------------------+ | 17:18 |
ignaziocassano | | 10.102.184.190@netapp-nfs-566#aggr_FAS2_VNX5800 | 10.102.184.190 | netapp-nfs-566 | aggr_FAS2_VNX5800 | | 17:18 |
ignaziocassano | | 10.102.184.190@svm-tst-nfs-565#aggr_fas04_MANILA_VNX5800 | 10.102.184.190 | svm-tst-nfs-565 | aggr_fas04_MANILA_VNX5800 | | 17:18 |
ignaziocassano | | 10.102.184.190@svm-tst-smb-565#aggr_fas04_MANILA_VNX5800 | 10.102.184.190 | svm-tst-smb-565 | aggr_fas04_MANILA_VNX5800 | | 17:18 |
ignaziocassano | +----------------------------------------------------------+----------------+-----------------+---------------------------+ | 17:18 |
ignaziocassano | I am able to create share on netapp-nfs-566 and netapp-tst-nfs-565 | 17:19 |
ignaziocassano | I cannot migrate from svm-test-nfs-565 to netapp-nfs-566 | 17:20 |
ignaziocassano | The driver_assisted fails the the above arror and then switchs in host assisted but it does not work in bot cases | 17:21 |
*** openstack has joined #openstack-manila | 17:25 | |
*** ChanServ sets mode: +o openstack | 17:25 | |
ignaziocassano | But I have not understood I can setup it ? | 17:25 |
ignaziocassano | sorry for my poor english ? | 17:25 |
ignaziocassano | In in host assisted mode controllers need to mount the svm ? | 17:26 |
ignaziocassano | What "data service" mean ? Is the service on controllers nodes ? | 17:28 |
dviroel | data is another manila service that is reponsible for copying the data in host assisted migration | 17:31 |
dviroel | you need to check if your env has this service up | 17:31 |
dviroel | $ manila service-list | 17:31 |
ignaziocassano | ----+------------------+-----------------------------------+------+---------+-------+----------------------------+ | 17:34 |
ignaziocassano | | Id | Binary | Host | Zone | Status | State | Updated_at | | 17:34 |
ignaziocassano | +----+------------------+-----------------------------------+------+---------+-------+----------------------------+ | 17:34 |
ignaziocassano | | 28 | manila-share | 10.102.184.190@svm-tst-nfs-565 | nova | enabled | up | 2021-02-04T17:33:30.000000 | | 17:34 |
ignaziocassano | | 31 | manila-share | 10.102.184.190@svm-tst-smb-565 | nova | enabled | up | 2021-02-04T17:33:30.000000 | | 17:34 |
ignaziocassano | | 34 | manila-scheduler | 10.102.184.190 | nova | enabled | up | 2021-02-04T17:33:38.000000 | | 17:34 |
ignaziocassano | | 59 | manila-share | 10.102.184.190@netapp-nfs-566 | nova | enabled | up | 2021-02-04T17:33:37.000000 | | 17:34 |
ignaziocassano | As I wrote before I can create share on all of the above bakends | 17:35 |
dviroel | in host-assisted-migration, data-service is the component that will mount both shares, src and dest, and copy the data for you | 17:36 |
dviroel | gouthamr: any suggestion in this scenario? | 17:36 |
ignaziocassano | OK. Data service are on my controllers and I am able to mount shares from controllers | 17:37 |
*** vishalmanchanda has quit IRC | 17:38 | |
ignaziocassano | So in data_node_access_ip I wrote the list of my controllers ip addresses | 17:39 |
*** ignaziocassano has quit IRC | 17:42 | |
dviroel | data_node_access_ips shall have the IP of the host running the manila data service | 17:43 |
*** ignaziocassano has joined #openstack-manila | 17:54 | |
ignaziocassano | sorry I lost the connection | 17:55 |
* gouthamr was in a meeting - reads scrollback | 17:55 | |
dviroel | ignaziocassano: which release are you using? | 17:56 |
ignaziocassano | openstack stein on centos | 17:56 |
dviroel | ah ok, because 'data_node_access_ip' was deprecated in train | 17:57 |
dviroel | in favor of 'data_node_access_ips' | 17:57 |
gouthamr | yeah, the option was renamed to indicate we support multiple IP addresses | 17:57 |
ignaziocassano | sorry | 17:58 |
ignaziocassano | I used data_node_access_ips | 17:58 |
dviroel | i believe that your config seems to be correct | 17:58 |
ignaziocassano | I read about no_root_squash | 18:01 |
ignaziocassano | Must I setup it on SVM or on the share I must migrate ? | 18:01 |
*** ignaziocassano has quit IRC | 18:01 | |
*** ignaziocassano has joined #openstack-manila | 18:04 | |
gouthamr | ignaziocassano: at some point netapp had some documentation on how to do this specifically with netapp backends | 18:05 |
ignaziocassano | OK | 18:05 |
ignaziocassano | I will check | 18:05 |
ignaziocassano | thanks a lot | 18:05 |
gouthamr | i'm not able to find it at the moment, but, i recall you have to make a few manila.conf changes | 18:05 |
gouthamr | asking the data service to ignore certain files (the .snapshot directory for instance cannot be copied over) | 18:06 |
gouthamr | ignaziocassano: do you use share replication? | 18:06 |
ignaziocassano | No, I do not | 18:07 |
gouthamr | i see, are svm-test-nfs-565 and netapp-nfs-566 on the same host? | 18:07 |
gouthamr | i.e, same ONTAP cluster? | 18:08 |
gouthamr | i ask this because you're going from netapp to netapp, and there may definitely be a easier/more efficient way to do this move yourself, outside of manila | 18:09 |
gouthamr | because as dviroel said, netapp's driver optimized migration only works across pools assigned to the same vserver | 18:09 |
ignaziocassano | the svms are on different netapp storages | 18:10 |
dviroel | if you have snapmirror licenses, you will be able to use snapmirror to copy the data | 18:11 |
gouthamr | +1 | 18:11 |
ignaziocassano | Yes, I know and I also will test it | 18:12 |
dviroel | the easiest way would be to create replica using manila, but i think that your share-type doesn't have any 'replication_type' configured, right? | 18:17 |
ignaziocassano | yes, it is right | 18:18 |
*** eliaswimmer has joined #openstack-manila | 18:18 | |
dviroel | right | 18:18 |
ignaziocassano | I shoul create a replication_type and a peering on netapps, correct ? | 18:18 |
ignaziocassano | so I could use replication_type dr /ro/rw | 18:19 |
ignaziocassano | ??? | 18:19 |
dviroel | for netapp driver, it should be 'dr' | 18:20 |
dviroel | but the share that your trying to move, is already attached to a share-type | 18:21 |
*** kafilat has quit IRC | 18:21 | |
dviroel | one idea would be to: unmanage the share, and manage it again using a new share-type that has a replication_type set to 'dr' | 18:22 |
dviroel | gouthamr: ^ | 18:22 |
ignaziocassano | yes | 18:23 |
ignaziocassano | I tried last year and it worked | 18:23 |
*** chuan137 has quit IRC | 18:23 | |
ignaziocassano | I used it for copy shares between two sites with different storage and openstack installations | 18:24 |
gouthamr | dviroel: agree - quickest way since we lack the ability to retype existing shares | 18:24 |
ignaziocassano | I managed share on the destination and it loaded shares in openstack DB | 18:24 |
*** hoonetorg has quit IRC | 18:24 | |
ignaziocassano | anycase I am still tryng the migrate procedure with host assisted and I got error Exception during message handling: ShareSnapshotNotFound: | 18:25 |
ignaziocassano | the share does not have snapshots | 18:25 |
dviroel | ignaziocassano: if you enable replication for your share, you won't need to handle 'snapmirror' operations in the storage. | 18:26 |
ignaziocassano | migration_ignore_files = lost+found, .snapshot, .snapshots | 18:26 |
ignaziocassano | dviroel, are you sure I do not need snapmirror ? | 18:27 |
ignaziocassano | replication is handled entirely by manila ? | 18:27 |
dviroel | ignaziocassano: yes, we create an snapmirror relationship in the destination | 18:28 |
dviroel | ignaziocassano: and if you use the promote operation, the destination will become the active replica | 18:28 |
dviroel | ignaziocassano: is dhss=false, right? | 18:28 |
ignaziocassano | yes | 18:29 |
dviroel | oh ok | 18:29 |
ignaziocassano | let me check if I understood well | 18:29 |
ignaziocassano | if I set replication on my shares like suggested in manila.conf by netapp, the dnapmirror relationship im the destination is create by calling netapp api ? | 18:30 |
ignaziocassano | I do not need to create it manually on netapp storages ? | 18:32 |
dviroel | ignaziocassano: no, your clusters need to be peered, and since you are using DHSS=False, your SVMs must be peered too | 18:33 |
dviroel | ignaziocassano: you dont need to handle any snapmirror operation in storage | 18:33 |
dviroel | ignaziocassano: https://netapp-openstack-dev.github.io/openstack-docs/train/manila/examples/openstack_command_line/section_manila-cli.html#creating-manila-share-replicas | 18:34 |
ignaziocassano | OK, because last year when I tried | 18:35 |
ignaziocassano | the configuration on the netapp storages was made by my collegue | 18:36 |
ignaziocassano | So I did not know what my collegue configured | 18:37 |
ignaziocassano | Aanother question, please | 18:37 |
dviroel | you cannot forget to configure the 'replication_domain' in your backend stanzas: | 18:37 |
dviroel | now, manila will only knows which backends can replicate shares if you tell on | 18:37 |
dviroel | which backends they can replicate | 18:37 |
dviroel | https://netapp-openstack-dev.github.io/openstack-docs/train/manila/configuration/manila_config_files/section_sample_manila-conf.html#with-replication | 18:38 |
ignaziocassano | yjes, replucation domain names of the repllication backends must be the same, right ? | 18:38 |
dviroel | ignaziocassano: yes | 18:38 |
ignaziocassano | but replication type rw, what does mean ? | 18:38 |
ignaziocassano | I do not think it is possible | 18:39 |
dviroel | netapp driver only supports 'dr' replicas | 18:39 |
dviroel | but you can promote a 'dr' replica to be active, which means that you current 'rw' will become the 'dr' instancec | 18:40 |
dviroel | you will switch the active one | 18:40 |
dviroel | you will start to write data in the new location, and you can destroy the old instance by deleting the 'dr' replica | 18:41 |
*** sfernand has joined #openstack-manila | 18:41 | |
*** eliaswimmer has quit IRC | 18:42 | |
dviroel | ignaziocassano: don't you want to test it in your env? by creating a new share, only for testing purposes? | 18:43 |
*** eliaswimmer has joined #openstack-manila | 18:43 | |
ignaziocassano | I cannot because I need to ask to storage administrators. I have no access to netapp. | 18:43 |
dviroel | i see | 18:44 |
ignaziocassano | Here in Italy is too late for working and all my collegues are at home | 18:44 |
ignaziocassano | Many many thanks for you support | 18:45 |
dviroel | ignaziocassano: we'll be here tomorrow if you want to continue | 18:45 |
ignaziocassano | I hope to have the availabilty of my collegues. Any case I will keep in touch when I'll try the replication. | 18:46 |
ignaziocassano | Have a good day/evening (depending on where you live) :-) | 18:47 |
dviroel | ignaziocassano: tks, you too | 18:48 |
ignaziocassano | bye | 18:48 |
*** ignaziocassano has left #openstack-manila | 18:48 | |
*** ChanServ changes topic to "OpenStack Shared File System Service | Documentation: https://docs.openstack.org/manila/latest/ | Meetings: https://wiki.openstack.org/wiki/Manila/Meetings | Wallaby-Review-Priorities: https://etherpad.opendev.org/p/manila-wallaby-review-focus | Join #zorilla-srbac-warroom for review efforts on the Secure RBAC changes | Wallaby PTG Notes: https://etherpad.opendev.org/p/wallaby-ptg-manila" | 18:51 | |
eliaswimmer | Hi | 19:03 |
eliaswimmer | error in unlink: /volumes/_deleting/dd989fa3-cd07-4d03-ae70-0af983fe0e0f/Untitled.ipynb: Permission denied [Errno 13] | 19:03 |
eliaswimmer | That is strange | 19:03 |
eliaswimmer | manila can not delete a share cause it has wrong permissions? | 19:04 |
gouthamr | eliaswimmer: where do you see that error | 19:07 |
eliaswimmer | in my k8s setup | 19:07 |
eliaswimmer | when deleting a pv | 19:08 |
gouthamr | strange that it's on a specific file though? | 19:08 |
eliaswimmer | the only one I created? | 19:08 |
eliaswimmer | I switched from fuse to kernel driver in between | 19:08 |
gouthamr | i see, you're using manila-csi with ceph-csi as a partner-plugin, but with the kernel driver? | 19:12 |
eliaswimmer | yes | 19:12 |
eliaswimmer | did the setup today | 19:13 |
eliaswimmer | cause fuse gives terrible performance, a waste for the nvmes | 19:13 |
tbarron | and if you create and delete both with kernel driver? | 19:13 |
eliaswimmer | first i will have to delete the files i guess | 19:14 |
eliaswimmer | cause this blocks createing new shares | 19:14 |
eliaswimmer | ok, not really | 19:14 |
gouthamr | i'm curious about the "_deleting" in the path - that's usually where a share group goes | 19:15 |
eliaswimmer | only the pvc | 19:15 |
tbarron | i'm kinda thinking this is going to be a bug that routes through to ceph rather than manila proper or manila-csi | 19:15 |
tbarron | gouthamr: I believe they have introduced a lazy delete in cephfs cause deletes were slow | 19:16 |
tbarron | but my memory is vague | 19:16 |
gouthamr | tbarron: i see; never noticed that before | 19:17 |
eliaswimmer | thx you, i will look into it tomorrow | 19:39 |
eliaswimmer | it's already late here | 19:40 |
*** hoonetorg has joined #openstack-manila | 20:01 | |
*** hoonetorg has quit IRC | 20:13 | |
*** hoonetorg has joined #openstack-manila | 20:30 | |
*** lbragstad_ has joined #openstack-manila | 22:22 | |
*** lbragstad has quit IRC | 22:24 | |
*** tkajinam has quit IRC | 22:59 | |
*** tkajinam has joined #openstack-manila | 22:59 | |
*** lbragstad_ is now known as lbragstad | 23:03 | |
*** lbragstad has quit IRC | 23:21 | |
*** lbragstad has joined #openstack-manila | 23:23 | |
*** sfernand has quit IRC | 23:59 |
Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!