*** klrmn has quit IRC | 00:09 | |
*** diogogmt has joined #openstack-swift | 00:09 | |
*** jamielennox|away is now known as jamielennox | 00:20 | |
kota_ | good morning, mattoliverau o/ | 01:00 |
---|---|---|
*** sams-gleb has joined #openstack-swift | 01:21 | |
*** sams-gleb has quit IRC | 01:25 | |
mattoliverau | kota_: morning | 01:39 |
*** nadeem has joined #openstack-swift | 01:44 | |
*** klamath_ has joined #openstack-swift | 01:50 | |
*** klamath has quit IRC | 01:50 | |
*** Jeffrey4l has joined #openstack-swift | 01:50 | |
*** nadeem has quit IRC | 01:53 | |
*** zul has joined #openstack-swift | 02:01 | |
*** klrmn has joined #openstack-swift | 02:45 | |
*** nakagawamsa has joined #openstack-swift | 02:47 | |
*** sheel has joined #openstack-swift | 02:47 | |
*** ppai has joined #openstack-swift | 02:59 | |
*** ppai has quit IRC | 03:12 | |
*** janonymous has joined #openstack-swift | 03:47 | |
*** rcernin has joined #openstack-swift | 03:48 | |
*** links has joined #openstack-swift | 03:50 | |
*** arch-nemesis has joined #openstack-swift | 04:00 | |
*** pgbridge has joined #openstack-swift | 04:12 | |
*** arch-nemesis has quit IRC | 04:18 | |
*** klrmn has quit IRC | 04:35 | |
*** psachin has joined #openstack-swift | 04:40 | |
*** ppai has joined #openstack-swift | 04:40 | |
*** nadeem has joined #openstack-swift | 04:51 | |
*** rcernin has quit IRC | 04:52 | |
*** chlong has quit IRC | 04:54 | |
*** ozeri has joined #openstack-swift | 04:58 | |
*** pgbridge has quit IRC | 05:04 | |
*** SkyRocknRoll has joined #openstack-swift | 05:05 | |
*** ChubYann has quit IRC | 05:08 | |
*** chlong has joined #openstack-swift | 05:12 | |
*** jamielennox is now known as jamielennox|away | 05:24 | |
*** jamielennox|away is now known as jamielennox | 05:28 | |
*** diogogmt has quit IRC | 05:31 | |
*** diogogmt has joined #openstack-swift | 05:32 | |
*** SkyRocknRoll has quit IRC | 06:05 | |
*** pietervanw has joined #openstack-swift | 06:05 | |
*** geaaru has joined #openstack-swift | 06:10 | |
*** jamielennox is now known as jamielennox|away | 06:15 | |
*** SkyRocknRoll has joined #openstack-swift | 06:18 | |
*** nadeem has quit IRC | 06:39 | |
openstackgerrit | Cheng Li proposed openstack/python-swiftclient: Add an option: disable etag check on downloads https://review.openstack.org/323150 | 06:40 |
*** SkyRocknRoll has quit IRC | 06:50 | |
*** tesseract has joined #openstack-swift | 06:57 | |
*** nadeem has joined #openstack-swift | 06:58 | |
*** rcernin has joined #openstack-swift | 07:01 | |
*** SkyRocknRoll has joined #openstack-swift | 07:02 | |
*** sams-gleb has joined #openstack-swift | 07:03 | |
*** geaaru_ has joined #openstack-swift | 07:15 | |
*** geaaru has quit IRC | 07:17 | |
*** jamielennox|away is now known as jamielennox | 07:18 | |
*** geaaru__ has joined #openstack-swift | 07:21 | |
*** geaaru_ has quit IRC | 07:23 | |
*** geaaru__ has quit IRC | 07:27 | |
*** geaaru__ has joined #openstack-swift | 07:27 | |
*** rledisez has joined #openstack-swift | 07:32 | |
*** Jeffrey4l has quit IRC | 07:34 | |
*** natarej_ has joined #openstack-swift | 07:39 | |
*** natarej has quit IRC | 07:43 | |
*** geaaru__ has quit IRC | 07:45 | |
*** geaaru__ has joined #openstack-swift | 07:46 | |
*** geaaru_ has joined #openstack-swift | 07:51 | |
*** geaaru__ has quit IRC | 07:52 | |
*** nadeem has quit IRC | 07:57 | |
*** pietervanw_ has joined #openstack-swift | 08:00 | |
*** pietervanw has quit IRC | 08:03 | |
*** jordanP has joined #openstack-swift | 08:08 | |
openstackgerrit | Davanum Srinivas (dims) proposed openstack/swift: [WIP] Testing latest u-c https://review.openstack.org/318441 | 08:10 |
*** natarej__ has joined #openstack-swift | 08:11 | |
*** natarej_ has quit IRC | 08:14 | |
*** joeljwright has joined #openstack-swift | 08:16 | |
*** ChanServ sets mode: +v joeljwright | 08:16 | |
*** mkrcmari__ has quit IRC | 08:22 | |
*** SkyRocknRoll has quit IRC | 08:23 | |
*** asettle has joined #openstack-swift | 08:24 | |
*** dmk0202 has joined #openstack-swift | 08:26 | |
openstackgerrit | Doron Chen proposed openstack/swift: Added a test for delayed reap. The test schedules a 5-second delayed account reaping. The test checks that no reaping occurs 4 seconds later, and that full reaping occurs 6 seconds later. https://review.openstack.org/321041 | 08:26 |
*** jmccarthy has quit IRC | 08:28 | |
*** jmccarthy has joined #openstack-swift | 08:31 | |
*** SkyRocknRoll has joined #openstack-swift | 08:38 | |
*** pietervanw_ has quit IRC | 08:41 | |
*** mkrcmari__ has joined #openstack-swift | 08:54 | |
*** jordanP has quit IRC | 08:59 | |
*** pietervanw_ has joined #openstack-swift | 09:03 | |
*** ppai has quit IRC | 09:06 | |
*** permalac has quit IRC | 09:16 | |
*** ppai has joined #openstack-swift | 09:19 | |
openstackgerrit | Felix Cantournet proposed openstack/swift: Fix swift-dispersion in multi-region setups https://review.openstack.org/322820 | 09:20 |
*** daemontool has joined #openstack-swift | 09:22 | |
*** ppai has quit IRC | 09:26 | |
*** fcantournet has joined #openstack-swift | 09:27 | |
*** chlong has quit IRC | 09:29 | |
*** ppai has joined #openstack-swift | 09:40 | |
openstackgerrit | Doron Chen proposed openstack/swift: Added a test for delayed reap. https://review.openstack.org/321041 | 09:41 |
*** acoles_ is now known as acoles | 09:42 | |
openstackgerrit | Alistair Coles proposed openstack/swift: crypto - remove default root secret https://review.openstack.org/318208 | 09:42 |
*** mkrcmari__ has quit IRC | 09:43 | |
*** chlong has joined #openstack-swift | 09:46 | |
*** mvk has joined #openstack-swift | 09:47 | |
*** manous has joined #openstack-swift | 09:54 | |
*** takashi has joined #openstack-swift | 10:01 | |
*** admin6 has joined #openstack-swift | 10:01 | |
*** SkyRocknRoll has quit IRC | 10:08 | |
*** pcaruana has joined #openstack-swift | 10:11 | |
*** chlong has quit IRC | 10:15 | |
openstackgerrit | Doron Chen proposed openstack/swift: Added a test for delayed reap. https://review.openstack.org/321041 | 10:19 |
*** SkyRocknRoll has joined #openstack-swift | 10:21 | |
*** chlong has joined #openstack-swift | 10:27 | |
openstackgerrit | Alistair Coles proposed openstack/swift: crypto: Verify on-disk data https://review.openstack.org/319683 | 10:36 |
openstackgerrit | Merged openstack/swift: crypto: use derived iv for container listing etag https://review.openstack.org/321970 | 10:42 |
mahatic | acoles: thanks for fixing nits (oops about env args) and approving | 10:43 |
acoles | mahatic: np :) | 10:43 |
*** Shashikant86 has joined #openstack-swift | 10:46 | |
*** Shashikant86 has quit IRC | 10:48 | |
*** permalac has joined #openstack-swift | 10:48 | |
openstackgerrit | Alistair Coles proposed openstack/swift: crypto - more tests for other middleware overrides https://review.openstack.org/321638 | 11:00 |
*** dmk0202 has quit IRC | 11:07 | |
*** raildo-afk is now known as raildo | 11:13 | |
*** sams-gleb has quit IRC | 11:14 | |
*** psachin has quit IRC | 11:42 | |
*** dmk0202 has joined #openstack-swift | 11:42 | |
*** kei_yama has quit IRC | 11:50 | |
*** sams-gleb has joined #openstack-swift | 11:57 | |
*** takashi has quit IRC | 11:58 | |
tdasilva | good morning | 12:05 |
*** psachin has joined #openstack-swift | 12:07 | |
*** vinsh has joined #openstack-swift | 12:08 | |
*** psachin has quit IRC | 12:12 | |
*** psachin has joined #openstack-swift | 12:12 | |
*** Jeffrey4l has joined #openstack-swift | 12:20 | |
*** manous_ has joined #openstack-swift | 12:21 | |
*** arch-nemesis has joined #openstack-swift | 12:22 | |
*** arch-nemesis has joined #openstack-swift | 12:23 | |
*** manous has quit IRC | 12:24 | |
*** arch-nemesis has quit IRC | 12:29 | |
CaioBrentano | good morning! | 12:40 |
*** arch-nemesis has joined #openstack-swift | 12:42 | |
openstackgerrit | Merged openstack/swift: crypto: Verify on-disk data https://review.openstack.org/319683 | 12:46 |
*** SkyRocknRoll has quit IRC | 12:56 | |
*** diogogmt has quit IRC | 12:56 | |
pdardeau | good morning | 12:56 |
*** diogogmt has joined #openstack-swift | 12:57 | |
openstackgerrit | Alistair Coles proposed openstack/swift: crypto - add test to verify ondisk container listing https://review.openstack.org/323355 | 13:07 |
*** pauloewerton has joined #openstack-swift | 13:11 | |
*** bill_az_ has joined #openstack-swift | 13:20 | |
*** diogogmt has quit IRC | 13:25 | |
openstackgerrit | Alistair Coles proposed openstack/swift: crypto - purge crypto sysmeta from responses https://review.openstack.org/320579 | 13:26 |
openstackgerrit | Alistair Coles proposed openstack/swift: crypto - more tests for other middleware overrides https://review.openstack.org/321638 | 13:30 |
*** ppai has quit IRC | 13:33 | |
openstackgerrit | Alistair Coles proposed openstack/swift: crypto - remove default root secret https://review.openstack.org/318208 | 13:33 |
*** bill_az_ has quit IRC | 13:36 | |
*** diogogmt has joined #openstack-swift | 13:36 | |
*** ozeri has quit IRC | 13:40 | |
openstackgerrit | Alistair Coles proposed openstack/swift: crypto - stop using key id to derive GET path keys https://review.openstack.org/318148 | 13:42 |
*** klamath_ has quit IRC | 13:50 | |
*** klamath has joined #openstack-swift | 13:51 | |
*** ametts has joined #openstack-swift | 13:56 | |
*** CarlFK has joined #openstack-swift | 13:56 | |
*** admin6_ has joined #openstack-swift | 13:57 | |
*** MikeG451 has joined #openstack-swift | 13:58 | |
*** admin6 has quit IRC | 14:00 | |
*** admin6_ is now known as admin6 | 14:00 | |
*** diogogmt has quit IRC | 14:01 | |
CarlFK | I used pyrax to upload files on the cdn - https://github.com/rackspace/pyrax "recated in favor of the OpenStack SDK" | 14:02 |
CarlFK | files = web page assets (png, mp4...) | 14:03 |
*** arch-nemesis has quit IRC | 14:03 | |
CarlFK | what's the replacment? | 14:03 |
*** StraubTW has joined #openstack-swift | 14:06 | |
CarlFK | http://docs.openstack.org/developer/python-swiftclient/swiftclient.html#swiftclient.service.SwiftService.upload | 14:08 |
*** d0ugal has quit IRC | 14:15 | |
*** admin6_ has joined #openstack-swift | 14:16 | |
*** d0ugal has joined #openstack-swift | 14:17 | |
*** admin6 has quit IRC | 14:19 | |
*** admin6_ is now known as admin6 | 14:19 | |
openstackgerrit | Ondřej Nový proposed openstack/swift: Fixed typo https://review.openstack.org/323408 | 14:26 |
*** StraubTW has quit IRC | 14:36 | |
*** dmorita has joined #openstack-swift | 14:38 | |
*** StraubTW has joined #openstack-swift | 14:40 | |
*** annegentle has joined #openstack-swift | 14:41 | |
*** diogogmt has joined #openstack-swift | 14:43 | |
*** wasmum has quit IRC | 14:52 | |
*** cdelatte has joined #openstack-swift | 14:56 | |
*** rcernin has quit IRC | 15:07 | |
*** daemontool_ has joined #openstack-swift | 15:08 | |
*** StraubTW has quit IRC | 15:10 | |
*** dmorita has quit IRC | 15:10 | |
*** daemontool has quit IRC | 15:10 | |
*** daemontool_ has quit IRC | 15:11 | |
*** daemontool__ has joined #openstack-swift | 15:11 | |
openstackgerrit | Ondřej Nový proposed openstack/swift: swift-ring-builder --yes option https://review.openstack.org/323438 | 15:13 |
*** links has quit IRC | 15:15 | |
CarlFK | https://github.com/openstack/python-swiftclient | 15:16 |
CarlFK | ImportError: cannot import name 'walk' | 15:16 |
onovy | hi, can someone look to https://review.openstack.org/#/c/293904/ please? | 15:16 |
patchbot | onovy: patch 293904 - swift - Extend swift-init config handling documentation | 15:16 |
CarlFK | were do I report that? | 15:16 |
onovy | CarlFK: hi, can you share whole backtrace please? | 15:19 |
CarlFK | onovy: that's really about it. - python3 moved walk to somewhere else | 15:20 |
CarlFK | File "upload.py", line 3, in <module> | 15:21 |
CarlFK | onovy: what I would really like is an example of upload that just uploads one or two files. all this code about walking a tree and munging strings is not something I need an example of | 15:23 |
*** arch-nemesis has joined #openstack-swift | 15:24 | |
*** arch-nemesis has quit IRC | 15:24 | |
*** arch-nemesis has joined #openstack-swift | 15:24 | |
*** dmorita has joined #openstack-swift | 15:24 | |
*** dmorita has quit IRC | 15:31 | |
*** dmorita has joined #openstack-swift | 15:31 | |
*** openstackgerrit has quit IRC | 15:33 | |
*** openstackgerrit has joined #openstack-swift | 15:34 | |
*** StraubTW has joined #openstack-swift | 15:34 | |
*** psachin has quit IRC | 15:35 | |
*** pietervanw_ has quit IRC | 15:36 | |
*** dmorita has quit IRC | 15:36 | |
*** marok has joined #openstack-swift | 15:37 | |
onovy | CarlFK: https://bugs.launchpad.net/python-swiftclient/+filebug | 15:38 |
*** wasmum has joined #openstack-swift | 15:38 | |
CarlFK | thanks | 15:38 |
onovy | https://github.com/openstack/python-swiftclient/blob/master/doc/source/client-api.rst | 15:39 |
onovy | "uploads one or two files" ^^ | 15:39 |
onovy | higher-level API: https://github.com/openstack/python-swiftclient/blob/master/doc/source/service-api.rst | 15:39 |
joeljwright | CarlFK: thanks for the report | 15:41 |
CarlFK | onovy: "Create a new object with the contents of a local text file:" that's what I was looking for. thank you !!! | 15:41 |
*** dmk0202 has quit IRC | 15:42 | |
onovy | CarlFK: you are welcome | 15:43 |
*** sams-gleb has quit IRC | 15:47 | |
*** _JZ_ has joined #openstack-swift | 15:51 | |
*** tesseract has quit IRC | 15:54 | |
*** lakshmiS has joined #openstack-swift | 15:54 | |
*** pcaruana has quit IRC | 15:59 | |
notmyname | good morning | 15:59 |
*** gyee has joined #openstack-swift | 16:00 | |
notmyname | it was a long holiday weekend in the US. time to dive back into openstack stuff | 16:01 |
tdasilva | notmyname: hope you had a good time | 16:02 |
notmyname | yeah, I did. the family went camping | 16:02 |
tdasilva | nice :-) | 16:02 |
CarlFK | https://github.com/openstack/python-swiftclient/blob/master/doc/source/service-api.rst#example-6 "The code below demonstrates the us of..." | 16:08 |
CarlFK | Um, there is no code below. | 16:09 |
joeljwright | CarlFK: those docs really aren't supposed to be read there - the examples aren't inlined | 16:09 |
notmyname | CarlFK: you're looking at the raw source, not the generated docs. start with http://docs.openstack.org/developer/python-swiftclient/ (and the doc you're looking at is http://docs.openstack.org/developer/python-swiftclient/apis.html#the-swiftclient-swiftservice-api) | 16:10 |
CarlFK | ah.. that makes sense | 16:10 |
joeljwright | notmyname: can we get the new docs online soon? | 16:11 |
notmyname | joeljwright: yeah, that would be really great, wouldn't it. | 16:11 |
joeljwright | CarlFK: the code examples for the service-api.rst page are in the examples folder | 16:11 |
notmyname | joeljwright: hmm...here's an idea. instead of us waiting on "them" (whoever that is) to get the versioning thing in the sidebar, let's push forward with the updated docs and get "them" to catch up | 16:12 |
joeljwright | CarlFK: https://github.com/openstack/python-swiftclient/tree/master/examples | 16:12 |
joeljwright | notmyname: makes sense | 16:12 |
joeljwright | what do I need to do to push it faster? | 16:13 |
notmyname | joeljwright: there's a yaml file somewhere that controls when docs are built. swiftclient needs to be changed to match whatever swift has. IIRC we'll put swiftclient into a "service" category instead of a "library" category. | 16:13 |
joeljwright | ok, no problem, I'll go hunting for it | 16:17 |
*** thumpba has joined #openstack-swift | 16:18 | |
notmyname | joeljwright: great, thanks! | 16:20 |
notmyname | joeljwright: after I get through my email, I'll see what I can dig up too | 16:20 |
*** thumpba has quit IRC | 16:23 | |
*** thumpba has joined #openstack-swift | 16:24 | |
*** rledisez has quit IRC | 16:24 | |
*** StraubTW has quit IRC | 16:31 | |
*** StraubTW has joined #openstack-swift | 16:32 | |
notmyname | joeljwright: find anything yet? | 16:34 |
joeljwright | notmyname: no - I'm still digging through docs contributor guides | 16:35 |
joeljwright | notmyname: there was nothing obvious in either the swift or swiftclient repos | 16:35 |
*** garthb has joined #openstack-swift | 16:35 | |
joeljwright | this is as close as I've got: 'You will also need to add the openstack-server-publish job to the appropriate repositories so that the index page is re-published with every commit.' | 16:36 |
notmyname | I'm looking through the project-config repo now. I think it will either be here or the infra-config repo | 16:36 |
notmyname | ah! | 16:36 |
*** StraubTW has quit IRC | 16:36 | |
notmyname | that might help finding something | 16:36 |
notmyname | yeah. in layout.yaml | 16:37 |
*** vinsh has quit IRC | 16:38 | |
notmyname | joeljwright: swift has openstack-server-publish-jobs. swiftclient has openstack-client-publish-jobs | 16:39 |
*** vinsh has joined #openstack-swift | 16:39 | |
joeljwright | where is this? | 16:39 |
joeljwright | which repo? | 16:39 |
notmyname | I think swiftclient needs the server publish jobs, but I need to find the definitions of those | 16:39 |
notmyname | in openstack-infra/project-config repo in zuul/layout.yaml | 16:40 |
joeljwright | aha | 16:40 |
joeljwright | thanks | 16:40 |
*** permalac has quit IRC | 16:42 | |
notmyname | and the jobs are defined in the same file | 16:43 |
notmyname | joeljwright: do you want to do the honors? | 16:43 |
*** vinsh_ has joined #openstack-swift | 16:43 | |
*** vinsh has quit IRC | 16:44 | |
joeljwright | are we agreed that the only difference between the server publish and client publish jobs is that the client one only publishes on a release tag? | 16:44 |
joeljwright | if so I'll just submit a patch to change the client to server-publish | 16:45 |
*** asettle has quit IRC | 16:45 | |
joeljwright | notmyname: looking at the job definitions in project-config/jenkins/jobs/openstack-publish-jobs.yaml that looks like the only difference | 16:47 |
*** sams-gleb has joined #openstack-swift | 16:47 | |
notmyname | yep | 16:48 |
notmyname | I agree | 16:48 |
joeljwright | kk, patch on its way shortly | 16:48 |
notmyname | joeljwright: thanks. I'll +1 it with words saying something like "yes, really. this is what we want. it's ok" | 16:49 |
*** mvk has quit IRC | 16:51 | |
*** sams-gleb has quit IRC | 16:52 | |
joeljwright | notmyname: this might be more complex - the layout also specifies publish-to-pypi, so is this only run on releases? | 16:57 |
*** fcantournet has quit IRC | 16:58 | |
joeljwright | notmyname: probably not - that looks like it only runs on release anyway | 16:58 |
joeljwright | right, patch incoming | 16:58 |
*** links has joined #openstack-swift | 17:00 | |
*** rcernin has joined #openstack-swift | 17:01 | |
*** diogogmt has quit IRC | 17:02 | |
*** stewie925_ has joined #openstack-swift | 17:02 | |
*** diogogmt has joined #openstack-swift | 17:03 | |
notmyname | joeljwright: I see it. thanks | 17:05 |
joeljwright | blimey, that was fast | 17:05 |
*** jaakkos has quit IRC | 17:05 | |
*** jaakkos has joined #openstack-swift | 17:05 | |
joeljwright | notmyname: I didn't even have time to copy the link to post here :) | 17:05 |
*** dmorita has joined #openstack-swift | 17:06 | |
*** nadeem has joined #openstack-swift | 17:07 | |
notmyname | joeljwright: I gotta keep up that mystique of not letting any swift-related things go unnoticed. ;-) | 17:07 |
openstackgerrit | Merged openstack/swift: Fixed typo https://review.openstack.org/323408 | 17:07 |
*** nadeem has quit IRC | 17:08 | |
joeljwright | :) | 17:09 |
*** nadeem has joined #openstack-swift | 17:09 | |
*** links has quit IRC | 17:11 | |
*** joeljwright has quit IRC | 17:11 | |
notmyname | timburke: around? | 17:22 |
*** manous_ has quit IRC | 17:26 | |
*** klrmn has joined #openstack-swift | 17:26 | |
*** acoles is now known as acoles_ | 17:32 | |
*** asettle has joined #openstack-swift | 17:37 | |
*** wasmum has quit IRC | 17:41 | |
*** timur has joined #openstack-swift | 17:43 | |
*** asettle has quit IRC | 17:46 | |
*** suyash has joined #openstack-swift | 17:46 | |
CarlFK | https://github.com/openstack/python-swiftclient/blob/master/examples/upload.py | 17:46 |
CarlFK | can someone tell me how auth credentials are handled ? | 17:46 |
*** sams-gleb has joined #openstack-swift | 17:49 | |
notmyname | ntata: FYI https://review.openstack.org/#/c/312718/ will be discussed at today's TC meeting. that should determine what happens with your patch https://review.openstack.org/#/c/313676/ | 17:49 |
patchbot | notmyname: patch 312718 - governance - add resolution explaining which tests we think def... | 17:49 |
patchbot | notmyname: patch 313676 - swift - add Tempest Plugin for functional tests | 17:49 |
*** sams-gleb has quit IRC | 17:53 | |
*** daemontool__ has quit IRC | 17:54 | |
*** daemontool has joined #openstack-swift | 17:55 | |
*** timur has quit IRC | 17:59 | |
*** timur has joined #openstack-swift | 18:00 | |
*** annegentle has quit IRC | 18:04 | |
*** ChubYann has joined #openstack-swift | 18:08 | |
*** ChubYann has quit IRC | 18:09 | |
*** ChubYann has joined #openstack-swift | 18:09 | |
ntata | notmyname, looking forward to know what happens with it.. | 18:10 |
*** wasmum has joined #openstack-swift | 18:18 | |
openstackgerrit | John Dickinson proposed openstack/swift: add explicit HA info to the deployment guide https://review.openstack.org/323524 | 18:28 |
clayg | heyoh! | 18:30 |
notmyname | that patch is because I want to be explicit about HA in swift so that it's easy to add something to http://docs.openstack.org/ha-guide/index.html so that we can also qualify for the HA tag when that gets approved | 18:30 |
notmyname | clayg: did you see all the great stuff briancline added to the golang readme? cool stuff | 18:31 |
clayg | notmyname: just saw the email from gerrit - haven't read it yet - nice work briancline | 18:32 |
notmyname | yeah, I'm looking forward to walking through it too | 18:32 |
*** wasmum has quit IRC | 18:36 | |
*** sams-gleb has joined #openstack-swift | 18:49 | |
*** sams-gleb has quit IRC | 18:54 | |
*** asettle has joined #openstack-swift | 18:54 | |
*** rvasilets__ has joined #openstack-swift | 18:57 | |
*** asettle has quit IRC | 18:59 | |
*** klrmn has quit IRC | 19:01 | |
clayg | weeee | 19:04 |
*** dmorita has quit IRC | 19:10 | |
*** adu has joined #openstack-swift | 19:12 | |
*** dmorita has joined #openstack-swift | 19:13 | |
*** tqtran has joined #openstack-swift | 19:15 | |
*** dmorita has quit IRC | 19:18 | |
openstackgerrit | Merged openstack/swift: go: Add tons of SAIO+Hummingbird details to readme https://review.openstack.org/322401 | 19:19 |
*** klrmn has joined #openstack-swift | 19:23 | |
clayg | oh snap! | 19:24 |
*** sheel has quit IRC | 19:25 | |
*** Jeffrey4l_ has joined #openstack-swift | 19:32 | |
*** Jeffrey4l has quit IRC | 19:34 | |
*** gyee has quit IRC | 19:35 | |
*** daemontool has quit IRC | 19:38 | |
*** wasmum has joined #openstack-swift | 19:40 | |
hurricanerix | I was just looking at that ^^^ and it says the object-server is considered "feature-complete". Should that be updated to say "almost feature-complete", then list what is missing? Or can we ignore it since it should be feature complete by the time it lands to master? | 19:40 |
notmyname | I'd actually ignore it for a different reason. what's currently on the hummingbird branch is different than what needs to be brought to master. yeah, the object server will be more feature complete, but the proxy won't be brought over. but really, there isn't going to be a merge from current hummingbird branch to master exactly, so I'm ok with ignoring stuff like that | 19:42 |
*** mvk has joined #openstack-swift | 19:42 | |
notmyname | and now that the TC threads (may) have died down somewhat, I hope to start working with everyone to define what that set of stuff we're bringing into master actually is | 19:43 |
notmyname | in fact, I had just switched over to the hummingbird branch to go through the new stuff in the readme :-) | 19:43 |
*** dmorita has joined #openstack-swift | 19:45 | |
*** adu has quit IRC | 19:46 | |
*** sams-gleb has joined #openstack-swift | 19:51 | |
hurricanerix | ahh, ok, sounds good. | 19:56 |
*** sams-gleb has quit IRC | 19:56 | |
*** asettle has joined #openstack-swift | 20:03 | |
*** dmk0202 has joined #openstack-swift | 20:05 | |
*** garthb_ has joined #openstack-swift | 20:09 | |
*** garthb has quit IRC | 20:10 | |
CarlFK | does anyone know of some code that uses swift.upload (which is really with SwiftService(options=_opts) as swift | 20:11 |
pdardeau | mmotiani: did any of your recent changes pertaining to region happen to touch the man page for swift-ring-builder? | 20:13 |
mmotiani | pdardeau, Yes | 20:13 |
mmotiani | pdardeau: Oh wait. no not yet | 20:14 |
mmotiani | it still needs to be merge | 20:14 |
notmyname | ntata: patch 312718 was approved by the TC. so that means that in-tree tests for swift can *not* be used for defcore compliance. all tests which check for defcore's required capabilities must now live in the tempest repo | 20:14 |
patchbot | notmyname: https://review.openstack.org/#/c/312718/ - governance - add resolution explaining which tests we think def... | 20:14 |
ntata | notmyname, :( | 20:14 |
notmyname | ntata: which implies that your patch to make our functional tests work as a tempest plugin perhaps just lost their biggest reason for existing | 20:15 |
notmyname | ntata: yeah, I agree. :-( | 20:15 |
*** daemontool has joined #openstack-swift | 20:15 | |
*** CarlFK has quit IRC | 20:15 | |
pdardeau | notmyname: are the defcore required capabilities documented somewhere? | 20:16 |
ntata | notmyname, does that mean that tempest will have a separate set of tests to test our APIs? Wouldn't that be a duplicated copy from what already exists in swift repo? | 20:17 |
ntata | tempest always had their own set of object storage tests.. but who maintains them? | 20:17 |
notmyname | ntata: yes, and they're maintained by the tempest team | 20:18 |
pdardeau | mmotiani: which patch is it? | 20:18 |
notmyname | pdardeau: this is totally not snarky. the most readable thing I've seen is https://github.com/openstack/defcore/blob/master/2016.01/2016.01.required.txt (look for the object_storage stuff at the end) | 20:19 |
notmyname | there's also some json files in that repo that also have definitions. eg https://github.com/openstack/defcore/blob/master/next.json | 20:20 |
notmyname | so https://github.com/openstack/defcore/blob/master/next.json#L102 starts the list of required capabilities, and you find what that means later in that same doc | 20:21 |
pdardeau | notmyname: thx. i don't think i would've ever stumbled upon that | 20:21 |
notmyname | and a capability is defined by a set of tests that must pass | 20:21 |
notmyname | eg https://github.com/openstack/defcore/blob/master/next.json#L1676 | 20:22 |
notmyname | I don't know what achievements are | 20:22 |
*** joeljwright has joined #openstack-swift | 20:22 | |
*** ChanServ sets mode: +v joeljwright | 20:22 | |
clayg | notmyname: it's for like when you complete boss battles in a video game - like you unlocked the defate OSML troll achievement | 20:24 |
notmyname | hmmm...seems there's a difference between objectstore-object-put and objectstore-object-create and objectstore-object-upload | 20:26 |
*** dmk0202 has quit IRC | 20:28 | |
pdardeau | so many helpful comments lately | 20:28 |
*** daemontool_ has joined #openstack-swift | 20:31 | |
*** daemontool has quit IRC | 20:33 | |
*** dmk0202 has joined #openstack-swift | 20:44 | |
*** raildo is now known as raildo-afk | 20:47 | |
*** gyee has joined #openstack-swift | 20:48 | |
*** sams-gleb has joined #openstack-swift | 20:52 | |
openstackgerrit | Mohit Motiani proposed openstack/swift: Add region in search-value of swift-ring-builder manpage https://review.openstack.org/323580 | 20:56 |
clayg | oh snap! | 20:56 |
*** sams-gleb has quit IRC | 20:57 | |
notmyname | gophers, do I have to have pwd in the current $GOPATH to be able to make stuff work? | 20:57 |
openstackgerrit | Mohit Motiani proposed openstack/swift: Add region in search-value of swift-ring-builder manpage https://review.openstack.org/323580 | 20:58 |
zaitcev | I don't even have GOPATH | 20:58 |
zaitcev | (but Hummingbird may require it) | 20:58 |
notmyname | eg on the new stuff in the README, it says symlink the swift code checkout to the $GOPATH, then cd to $GOPATH and do the `make ...` dance | 20:58 |
zaitcev | I hate the dumb idea of the "workspace". Rob Pike imported that shit from Android and it SUKETH. | 20:58 |
notmyname | what if I had cd'd to the code instead of the pwd | 20:58 |
zaitcev | What? Make now? I guess I need to read that readme... | 20:59 |
notmyname | yeah, it's got a Makefile and everything :-) | 20:59 |
zaitcev | Good lord | 21:00 |
openstackgerrit | Mohit Motiani proposed openstack/swift: Add region in search-value of swift-ring-builder manpage https://review.openstack.org/323580 | 21:00 |
redbo | Actually now that I think about it, using /opt/hummingbird is weird for dev. My GOPATH is /home/redbo/go | 21:00 |
notmyname | I suppose redbo could have written a "Go Build Reasonableness" or something... | 21:00 |
notmyname | redbo: yeah, the permissions setup with that is weird | 21:00 |
zaitcev | Yeah, at least ~go | 21:00 |
zaitcev | ~/go | 21:00 |
notmyname | maybe briancline just runs everything as root ;-) | 21:01 |
notmyname | ok, so if $GOTPATH is ~/go in my SAIO, that's ok? or can I have $GOPATH as the actual "go" subdir in the swift source tree? | 21:02 |
*** daemontool_ has quit IRC | 21:02 | |
zaitcev | You can but then you have to change it for every project. Maybe that Makefile sets GOPATH though | 21:02 |
redbo | It needs to be ~/go, and under that src/github.com/openstack/swift | 21:02 |
notmyname | ok, thanks | 21:03 |
*** thumpba has quit IRC | 21:03 | |
redbo | Well there is gb that does go builds more conventionally rather than having a GOPATH. | 21:03 |
zaitcev | Interesting. | 21:04 |
notmyname | ah ha. and I must be in $GOPATH for the make commands to work | 21:06 |
notmyname | being in ~/swift/go doesn't cut it | 21:06 |
zaitcev | Well duh. You didn't hack on Android before? | 21:07 |
zaitcev | Trying to recall another system with "workspace" idea. SunPro did that for C++, IIRC. | 21:08 |
clayg | notmyname: there's some great rants about "why the fuck does go care so much about my fucking project layout!?" and "fuck you go just follow symlinks and stop being so fucking annoying" - they're great. | 21:08 |
notmyname | sounds fun! | 21:08 |
clayg | yeah you can google for it | 21:08 |
zaitcev | So far my hatred only released as these small things https://github.com/zaitcev/cld2/blob/master/make.sh | 21:09 |
notmyname | I'll look for those exact quotes ;-) | 21:09 |
notmyname | ok, so where is DESTDIR in the Makefile set? ie why does `make install` want to install to /usr/bin? | 21:09 |
*** pauloewerton has quit IRC | 21:10 | |
notmyname | ah I see. it's *not* set. so it's going to the root. and so I should set it to put it in ~ or something | 21:11 |
notmyname | redbo: what are you doing on your dev box? | 21:11 |
notmyname | redbo: where do you `make install` to? | 21:11 |
*** garthb_ has quit IRC | 21:12 | |
redbo | sudo make develop | 21:12 |
notmyname | oh! develop. that sounds more normal to my python brain | 21:13 |
redbo | so it symlinks /usr/local/bin/hummingbird to (all that stuff)/bin/hummingbird and I just have to recompile it and it's picked up. But that may change. | 21:13 |
*** garthb_ has joined #openstack-swift | 21:14 | |
clayg | that (great|terrible) thing about Makefiles' is you can teach them to do *anything* | 21:14 |
redbo | I think we need to move go/cmd/hummingbird.go to go/cmd/hummingbird/main.go and then we don't really need the make file so much, "go build ./..." will build the binary and then put it into $GOPATH/bin like it's supposed to. | 21:14 |
notmyname | bah. of course root doesn't have my env set up... | 21:15 |
redbo | clayg: that will also fix it making a "cmd" executable | 21:16 |
clayg | redbo: i don't remember complaining about that (or what that means) - but it sounds like a good idea | 21:17 |
clayg | oh, maybe i sorta remember that | 21:18 |
notmyname | redbo: when would be a good time to merge from master? current hummingbird branch doesn't know about copy middleware? | 21:19 |
notmyname | apparently I really like ? | 21:19 |
notmyname | ???? | 21:20 |
redbo | Whenever, I just never think to do it. | 21:20 |
notmyname | ok. after I get through this I can do it (if you haven't by then) | 21:21 |
redbo | We still haven't touched anything outside of go/ so it's usually pretty smooth. | 21:22 |
notmyname | woohoo! I have now (for the first time ever) written 4 bytes with hummingbird and successfully gotten them back out of the system | 21:22 |
zaitcev | Hummingbird does not support reverse listings I expect | 21:25 |
zaitcev | Which version middleware wants or something like that. | 21:25 |
zaitcev | tst\n ? | 21:25 |
redbo | That doesn't touch object server | 21:25 |
zaitcev | oh, right. I'm dumb. | 21:26 |
zaitcev | Waaait a moment. That sounds like a project! Is anyone working on accounts and containers in Go? | 21:26 |
zaitcev | brb | 21:27 |
*** CarlFK has joined #openstack-swift | 21:27 | |
notmyname | https://gist.github.com/notmyname/18fcf28d05c5f4ff059613a6ac9853e9 | 21:29 |
notmyname | wheeee | 21:30 |
notmyname | it's like I'm living in the future | 21:30 |
notmyname | (which is a year ago in redbo's timeframe) | 21:30 |
clayg | notmyname: now run the benchmark on the replicators! | 21:30 |
*** lakshmiS has quit IRC | 21:31 | |
clayg | redbo: does the object server devcie limit stuff do some trick where it holds the connection for a few seconds before dropping it if a device is "too busy"? | 21:32 |
redbo | It does that for replication, but not regular operations. | 21:33 |
clayg | oh, but the default is 25 now maybe? | 21:34 |
clayg | maybe it was always 25 and i lost my mind... | 21:34 |
redbo | I don't remember if that changed recently. | 21:35 |
openstackgerrit | John Dickinson proposed openstack/swift: small tweaks to the golang readme https://review.openstack.org/323597 | 21:38 |
clayg | notmyname: I think the hummingbird branch of vagrant-swift-all-in-one sorta works too | 21:38 |
*** dmk0202 has quit IRC | 21:38 | |
openstackgerrit | John Dickinson proposed openstack/swift: Merge branch 'master' into feature/hummingbird https://review.openstack.org/323599 | 21:42 |
notmyname | redbo: please +2/+A if that looks good to you | 21:43 |
redbo | Is this going to make a bunch of emails? | 21:43 |
clayg | heh | 21:44 |
notmyname | yeah, probably | 21:44 |
clayg | redbo: do it! email make people feel important! | 21:44 |
redbo | My openstack email folder will go from 11,000 unread to 11,025 unread | 21:45 |
clayg | redbo: that's the ticket! | 21:46 |
notmyname | lol | 21:46 |
notmyname | wow. look at all those emails! | 22:02 |
*** asettle has quit IRC | 22:06 | |
notmyname | ok, so I'm new to this whole go thing | 22:10 |
notmyname | `go get` fetches all my dependencies into GOPATH? | 22:10 |
notmyname | and `go vet` does ...? | 22:10 |
redbo | Yes, and go vet does some basic static analysis checks for common mistakes. | 22:11 |
notmyname | ah ok. | 22:11 |
notmyname | what's the "./..." mean? the triple dots? | 22:11 |
*** CaioBrentano has quit IRC | 22:11 | |
redbo | it tells it to do whatever in all the sub-directories | 22:12 |
notmyname | ok, thanks. ... is about the most ungooglable thing I've seen | 22:12 |
notmyname | `go test` is a built-in test framework? kinda like unittest in python? | 22:12 |
redbo | Yeah | 22:13 |
notmyname | or is it more like nose in that it discovers and runs tests? | 22:13 |
redbo | More like nose | 22:13 |
notmyname | ah ok | 22:13 |
notmyname | the pattern is foo.go and foo_test.go? | 22:13 |
*** nadeem has quit IRC | 22:13 | |
notmyname | int he same dir? | 22:13 |
redbo | Yes | 22:14 |
*** ametts has quit IRC | 22:14 | |
notmyname | redbo: half joking, but not really, question. how does gholt do golang with his 80-char-wide terminal? | 22:14 |
notmyname | I mean, my editor's setup is kinda tuned for python. any hints for go formatting? | 22:15 |
notmyname | I mean, tabs?! | 22:15 |
clayg | rofl | 22:15 |
clayg | notmyname: install govim? | 22:15 |
notmyname | clayg: seems like https://github.com/DisposaBoy/GoSublime might be what I need | 22:17 |
notmyname | or it might be terrible. let's find out! | 22:17 |
zaitcev | notmyname: You can use Solaris tabs for anything in parenthesis, like https://github.com/zaitcev/cld2/blob/master/cld2.go#L79 | 22:20 |
zaitcev | notmyname: also, := | 22:20 |
clayg | wee we're havig fun! | 22:21 |
zaitcev | So, 80-character terminal is no problem with Go. It's only a problem with a shared Go project with other people, some of which may be jerks and sociopaths | 22:21 |
clayg | IF YOU TYPE 81 CHARS I WILL *KILL* YOU | 22:22 |
zaitcev | I meant to say may be brilliant developers who do not need to abide by the obsolete conventions. | 22:22 |
*** joeljwright has quit IRC | 22:23 | |
clayg | better | 22:23 |
clayg | :P | 22:23 |
mattoliverau | morning | 22:24 |
redbo | Some people use govim, I don't, I just have a little code in my vimrc that runs goimports when I save the file. | 22:25 |
*** geaaru_ has quit IRC | 22:28 | |
*** CarlFK has quit IRC | 22:34 | |
*** MikeG451 has quit IRC | 22:35 | |
notmyname | redbo: so would it be reasonable to update ./.unittests with go vet and go test? | 22:36 |
redbo | Yeah, that seems like it'd be reasonable. | 22:38 |
notmyname | ok | 22:38 |
notmyname | redbo: what would it take to teach swift-init how to start/stop the golang code? or to back up a bit, why'd you choose to write a different launcher instead of using swift-init? | 22:44 |
zaitcev | This may be a bad time to mention that Red Hat recommends using normal SystemD units, which our packaging provides with "dnf install openstack-swift". | 22:46 |
*** wasmum has quit IRC | 22:46 | |
redbo | I don't think it would be too bad, clayg was working on that. | 22:46 |
notmyname | zaitcev: I wouldn't know a normal systemd unit from an abnormal one. so what would that look like in swiftlandia? | 22:47 |
notmyname | redbo: yeah, he said (in the office) that he had a start of something, but it's not done and he's doing other stuff at the moment | 22:47 |
zaitcev | systemctl enable openstack-swift-proxy | 22:47 |
zaitcev | But personally I still use swift-init. | 22:48 |
notmyname | zaitcev: what do we have in our repo to implement that? | 22:48 |
zaitcev | I'm just mentioning it so that you know that our binaries are pefectly well behaved for any start system... Maybe we could just take what redbo has for hummingbird and run everything else under it, I dunno. | 22:49 |
notmyname | zaitcev: oh ok | 22:49 |
notmyname | I was hoping that we could keep one thing for all of swift and have swift-init Just Work(tm) for anyting swift related you want to do. | 22:50 |
zaitcev | I'm obligated to write missing SystemD units... in exchange for money. But if you run on OSX or Windows that's of no use to you. | 22:50 |
notmyname | short-term, I don't want to rewrite my resetswift et al scripts to do hummingbird stuff. long term, I think ops should continue to use swift-init (or whatever calls swift-init) and it just keeps working regardless of the implementation | 22:51 |
notmyname | zaitcev: yeah, but if you're trying to run swift on osx or windows, umm... I may have some bad news for you | 22:51 |
zaitcev | oh, right... XFS | 22:51 |
notmyname | meh. doesn't really require xfs. just anythign that has xattrs | 22:51 |
notmyname | wow. swift on HFS+. what a world (of pain) | 22:52 |
notmyname | someone once said that's the worst filesystem ever http://www.cio.com/article/2868393/linus-torvalds-apples-hfs-is-probably-the-worst-file-system-ever.html | 22:53 |
*** sams-gleb has joined #openstack-swift | 22:53 | |
redbo | I was just working on getting it compiling on osx. More for dev than actually running it. Also I suspect once it works on osx, it'll work on freebsd too. | 22:54 |
clayg | redbo: it would have been trivial except for the differences about which args go where and with what names - i'm not I really care for the direction i was going -> https://gist.github.com/clayg/9f837a37bb3943aa7c368b578e9d5151 | 22:55 |
clayg | notmyname: ^^ | 22:55 |
mattoliverau | There is a go language plugin for all Jet Brains IDE's so it works on Py Charm.. apparently, I haven't used it yet. But I might give it a go, and yeah I'll have to install govim too now. | 22:56 |
*** rvasilets__ has quit IRC | 22:56 | |
*** sams-gleb has quit IRC | 22:58 | |
clayg | also til dnf is the new yum | 22:58 |
notmyname | oh is that what that is? I had heard of dtf and diaf and bnf. | 23:00 |
*** darrenc is now known as darrenc_afk | 23:03 | |
hurricanerix | i use atom, which has some nice go packages | 23:06 |
openstackgerrit | Merged openstack/swift: small tweaks to the golang readme https://review.openstack.org/323597 | 23:08 |
hurricanerix | specifically autocomplete-go, go-plus and go-debug i think are the ones i have loaded | 23:08 |
*** nadeem has joined #openstack-swift | 23:12 | |
stewie925_ | hello, would like some assistance with creating a test case for https://review.openstack.org/#/c/319988 | 23:12 |
notmyname | stewie925_: sure | 23:13 |
notmyname | stewie925_: looks like it should be relatively simple | 23:14 |
stewie925_ | hi notmyname | 23:14 |
notmyname | stewie925_: look in test/unit/common/ring/test_ring.py. that's where all of the unit test coverage for the file you modified is | 23:14 |
stewie925_ | its my first time to do unit test - am working with my colleague who submitted the code change | 23:14 |
notmyname | stewie925_: since you're updating _get_part_nodes, then you need to add a test case that will specifically test the code path you added | 23:15 |
stewie925_ | yes, I do see the test_ring and I know the test_get_part_node needs to be updated to accomodate the test for the new 'if' condition | 23:15 |
notmyname | stewie925_: you should add a new test_get_part_nodes_out_of_bounds() (or something similarly named) | 23:15 |
stewie925_ | ohh | 23:15 |
notmyname | stewie925_: and pass in good/bad values for part and ensure that the ValueError is raised | 23:15 |
notmyname | that's it | 23:15 |
stewie925_ | ahh that is to test the negative condition for the get_part_nodes.... | 23:16 |
notmyname | stewie925_: if you look at the coverage report that's generated at the end of the unittest run, you should see that the lines you added to ring.py are now covered (whereas they aren't now) | 23:16 |
stewie925_ | oh I see | 23:17 |
notmyname | redbo: is it good practice to always do `make get test` instead of just `make test`? ie is the `make get` thing something I should always do before anything else? | 23:19 |
*** diogogmt has quit IRC | 23:19 | |
stewie925_ | thank you notmyname ! | 23:19 |
notmyname | stewie925_: thanks for working on it! | 23:20 |
notmyname | stewie925_: is this something you saw yourself when using swift? or is it something where you found an open bug and jumped in to help? | 23:20 |
notmyname | stewie925_: hmm...seems like it doesn't pass the pep8/flake8 test either. you'll need to fix that before it can land | 23:21 |
stewie925_ | yeah it was a bug that my co-worker saw, and he fixed it but needed help with test case creation, so I jumped in and helped | 23:21 |
stewie925_ | yes, we had issues running pep8 on local machine | 23:21 |
notmyname | stewie925_: cool. now you've got me curious. how are you using swift today? what are you doing with it? | 23:21 |
stewie925_ | actually, let me go ahead and run the pep8 test locally with his fix | 23:21 |
stewie925_ | hello, pretty much an Openstack newbie here, was looking for low-hanging fruits to fix | 23:22 |
*** nadeem has quit IRC | 23:23 | |
*** darrenc_afk is now known as darrenc | 23:23 | |
notmyname | stewie925_: it would seem that there are also some other tests that are hitting that code path and throwing an error. http://logs.openstack.org/88/319988/2/check/gate-swift-python27/9aad670/console.html.gz#_2016-05-23_18_05_39_362 | 23:24 |
notmyname | stewie925_: you'll probably need to doctor up the other code too to get the tests all passing | 23:24 |
notmyname | stewie925_: you can run the tests locally with `tox -epy27` or `./.unittests` | 23:25 |
redbo | notmyname: I usually only run it when dependencies change or setting up a new system. But I imagine dependency management will be something openstack decides there's a way to do. | 23:25 |
notmyname | redbo: you said glide looked reasonable? | 23:25 |
openstackgerrit | John Dickinson proposed openstack/swift: added golang tests to .unittests https://review.openstack.org/323617 | 23:26 |
clayg | lol @ reconstructor tests blowing up with the get_part_nodes validation - what a whole can of worms get unravleded fixing that interface to blow up when you give it garbage | 23:26 |
redbo | Yeah, I think so. But I haven't used it enough to figure out how it sucks. | 23:26 |
notmyname | heh | 23:27 |
stewie925_ | hi notmyname sorry I am back | 23:27 |
notmyname | redbo: so if I can figure out where ./.unittests are called from some test job, that patch should then give us golang unittests in the gate for free (ie not needing to rely on your non-voting ones) | 23:28 |
stewie925_ | I am running the pep8 test locally to fix the pep8 issue | 23:28 |
clayg | notmyname: won't it need to like install go setup all that stuff and compile them before it can run tests? | 23:28 |
notmyname | redbo: but alas, I don't think .unittests is actually called. it's just using nosetests | 23:28 |
clayg | notmyname: or tox? | 23:29 |
notmyname | clayg: yeah, but redbo already wrote all that down at https://gist.github.com/redbo/d7133a069341a2f17119 | 23:29 |
*** kei_yama has joined #openstack-swift | 23:29 | |
notmyname | clayg: so my plan is to get that into a script in the source repo and then get the -infra CI jobs to call it. then, ta da! upstread golang tests | 23:29 |
clayg | notmyname: ok, good luck - -infa is down the docker? | 23:30 |
notmyname | nah, not going to worry with that | 23:30 |
notmyname | going to try more for the stuff that's in the README | 23:30 |
notmyname | and that's where I'll be working with the -infra team to get it set up | 23:30 |
redbo | It's medium hard getting docker to run with a filesystem that supports xattrs. It does that unified filesystem thing by default. | 23:30 |
clayg | notmyname: but isn't that the part that sets up has path suffix and downloads golang? | 23:31 |
notmyname | yeah, but it's not like docker is the only way to do that | 23:31 |
clayg | notmyname: ok, sorry - i'm sure it's all doable - gl | 23:32 |
notmyname | heh | 23:32 |
notmyname | mostly I want to write an email that's along the lines of "while you were discussing if this is allowed, we went ahead and did it and it's great" | 23:32 |
notmyname | ;-) | 23:32 |
notmyname | stewie925_: and? what did the local pep8 say? | 23:33 |
stewie925_ | yikes its giving me errors - its in http://paste.openstack.org/show/506666/ | 23:34 |
*** arch-nemesis has quit IRC | 23:35 | |
notmyname | stewie925_: here's a shortcut that can avoid that stuff for the time being: git diff HEAD~1 --name-only | grep '\.py$' | xargs pep8 -r' | 23:36 |
stewie925_ | I checked out changes from https://review.openstack.org/#/c/319988/2 and ran 'tox -e pep8' and got those errors | 23:36 |
patchbot | stewie925_: patch 319988 - swift - get_part_nodes should raise error on invalid part | 23:36 |
notmyname | stewie925_: yeah, you'll need to get that fixed (ie install liberasurecode) long-term, but that bash command above will work for just getting something done for this patch | 23:37 |
openstackgerrit | Merged openstack/swift: Merge branch 'master' into feature/hummingbird https://review.openstack.org/323599 | 23:38 |
notmyname | stewie925_: shortcut for getting liberasurecode (and anything else that's needed that's not a python dependency) is to look in other-requirements.txt | 23:38 |
notmyname | stewie925_: `bindep -b` run from in the source tree on your dev box will show you what's not installed | 23:40 |
stewie925_ | the source tree should be /home/swift in this case I believe? | 23:41 |
notmyname | stewie925_: is this on your SAIO? | 23:41 |
stewie925_ | on my virtualbox | 23:42 |
stewie925_ | vm | 23:42 |
notmyname | how did you set up your dev environment? ie how'd you make/configure that vm? | 23:42 |
stewie925_ | hi it was part of the instructions to set up devstack | 23:43 |
notmyname | ah | 23:44 |
notmyname | well then | 23:44 |
notmyname | ok | 23:44 |
notmyname | so using devstack might work. probably works. you've got a good chance of being able to do something | 23:45 |
notmyname | personally, I don't use it. nor do any of the other swift devs who are contributing. devstack doesn't really set up a swift environment that tests swift in any interesting ways (multiple drives, storage polices, etc) | 23:46 |
zaitcev | Wait, what. I always just run tox -e pep8 and it works with no problems or additional tinkering, and assuredly without devstack. | 23:46 |
stewie925_ | hi notmyname - (a) base memory 4500mb (b) vdi storage =64GB (c) network 1= NAT, network 2 = virtualbox hostonly Ethernet Adapter | 23:46 |
notmyname | stewie925_: however, don't be discouraged! | 23:46 |
notmyname | stewie925_: ok, so let's try to work with what you have for the time being | 23:46 |
*** CarlFK has joined #openstack-swift | 23:46 | |
notmyname | stewie925_: wherever the source is checked out in your devstack vm, you can make sure the dependencies are installed (using bindep as above) | 23:47 |
notmyname | stewie925_: then the tox commands should work for you | 23:47 |
stewie925_ | let me run the 'bindep -b' from the swift directory | 23:48 |
notmyname | stewie925_: but after you get through this patch, there's a better way to have a long-term swift dev environment | 23:48 |
stewie925_ | yeah it couldnt find bindep | 23:48 |
notmyname | `pip install bindep` | 23:49 |
notmyname | it's turtles all the way down | 23:49 |
stewie925_ | oh, thank you so much | 23:50 |
stewie925_ | let me do that | 23:50 |
*** dmorita has quit IRC | 23:50 | |
stewie925_ | should I just run the pip install on the home directory? | 23:50 |
stewie925_ | or on the project (ie, swift) directory | 23:51 |
notmyname | cschwede: for when you wake up, sdague and clarkb took a look at patch 304465. seems like there might be an issue still since the gate-tempest-dsvm-multinode-full job isn't passing. but they were talking about it in the -infra channel earlier today, so you should check those logs too | 23:51 |
patchbot | notmyname: https://review.openstack.org/#/c/304465/ - openstack-infra/devstack-gate - Use subnodes for Swift storage nodes in a multinod... | 23:51 |
notmyname | stewie925_: in the project. ie in the directory with the code | 23:51 |
stewie925_ | oh thank you | 23:52 |
*** dmorita has joined #openstack-swift | 23:52 | |
*** dmorita has quit IRC | 23:53 | |
*** dmorita has joined #openstack-swift | 23:53 | |
stewie925_ | OSError: [Errno 13] Permission denied: '/usr/local/bin/pbr' | 23:53 |
*** chlong has quit IRC | 23:53 | |
stewie925_ | the download looks good - but the install process failed - http://paste.openstack.org/show/506667/ | 23:55 |
notmyname | yep. permissions issue. use sudo | 23:55 |
stewie925_ | can i pvt msg you? | 23:57 |
notmyname | stewie925_: yes, but I'm probably going home soon. unless it's sensitive info or something, keeping the conversation in here means that there might be other people who can help if I'm not online :-) | 23:58 |
stewie925_ | ahh sure no problem :) | 23:58 |
notmyname | stewie925_: what time zone are you in? | 23:59 |
stewie925_ | Pacific time zone - almost 'done' for the day too | 23:59 |
notmyname | ah. me too | 23:59 |
stewie925_ | but let me share this - we can continue tomorrow :) | 23:59 |
stewie925_ | http://paste.openstack.org/show/506668/ | 23:59 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!