Wednesday, 2020-09-09

openstackgerritAndre Beltrami proposed openstack/python-manilaclient master: Add commands for share server migration  https://review.opendev.org/74720400:32
openstackgerritMerged openstack/manila-tempest-plugin master: Add uuid for tests  https://review.opendev.org/70110801:20
*** LinPeiWen has joined #openstack-manila01:23
openstackgerritDouglas Viroel proposed openstack/python-manilaclient master: Add commands for share server migration  https://review.opendev.org/74720401:39
openstackgerritMerged openstack/manila master: Update "Create and manage shares" doc  https://review.opendev.org/74529102:07
openstackgerritVictoria Martinez de la Cruz proposed openstack/manila-ui master: User messages panel  https://review.opendev.org/74255003:20
openstackgerritMerged openstack/manila master: Graduate share replication feature  https://review.opendev.org/74707303:44
*** carthaca has quit IRC04:32
openstackgerritMerged openstack/manila stable/ussuri: [Glusterfs] Fix delete share, mount point not disconnected  https://review.opendev.org/75017904:38
openstackgerritLin PeiWen proposed openstack/manila stable/train: [Glusterfs] Fix delete share, mount point not disconnected  https://review.opendev.org/75018005:12
openstackgerritLin PeiWen proposed openstack/manila stable/train: [Glusterfs] Fix delete share, mount point not disconnected  https://review.opendev.org/75018005:15
*** Reepicheep has quit IRC05:42
*** Reepicheep has joined #openstack-manila05:42
*** vishalmanchanda has joined #openstack-manila06:14
openstackgerritLin PeiWen proposed openstack/manila stable/train: [Glusterfs] Fix delete share, mount point not disconnected  https://review.opendev.org/75018006:30
openstackgerritLin PeiWen proposed openstack/manila stable/stein: [Glusterfs] Fix delete share, mount point not disconnected  https://review.opendev.org/75018206:31
*** Reepicheep has quit IRC06:43
*** Reepicheep has joined #openstack-manila06:47
*** AnaghaR has joined #openstack-manila07:31
*** tosky has joined #openstack-manila07:57
*** AnaghaR has quit IRC08:14
*** Reepicheep has quit IRC08:32
*** Reepicheep has joined #openstack-manila08:33
*** carthaca has joined #openstack-manila08:39
*** ianychoi__ has quit IRC08:40
*** AnaghaR has joined #openstack-manila09:12
*** Reepicheep has quit IRC09:15
*** Reepicheep has joined #openstack-manila09:24
openstackgerritLin PeiWen proposed openstack/manila master: [Glusterfs] Fix delete share, Couldn't find the 'gluster_used_vols'  https://review.opendev.org/75006709:31
*** AnaghaR has quit IRC09:45
*** Reepicheep has quit IRC10:33
*** Reepicheep has joined #openstack-manila10:38
openstackgerritCarlos Eduardo proposed openstack/manila master: Update share replica show docstrings  https://review.opendev.org/75062211:17
*** raildo has joined #openstack-manila11:30
*** AnaghaR has joined #openstack-manila11:54
vkmcAnaghaR, o/12:24
vkmccould you submit your fix?12:24
*** andrebeltrami has joined #openstack-manila12:36
*** Reepicheep has quit IRC13:06
*** Reepicheep has joined #openstack-manila13:08
*** kaisers_ has joined #openstack-manila13:22
openstackgerritMerged openstack/python-manilaclient master: Graduate share replication feature  https://review.opendev.org/74758813:25
carloss\o/13:27
dviroelcarloss++13:29
vkmccarloss++13:38
vkmc:)13:38
*** AnaghaR has quit IRC13:43
*** Reepicheep has quit IRC14:11
*** Reepicheep has joined #openstack-manila14:15
*** Reepicheep has quit IRC14:35
*** Reepicheep has joined #openstack-manila14:37
*** lpetrut has joined #openstack-manila15:12
openstackgerritMerged openstack/manila-tempest-plugin master: Remove experimental flag from share replication feature  https://review.opendev.org/74759315:22
openstackgerritMerged openstack/manila stable/train: [Glusterfs] Fix delete share, mount point not disconnected  https://review.opendev.org/75018015:30
openstackgerritMerged openstack/manila master: Update share replica show docstrings  https://review.opendev.org/75062215:30
*** Reepicheep has quit IRC15:37
*** Reepicheep has joined #openstack-manila15:39
*** lpetrut has quit IRC15:59
carloss\o/ - thank you folks for reviewing these changes :)16:07
openstackgerritVictoria Martinez de la Cruz proposed openstack/python-manilaclient master: Implement OSC share quota commands  https://review.opendev.org/70399216:16
openstackgerritTom Barron proposed openstack/manila stable/stein: [Glusterfs] Fix delete share, mount point not disconnected  https://review.opendev.org/75018216:21
*** Reepicheep has quit IRC16:22
*** Reepicheep has joined #openstack-manila16:23
openstackgerritGhanshyam Mann proposed openstack/manila master: [goal] Migrate tox based testing to ubuntu focal  https://review.opendev.org/74313716:28
*** Reepicheep has quit IRC16:35
*** Reepicheep has joined #openstack-manila16:38
*** Reepicheep has quit IRC17:03
openstackgerritDouglas Viroel proposed openstack/manila master: [Container driver] Adds share and share server migration  https://review.opendev.org/74083117:04
*** Reepicheep has joined #openstack-manila17:05
*** andrebeltrami has quit IRC17:06
*** Reepicheep has quit IRC17:12
*** Reepicheep has joined #openstack-manila17:16
gmanngouthamr: do you know what causing this error in  https://review.opendev.org/743137  "ERROR: InvocationError for command /home/zuul/src/opendev.org/openstack/manila/tools/check_exec.py manila (exited with code 2)'17:55
gmannhere https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_863/743137/5/check/openstack-tox-pep8/863a599/job-output.txt17:55
gouthamrgmann: looking17:58
gouthamrgmann: i wonder if the interpreter doesn't exist..18:03
gouthamrwe can specifically look for python318:03
gmannseems so, testing with python318:03
*** Reepicheep has quit IRC18:04
openstackgerritGoutham Pacha Ravi proposed openstack/manila master: Set check_exec interpretor to python3  https://review.opendev.org/75077018:04
gouthamr^ gmann - you can fold this into your change if you wish18:05
*** Reepicheep has joined #openstack-manila18:05
gmanngouthamr: yeah we need to squash as 750770 fail on lower constraints, i will do18:17
openstackgerritGhanshyam Mann proposed openstack/manila master: [goal] Migrate tox based testing to ubuntu focal  https://review.opendev.org/74313718:21
gmanngouthamr: ^^ updted18:21
openstackgerritTom Barron proposed openstack/manila master: [Container driver] Adds share and share server migration  https://review.opendev.org/74083118:29
gouthamrty gmann18:32
*** LinPeiWen has quit IRC18:36
*** Reepicheep has quit IRC18:47
*** Reepicheep has joined #openstack-manila18:48
*** kaisers_ has quit IRC19:27
openstackgerritTom Barron proposed openstack/manila master: [NetApp] Add support for share server migration  https://review.opendev.org/74704819:29
*** tosky has quit IRC19:37
*** vishalmanchanda has quit IRC19:45
*** openstackgerrit has quit IRC20:17
*** openstackgerrit has joined #openstack-manila20:18
openstackgerritGoutham Pacha Ravi proposed openstack/python-manilaclient master: Add noqa markup to intentionally redefined methods  https://review.opendev.org/75081020:18
openstackgerritVictoria Martinez de la Cruz proposed openstack/manila-ui master: User messages panel  https://review.opendev.org/74255020:24
gouthamrcarloss dviroel: an API question posted to https://review.opendev.org/#/c/747043/7/manila/share/api.py20:31
* dviroel looks20:37
dviroelgouthamr: i got your point, agree that admin will have some difficulties to identify to identify the destination share-server-id.20:49
dviroelgouthamr: your idea on get_progress will work, we can search in the db for the 'source_share_server_id' and in the success scenario, the destination will be there20:50
openstackgerritVictoria Martinez de la Cruz proposed openstack/devstack-plugin-ceph master: Stop using shaman  https://review.opendev.org/74972620:51
dviroelgouthamr: and yes, we can also return the destination-share-server-id in 'get_progress', sounds good too20:51
gouthamrdviroel: great, so your thought is to allow using either the "migrating" or the "migrating_to" share server IDs and still report the progress?20:52
gouthamrdviroel: we can make the get_progress generic: "source_share_server_id" and "destination_share_server_id" can both be present in the get_progress response, wdyt?20:53
dviroelgouthamr: it is possible, will need to add more code only20:54
gouthamr^ if we allow using either IDs20:54
dviroelat this moment, all operations are supported only for the source-id20:54
dviroeladmin will need to still use the source-id to complete the migration20:54
gouthamrdviroel: yes, i don't mind if you want to leave "get_progress" as is - when the source gets deleted, the API responds with a 40420:55
gouthamrdviroel: but, make sure to provide "destination_share_server_id" in all the API responses perhaps20:55
dviroelabout that ^20:56
gouthamrdviroel: migration_start, migration_get_progress and migration_complete20:56
dviroelmigration_start for instance, we will need to change the rpc cast to call, and wait for it to be processed by the destination20:57
dviroelsince the share-server creation is handled in the manager20:57
dviroelget_progress is easy to fix that20:58
dviroelcomplete is also easy since we already have the destination-id20:58
gouthamri see20:59
gouthamrthat still makes sense20:59
gouthamrlets do it for get_progress and complete then21:00
dviroelack21:00
gouthamrty dviroel21:02
dviroelcarloss: lets work together in order to solve more issues21:03
carlosssure dviroel21:03
openstackgerritVictoria Martinez de la Cruz proposed openstack/manila-ui master: User messages panel  https://review.opendev.org/74255021:13
openstackgerritVictoria Martinez de la Cruz proposed openstack/devstack-plugin-ceph master: Stop using shaman  https://review.opendev.org/74972621:18
vkmczuul down?21:35
vkmcor is it me?21:35
* vkmc hits f521:36
gouthamrvkmc: ah, needs a restart apparently, per #openstack-infra21:48
openstackgerritGoutham Pacha Ravi proposed openstack/manila master: Update user doc index  https://review.opendev.org/74529222:12
*** raildo has quit IRC22:22
openstackgerritMerged openstack/python-manilaclient master: Add noqa markup to intentionally redefined methods  https://review.opendev.org/75081022:38
dviroelgouthamr: o/22:56
gouthamrhey dviroel22:56
dviroelgouthamr: in get_progress, if the source was already deleted I'm looking for a destination server that is already Active, which means that will only works for success scenario.22:57
dviroelgouthamr: won't be possible to check others status, since we can have failed destinations and so on, doesn't seems to make sens22:58
gouthamrdviroel: how do you identify which one's the destination at that point?22:58
dviroelthis db search will only happen if the source_server doesn't exists anymore22:58
dviroelgouthamr: we are not erasing anymore the source_share_server_id info22:59
gouthamrdviroel: oh, is that new?22:59
dviroelthere is no need for that anymore22:59
dviroelno, its already in the PS that you are reviewing22:59
dviroelIn the api we block a new migration only if:23:00
dviroelthere is already another destination_share_server with status 'server_migrating_to' that points to the same source23:00
dviroelso it is possible to start a new migration if the previous one failed.23:01
dviroeland this won't be a problem for the manager since it only search for status 'migrating_to'23:01
dviroeland ignore the other ones23:01
dviroelif we erase the 'source_share_server_id' of those failed destinations, the admin won't be able to identify the source after any errot23:02
dviroellet us know if you think that there is a gap on that approacj23:02
dviroelbut this was changed after the collab review, i think that was something that was discussed at the meeting23:03
gouthamrdviroel: yeah trying to think, i was intune with your previous approach where teh admin would be forced to ack and delete any failed migrations23:03
dviroelAnd just to remember: all destinations are new share servers, the is no reuse.Any failure (or cancelled) migration will move the share-server to Inactive23:05
gouthamrdviroel: okay, now you reset the status of the failed migration destination to "error"?23:05
dviroellet me check that again23:05
gouthamrinactive would work too23:06
dviroelcancelled destination goes to inactive, failed destination goes to error (both 1st and 2nd phase)23:07
gouthamrgood - this sorta illustrates a reason for instances23:08
dviroelboth will be ignored by the 'provide_share_server_for_share'23:08
gouthamr:)23:08
dviroeloh, and the client won't be able to do a 'get-progress' on the already deleted source-share-server, since it does a  '_find_share_server' first23:09
gouthamrdviroel: ack, i'll take a further look.. your approach for get_progress makes sense23:09
dviroelbut look that works when testing with curl23:09
gouthamrdviroel: yeah, we can remove that call its kinda redundant23:10
gouthamrdviroel: afaiu the "find" methods in the CLI are useful when resolving names23:10
gouthamrdviroel: share servers won't have names, so its a wasted lookup23:11
gouthamrdviroel: not a release stopper however, we can optimize later23:12
dviroelgouthamr: i need to take a further look in the code, but looks a little but tied with the ShareServer class in the client23:12
gouthamrdviroel: ack23:12
dviroels/but/bit23:12
dviroeltks23:13
openstackgerritGoutham Pacha Ravi proposed openstack/python-manilaclient master: Implement the first half of OSC share snapshots commands  https://review.opendev.org/73869123:20

Generated by irclog2html.py 2.17.2 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!