Friday, 2018-03-09

*** sorrison_laptop has quit IRC00:02
*** gerardgine has quit IRC00:03
*** gerardgine has joined #openstack-swift00:03
*** yashmurty has joined #openstack-swift00:05
*** sorrison_laptop has joined #openstack-swift00:07
*** sorrison_laptop has quit IRC00:11
*** sorrison_laptop has joined #openstack-swift00:21
*** sorrison_laptop has quit IRC00:26
openstackgerritMatthew Oliver proposed openstack/swift master: py3: port cli recon tests  https://review.openstack.org/55104000:28
*** gerardgine has quit IRC00:29
mattoliverau^^ my first py3 attempt. Only tested via existing unit tests, haven't tested using swift_recon manually.00:29
*** sorrison_laptop has joined #openstack-swift00:33
*** gerardgine has joined #openstack-swift00:35
timburkego mattoliverau!00:35
*** sorrison_laptop has quit IRC00:38
*** itlinux has joined #openstack-swift00:39
*** tovin07_ has joined #openstack-swift00:47
*** sorrison_laptop has joined #openstack-swift00:47
mattoliverautimburke: thanks for the review, yeah I'm in the same boat. my next step is to actually  test the command. But this initial step was brainless enough for my jetlagged brain :)00:49
*** sorrison_laptop has quit IRC00:52
*** sorrison_laptop has joined #openstack-swift01:00
openstackgerritMerged openstack/swift master: Functional tests for staticweb middleware  https://review.openstack.org/50326201:04
*** sorrison_laptop has quit IRC01:05
*** sorrison_laptop has joined #openstack-swift01:11
timburkeyay! thanks torgomatic! if you wanted to continue in that vein, there's also https://review.openstack.org/#/c/549277/ (though I'm not sure when I'll get around to having a more palatable way to push storage_domain into the result of get_cluster_info)01:12
patchbotpatch 549277 - swift - Make storage_domain configurable in func tests01:12
torgomatictimburke: I can take a look at it01:12
timburkethanks. then we can have some domain_remap func tests in the gate, too01:13
*** gyee has quit IRC01:13
torgomaticoh jeez, that's a hack and a half01:14
*** sorrison_laptop has quit IRC01:16
timburkeif you've got a better idea....01:19
*** sorrison_laptop has joined #openstack-swift01:21
timburkethe thing that bugs me most about it is that it's only necessary for the in-process tests. it was fine for me to just update test.conf against my saio in patchset 101:22
torgomaticI wish I had a better idea, but I don't01:24
torgomaticmaybe use an environment variable to set things up for the in-process func tests?01:25
*** sorrison_laptop has quit IRC01:26
openstackgerritMerged openstack/swift feature/deep: Add assertions to probe test, specify container policy  https://review.openstack.org/55054801:27
*** lifeless has quit IRC01:27
*** gerardgine has quit IRC01:31
kota_good morning01:31
kota_nice mattoliverau for py3 port01:32
*** sorrison_laptop has joined #openstack-swift01:32
mattoliveraukota_: morning01:33
kota_timburke: to see the log for in-process testing, https://review.openstack.org/#/c/548226/ might help us?01:33
patchbotpatch 548226 - swift - Pull execution logs of functests01:33
*** sorrison_laptop has quit IRC01:50
*** sorrison_laptop has joined #openstack-swift01:57
kota_mattoliverau: o/01:58
*** sorrison_laptop has quit IRC02:02
*** sorrison_laptop has joined #openstack-swift02:03
*** sorrison_laptop has quit IRC02:08
*** sorrison_laptop has joined #openstack-swift02:13
*** sorrison_laptop has quit IRC02:17
*** sorrison_laptop has joined #openstack-swift02:22
*** sorrison_laptop has quit IRC02:27
*** sorrison_laptop has joined #openstack-swift02:53
*** sorrison_laptop has quit IRC02:58
*** sorrison_laptop has joined #openstack-swift03:01
*** lifeless has joined #openstack-swift03:06
*** sorrison_laptop has quit IRC03:06
*** sorrison_laptop has joined #openstack-swift03:10
*** sorrison_laptop has quit IRC03:15
*** sorrison_laptop has joined #openstack-swift03:19
*** sorrison_laptop has quit IRC03:24
*** sorrison_laptop has joined #openstack-swift03:27
*** sorrison_laptop has quit IRC03:31
*** kei_yama has quit IRC03:35
*** psachin has joined #openstack-swift03:39
*** sorrison_laptop has joined #openstack-swift03:42
*** sorrison_laptop has quit IRC03:46
*** gerardgine has joined #openstack-swift03:50
*** gkadam has joined #openstack-swift03:55
*** sorrison_laptop has joined #openstack-swift03:57
*** sorrison_laptop has quit IRC04:01
*** kei_yama has joined #openstack-swift04:03
*** sorrison_laptop has joined #openstack-swift04:06
*** sorrison_laptop has quit IRC04:11
*** sorrison_laptop has joined #openstack-swift04:17
*** memogarcia has joined #openstack-swift04:19
*** StevenK has quit IRC04:21
*** sorrison_laptop has quit IRC04:21
*** StevenK has joined #openstack-swift04:23
*** armaan has quit IRC04:27
*** armaan has joined #openstack-swift04:27
*** sorrison_laptop has joined #openstack-swift04:31
*** germs has quit IRC04:33
*** germs has joined #openstack-swift04:34
*** germs has quit IRC04:34
*** germs has joined #openstack-swift04:34
*** germs has quit IRC04:34
*** germs has joined #openstack-swift04:35
*** sorrison_laptop has quit IRC04:35
*** sorrison_laptop has joined #openstack-swift04:40
*** sorrison_laptop has quit IRC04:44
*** sorrison_laptop has joined #openstack-swift04:49
*** sorrison_laptop has quit IRC04:54
*** memogarcia has quit IRC04:58
*** germs has quit IRC04:59
*** germs has joined #openstack-swift05:00
*** germs has quit IRC05:00
*** germs has joined #openstack-swift05:00
*** sorrison_laptop has joined #openstack-swift05:00
*** sorrison_laptop has quit IRC05:05
*** sorrison_laptop has joined #openstack-swift05:06
*** sorrison_laptop has quit IRC05:10
*** sorrison_laptop has joined #openstack-swift05:16
*** sorrison_laptop has quit IRC05:20
*** sorrison_laptop has joined #openstack-swift05:30
*** sorrison_laptop has quit IRC05:35
*** tovin07_ has quit IRC05:39
*** tovin07_ has joined #openstack-swift05:40
*** sorrison_laptop has joined #openstack-swift05:44
*** germs has quit IRC05:45
*** itlinux has quit IRC05:48
*** germs has joined #openstack-swift05:48
*** germs has joined #openstack-swift05:48
*** sorrison_laptop has quit IRC05:49
*** germs has quit IRC05:53
*** sorrison_laptop has joined #openstack-swift05:55
*** sorrison_laptop has quit IRC05:59
*** sorrison_laptop has joined #openstack-swift06:02
*** itlinux has joined #openstack-swift06:05
*** sorrison_laptop has quit IRC06:07
*** itlinux has quit IRC06:09
*** sorrison_laptop has joined #openstack-swift06:11
*** sorrison_laptop has quit IRC06:15
*** sorrison_laptop has joined #openstack-swift06:18
*** armaan has quit IRC06:18
*** armaan has joined #openstack-swift06:18
*** itlinux has joined #openstack-swift06:20
*** sorrison_laptop has quit IRC06:21
*** germs has joined #openstack-swift06:24
*** germs has quit IRC06:24
*** germs has joined #openstack-swift06:24
*** gkadam has quit IRC06:28
*** germs has quit IRC06:32
*** hseipp has joined #openstack-swift06:41
*** hseipp has quit IRC06:46
*** pcaruana has joined #openstack-swift07:27
*** tovin07__ has joined #openstack-swift07:30
*** tovin07_ has quit IRC07:31
*** d0ugal_ has quit IRC07:37
*** m3m0 has joined #openstack-swift07:39
*** hseipp has joined #openstack-swift07:39
*** d0ugal_ has joined #openstack-swift07:55
*** rcernin has quit IRC08:00
m3m0hello :) has anyone faced this issue after restarting swift in an environment with a single controller?08:13
m3m0http://paste.openstack.org/show/696026/08:13
*** tovin07_ has joined #openstack-swift08:16
*** tovin07__ has quit IRC08:19
*** geaaru has joined #openstack-swift08:24
*** gkadam has joined #openstack-swift08:25
m3m0and it seems that there is "something" chaning the permissions of that file everytime08:27
m3m0if I manually change the permissions, swift process put them back into a state in which it cannot read them08:27
m3m0lol08:27
*** armaan has quit IRC08:27
*** armaan has joined #openstack-swift08:27
*** yashmurty has quit IRC08:31
*** tesseract has joined #openstack-swift08:38
*** threestrands_ has quit IRC08:48
kota_m3m0: could you check the owner of the directory and your configuration of swift? in particular, swift will run with the 'user' in the conf file so that, if it gets mismatch, it might cause a trouble.08:52
m3m0kota_: this are my permissiones08:56
m3m0permissions*08:56
m3m0http://paste.openstack.org/show/696038/08:56
m3m0even after I change them, "something" brings them back08:57
m3m0and everything started after I installed https://github.com/openstack/liberasurecode from source08:57
m3m0because I had an issue after my swift on a single controller failed to restart08:57
m3m0(know issue I believe)08:58
m3m0also had to install https://github.com/openstack/pyeclib from source09:00
kota_i don't think the pyeclib/liberasurecode re-install is related to the recon permission.09:00
kota_that should occur everytime if you had mis-configuration on the permission.09:01
kota_every restart09:01
kota_it looks like /var/cache/swift directory is not owned by 'swift' user and no write permission except root.09:02
kota_oh, i might be wrong09:03
kota_ls -altrh /var/cache/swift/ -> . owned by swift09:04
m3m0kota_: this is the permission tree http://paste.openstack.org/show/696043/09:04
kota_hm...09:04
m3m0this file contains /etc/selinux/targeted/contexts/files/file_contexts, what it seems to be the right config for that dir and it matches to my second environment where I have 3 controllers09:04
kota_quick check. do you (with swift user permission) touch the file by hand?09:07
kota_the file, or the dir09:07
m3m0mmm not with the swift user, but with root, I tried several things: chmod, chown09:08
*** d0ugal_ has quit IRC09:16
*** d0ugal has joined #openstack-swift09:17
*** d0ugal has quit IRC09:17
*** d0ugal has joined #openstack-swift09:17
*** d0ugal has quit IRC09:32
*** d0ugal has joined #openstack-swift09:34
openstackgerritAlistair Coles proposed openstack/swift feature/deep: fix docstring for _get_next_shard_range_upper  https://review.openstack.org/55122809:40
*** d0ugal has quit IRC09:42
*** mvk has joined #openstack-swift09:48
*** yashmurty has joined #openstack-swift09:54
*** d0ugal has joined #openstack-swift09:56
*** yashmurty has quit IRC09:59
*** tovin07_ has quit IRC10:01
*** armaan has quit IRC10:06
*** armaan has joined #openstack-swift10:06
m3m0kota_: found the problem10:06
*** armaan has quit IRC10:11
m3m0kota_: but now I have a question, can I rebuild the rings because seems that swift deleted all my data :(10:11
m3m0does anyone know how to recover quarantined files?10:29
*** kei_yama has quit IRC10:32
m3m0I just moved them from quarantined/objects to objects/10:41
m3m0hope it works because is a lot of data10:42
*** psachin has quit IRC10:52
*** gerardgine has quit IRC10:56
*** psachin has joined #openstack-swift10:58
*** yashmurty has joined #openstack-swift10:59
openstackgerritMerged openstack/swift feature/deep: Fix swift.cli.find_shard_ranges script  https://review.openstack.org/55103511:07
*** yashmurty has quit IRC11:27
*** psachin has quit IRC11:29
*** psachin has joined #openstack-swift11:33
*** m3m0 has quit IRC11:45
*** silor has joined #openstack-swift12:14
*** gkadam_ has joined #openstack-swift12:43
*** gkadam has quit IRC12:46
openstackgerritKota Tsuyuzaki proposed openstack/swift feature/s3api: WIP: avoid global CONF instance  https://review.openstack.org/55127312:57
*** hseipp has quit IRC13:03
*** germs has joined #openstack-swift13:06
*** germs has quit IRC13:06
*** germs has joined #openstack-swift13:06
*** germs has quit IRC13:07
*** armaan has joined #openstack-swift13:17
*** armaan has quit IRC13:19
*** armaan has joined #openstack-swift13:20
*** hseipp has joined #openstack-swift13:20
openstackgerritMerged openstack/swift feature/deep: fix docstring for _get_next_shard_range_upper  https://review.openstack.org/55122813:20
*** armaan has quit IRC13:24
*** yashmurty has joined #openstack-swift13:27
*** yashmurty has quit IRC13:31
*** m3m0 has joined #openstack-swift13:47
*** kallenp1 has joined #openstack-swift13:59
kallenp1Hi, I am trying to install 2nd node which is running in LXC container. Can I replace sda with mountpoint ? swift-ring-builder account.builder add --region 1 --zone 1 --ip 192.168.224.240 --port 6202 --device /storage/swift/node2 --weight 100 ?14:00
*** gkadam__ has joined #openstack-swift14:01
*** gkadam_ has quit IRC14:03
DHEkallenp1: in your object-server.conf (and container and account confs) is a setting called 'devices'. The ring setting for device is just concatenated onto that setting to determine where the data goes14:05
DHEyou can use any name you want and it doesn't have to be a mount point. but some assumptions are made that it is so that if you unmount the disk (eg: it's dead) then the services will assume a failed device and not use that directory14:06
kallenp1OK, I will try it14:08
kallenp1cat /etc/swift/object-server.conf | grep device14:09
kallenp1devices = /storage/swift/node214:09
DHEwell, useless use of cat aside :)...14:09
kallenp1May I use this command to make rings ? swift-ring-builder account.builder add --region 1 --zone 1 --ip 192.168.224.240 --port 6202 --device /storage/swift/node2 --weight 100 ? Is it right ?14:09
DHEthe intention is that you would use "--device node2"  and you would set "devices = /storage/swift" and let the concatenation do its thing14:10
kallenp1ok, I will try it :-) thanks14:11
*** silor has quit IRC14:13
*** silor has joined #openstack-swift14:13
kallenp1OK, I changed my account-server.conf container-server.conf and object-server.conf and set devices = /storage/swift14:13
kallenp1in devices = /storage/swift is dir "node2"14:14
kallenp1wift-ring-builder account.builder add --region 1 --zone 1 --ip 192.168.224.240 --port 6202 --device node2 —weight 10014:14
kallenp1is this right ?14:14
DHElooks good... I can't recall if you need to restart the service or not...14:19
DHEalso don't forget to chown the directory/mountpoint so swift can write into it14:19
kallenp1ok, thanks :)14:21
openstackgerritAlistair Coles proposed openstack/swift feature/deep: Make shard-info annotate lines with node index  https://review.openstack.org/55129714:25
openstackgerritAlistair Coles proposed openstack/swift feature/deep: Add more debug logging to usync  https://review.openstack.org/55129814:25
openstackgerritKota Tsuyuzaki proposed openstack/swift feature/s3api: Avoid global CONF instance  https://review.openstack.org/55127314:37
*** saint_ has joined #openstack-swift15:02
*** germs has joined #openstack-swift15:08
*** m3m0 has quit IRC15:10
kallenp1Swift proxy not start. Any idea ?  https://pastebin.com/s0gKEWyA15:13
*** germs has quit IRC15:13
kallenp1DHE: Mar  9 16:20:47 storage2 container-updater: node2 is not mounted15:21
*** rickflare2 has quit IRC15:22
*** gerardgine has joined #openstack-swift15:40
DHEI said that above. there's a config setting to make it not check for mount points. which means it can't auto-detect a drive marked as failed (since you're supposed to unmount failed drives)15:40
*** gerardgine has quit IRC15:40
kallenp1https://pastebin.com/PUR5cksf16:02
*** pcaruana has quit IRC16:02
kallenp1ok, howto setup it ? where ?16:03
timburkegood morning16:07
kallenp1mount_check = false16:09
openstackgerritKota Tsuyuzaki proposed openstack/swift feature/s3api: Avoid global CONF instance  https://review.openstack.org/55127316:10
kota_timburke: good morning16:11
kota_timburke: i know you're busy on feature/deep but if you think something about the patch 551273, please let me know.16:12
patchbothttps://review.openstack.org/#/c/551273/ - swift (feature/s3api) - Avoid global CONF instance16:12
kota_that is one of the clean up things i'd like to make it done before merge the branch to the master.16:13
acoleskota_: what are you doing here?!? it's Saturday16:16
timburkekota_? what are you still doing up!?16:16
kota_lol16:16
kota_the patch touches a lot of place in the code so that I had like to make it works before I forget any place I touched.16:17
kota_it seems like that gets worked fine in my local so I'm now preparing to go to my bed :)16:18
kota_acoles, timburke: let me go to sleep. see you good weekend.16:19
acoleskota_: sleep well!16:19
timburkekota_: good night! sleep in later today16:19
*** kallenp1 has quit IRC16:38
*** SkyRocknRoll has joined #openstack-swift16:39
*** gkadam__ has quit IRC16:42
*** kallenp has joined #openstack-swift16:44
*** psachin has quit IRC16:53
*** Faster-Fanboi has quit IRC17:00
*** germs has joined #openstack-swift17:09
*** germs has quit IRC17:09
*** germs has joined #openstack-swift17:09
*** germs has quit IRC17:14
*** kallenp has left #openstack-swift17:14
*** SkyRocknRoll has quit IRC17:14
openstackgerritAlistair Coles proposed openstack/swift feature/deep: Make shard-info annotate lines with node index  https://review.openstack.org/55129717:17
openstackgerritAlistair Coles proposed openstack/swift feature/deep: Add more debug logging to usync  https://review.openstack.org/55129817:17
openstackgerritAlistair Coles proposed openstack/swift feature/deep: Add EXPANDING state to ShardRange  https://review.openstack.org/55133117:17
openstackgerritAlistair Coles proposed openstack/swift feature/deep: Make ShardRange.update_state idempotent  https://review.openstack.org/55133217:17
openstackgerritAlistair Coles proposed openstack/swift feature/deep: Include other shard ranges when updating root  https://review.openstack.org/55133317:17
notmynamegood morning17:23
*** hseipp has quit IRC17:25
*** gerardgine has joined #openstack-swift17:31
*** gyee has joined #openstack-swift17:43
*** germs has joined #openstack-swift18:06
*** germs has quit IRC18:06
*** germs has joined #openstack-swift18:06
*** germs has quit IRC18:07
*** germs has joined #openstack-swift18:08
*** germs has quit IRC18:08
*** germs has joined #openstack-swift18:08
*** yashmurty has joined #openstack-swift18:28
*** yashmurty has quit IRC18:32
*** itlinux has quit IRC18:50
openstackgerritAlistair Coles proposed openstack/swift feature/deep: Add exclude_states arg to ContainerBroker.get_shard_ranges  https://review.openstack.org/55135518:57
openstackgerritAlistair Coles proposed openstack/swift feature/deep: Use explicit state rather than subtlety to control when we update root  https://review.openstack.org/55135618:57
*** gerardgine has quit IRC18:57
*** geaaru has quit IRC18:59
*** silor1 has joined #openstack-swift19:00
*** psachin has joined #openstack-swift19:00
*** silor has quit IRC19:02
*** silor1 is now known as silor19:02
*** tesseract has quit IRC19:05
*** silor has quit IRC19:21
*** hseipp has joined #openstack-swift19:21
*** silor has joined #openstack-swift19:21
*** gerardgine has joined #openstack-swift19:36
*** hseipp has quit IRC19:41
*** silor has quit IRC19:47
openstackgerritMerged openstack/swift feature/deep: Make shard-info annotate lines with node index  https://review.openstack.org/55129719:54
*** itlinux_ has joined #openstack-swift20:14
*** threestrands has joined #openstack-swift20:22
*** itlinux_ has quit IRC20:35
*** psachin has quit IRC20:38
*** itlinux has joined #openstack-swift20:38
*** itlinux has quit IRC20:43
openstackgerritMerged openstack/swift feature/deep: Add more debug logging to usync  https://review.openstack.org/55129820:43
*** silor has joined #openstack-swift20:59
*** gerardgine has quit IRC21:01
*** silor has quit IRC21:21
*** threestrands has quit IRC21:22
*** armaan has joined #openstack-swift21:37
*** armaan has quit IRC21:38
*** geaaru has joined #openstack-swift21:38
*** armaan has joined #openstack-swift21:38
*** gerardgine has joined #openstack-swift21:41
*** armaan has quit IRC21:43
*** gerardgine has quit IRC21:55
*** SkyRocknRoll has joined #openstack-swift21:58
*** yashmurty has joined #openstack-swift22:28
*** AndyWojo has quit IRC22:28
*** AndyWojo has joined #openstack-swift22:28
*** yashmurty has quit IRC22:32
*** saint_ has quit IRC22:36
notmynametdasilva: FWIW the extended maintenance gerrit patch has a new patch set, which IMO is better. it removes the "separate team managing and releasing old stuff" issue I was most concerned with22:52
openstackgerritTim Burke proposed openstack/swift feature/deep: ?items=shard is dead; long live X-Backend-Record-Type: shard  https://review.openstack.org/55140723:10
openstackgerritTim Burke proposed openstack/swift feature/deep: Continue to make progress even when one broker trips an exception  https://review.openstack.org/55140823:16
*** gerardgine has joined #openstack-swift23:50

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