Friday, 2015-10-23

*** ho has joined #openstack-swift00:00
*** Ailus has joined #openstack-swift00:01
*** siva_krishnan has quit IRC00:01
hogood morning!00:03
*** rohit_ has quit IRC00:04
*** Ailus has quit IRC00:06
mattoliverauho: morning00:27
mattoliveraunotmyname: so long as they're awesome pics then its OK :p00:28
*** willsama has quit IRC00:28
*** garthb_ has joined #openstack-swift00:31
openstackgerritZack M. Davis proposed openstack/swift: SLO docs(tring): manifest params in table, code block; copyedits  https://review.openstack.org/23873000:32
homattoliverau: morning!00:34
mattoliverauSo just coming home from the next baby scan, looks like my first child will be a girl :)00:34
*** diogogmt has quit IRC00:35
*** garthb has quit IRC00:35
*** garthb_ has quit IRC00:36
homattoliverau: great! :-)00:37
*** m_kazuhiro has joined #openstack-swift00:43
kota_hello00:54
kota_mattoliverau: congrats!00:54
mattoliveraukota_: morning and thanks :)01:01
*** zul has quit IRC01:01
*** Guest8218 has quit IRC01:03
*** km has joined #openstack-swift01:04
notmynamemattoliverau: heh01:04
notmynamemattoliverau: congrats!!01:04
*** km is now known as Guest6919701:04
*** breitz has quit IRC01:09
*** rminmin has joined #openstack-swift01:13
hrouThat's awesome mattoliverau, congrats !01:15
mattoliverauThanks hrou and notmyname :)01:16
notmynamemattoliverau: what's the expected due date?01:20
mattoliveraunotmyname: 17th of March01:22
notmynamethat's a great birthday. maybe she'll come a few days early ;-)01:22
notmyname(mine's the 14th)01:22
*** bill_az has joined #openstack-swift01:25
*** bill_az_ has joined #openstack-swift01:25
*** bill_az_ has quit IRC01:41
*** diogogmt has joined #openstack-swift01:52
mattoliverauThat would be awesome :)01:54
*** zhill has joined #openstack-swift01:57
*** zhill has quit IRC02:01
*** wbhuber has joined #openstack-swift02:03
*** david-lyle has quit IRC02:13
*** zhill has joined #openstack-swift02:18
*** zhill has quit IRC02:22
*** bill_az_ has joined #openstack-swift02:25
*** willsama has joined #openstack-swift02:26
*** willsama has quit IRC02:30
*** bill_az_ has quit IRC02:32
*** m_kazuhiro has quit IRC02:33
*** janonymous has joined #openstack-swift02:41
openstackgerritOpenStack Proposal Bot proposed openstack/python-swiftclient: Updated from global requirements  https://review.openstack.org/8925002:43
* janonymous would be travelling to japan this evening. 02:44
openstackgerritOpenStack Proposal Bot proposed openstack/swift: Updated from global requirements  https://review.openstack.org/8873602:44
*** bill_az has quit IRC02:47
gmmahahi, on running unittests in my setup i see a lot of failures and all of them are "AttributeError: 'Input' object has no attribute 'set_hundred_continue_response_headers'02:47
gmmaha"02:47
gmmahahas anyone ever seen this before? could you please help me with some pointers to fix this?02:48
*** zhill has joined #openstack-swift02:50
*** zhill has quit IRC02:54
*** nadeem has joined #openstack-swift03:02
*** zaitcev has quit IRC03:02
*** Guest69197 has quit IRC03:10
*** zaitcev has joined #openstack-swift03:12
*** ChanServ sets mode: +v zaitcev03:12
*** diogogmt has quit IRC03:13
*** trifon has joined #openstack-swift03:15
*** david-lyle has joined #openstack-swift03:15
*** rminmin has quit IRC03:17
*** david-lyle has quit IRC03:23
*** wbhuber has quit IRC03:27
notmynameI just checked in for my flight03:29
notmynamegmmaha: still around? it sounds like you might have an old version of eventlet installed?03:29
gmmahanotmyname: yes sir. am around03:29
gmmahaohhhh03:29
notmynamegmmaha: you need to have at least eventlet 0.16.103:30
gmmahaaaah. thanks. yeah, it seems i am running 0.13.003:30
gmmahapip freeze | grep eventlet03:30
gmmahaeventlet==0.13.003:30
notmynameyup. we (swift community) added that feature to eventlet to enable some of the internal cluster communication. upgrade eventlet and you should be good03:31
*** m_kazuhiro has joined #openstack-swift03:31
*** david-lyle has joined #openstack-swift03:32
ZyricGood luck with your flight notmyname, have an awesome trip :)03:32
gmmahaaah cool.. thanks for the tip03:32
notmynameZyric: I don't actually leave until tomorrow night :-)03:32
gmmahathanks a ton for the help.03:32
notmynameI still have a *lot* to do before then. or that's the way it feels03:33
notmynamegmmaha: please don't hesitate to ask if you have other questions03:33
notmynamegmmaha: how are you using swift? or what's your interest in it?03:34
gmmahanotmyname: wil def do. thanks for the help03:34
gmmahajust started working on swift. i am with Intel i believe paul got us introduced a few days back03:37
notmynamegmmaha: right! I hadn't connected your irc nick03:37
gmmahaaah no worries :003:38
notmynamegmmaha: I'm actually working a little on a talk peluse and I are giving together next week03:38
gmmahai did read about it ( in the meeting & chats)03:38
gmmahathere are a lot of interesting topics you guys are discussing this time (though still trying to wrap my head around ) :)03:39
notmynamegmmaha: what are you interested in? anything that stands out for you?03:43
*** jamielennox|away is now known as jamielennox03:43
notmynamegmmaha: I just ran some community stats and see that you are the most recent contributor to swift! (review comment)03:45
gmmahathere was soem talk about ring optimizations( very curious on what the new apporach is)03:46
notmynamehttp://d.not.mn/total_contribs.png http://d.not.mn/contrib_activity.png http://d.not.mn/active_contribs.png03:46
gmmahaencryption a little. :)03:46
gmmahabut in truth, too new to swift. feels like i am in a toy store. everything is shiny and i want to try them all out ;)03:47
notmynamelol03:47
notmynameyeah, I'm really interested in the ring placement too. clayg has been working a lot on that in the last couple of weeks.03:47
*** Zyric has quit IRC03:48
gmmahasorry for the newbie question, but all the sessions are recorded right?03:49
gmmahaand ohhh please dont hesitate to ignore me if you have work to get done before travel. :)03:49
notmynameno worries03:50
hroucrypto is cool gmmaha, good choice ; )03:50
notmynamehrou: lol03:50
gmmahahrou: :)03:50
notmynamegmmaha: yes, all the conference talks are recorded. but the summit sessions (the developer part) isn't03:50
*** zhill has joined #openstack-swift03:50
gmmahanotmyname: aaah03:50
gmmahahrou: the previous project, i got the privilege of working with a super awesome security team. Its starts rubbing on you :)03:51
hrougmmaha, similar story here actually back on my days working on databases !  Yea there's plenty of crypto work if you're interested (even just reviews to start if you like !)03:53
notmynameto go with those graphs above, here's current swift project numbers:03:53
notmynameGlobal first date is: 2010-07-0803:53
notmynameGlobal last date is: 2015-10-2303:53
notmyname233 patch authors found03:53
notmyname435 review commentors found03:53
notmyname473 total unique contributors found03:53
hrounotmyname, is it for master only btw ?03:54
*** zhill has quit IRC03:55
notmynameyes03:55
gmmahahrou: awesome. thanks.. will definitely start snooping around. at this point, just getting my feet wet and understand how swift works03:56
notmynamegmmaha: good plan. I'd suggest finding some of the overviews available online and doing reviews03:57
notmynamegmmaha: and yes, crypto is cool, but do other stuff too :-)03:57
gmmahahaha. absolutely. still the toy store for me. will be a while before it becomes the garage :)03:58
hrougmmaha, that's great !  Feel free to propose changes to the "first contribution to swift" page if you think it'd help others, that was put together fairly recently03:58
gmmahahrou: for sure. Will do.03:58
gmmahaohh a question that I and another person in the team were talking about today. was there ever a discussion to script out the whole SAIO setup?03:59
*** trifon has quit IRC03:59
notmynamegmmaha: yup. here https://github.com/swiftstack/vagrant-swift-all-in-one03:59
hrou: ) many folks have: https://github.com/swiftstack/vagrant-swift-all-in-one / https://github.com/thiagodasilva/ansible-saio04:00
gmmahanotmyname: hrou awesome.. thanks for the links04:00
* gmmaha goes to bookmark them and try them out04:00
*** links has joined #openstack-swift04:01
*** nadeem has quit IRC04:02
*** km has joined #openstack-swift04:04
*** km is now known as Guest8699804:04
notmynamepeluse: for whenever you get online....I think I've got a decent rough-draft at the presentation. combined a lot of your data with doug's.04:06
notmynamepeluse: I still want to make some if it prettier (all the parts that don't have graphs). I'll work on that tomorrow or on the plane04:07
notmynamepeluse: when do you get to your hotel? we can go over it sunday/monday night or tuesday sometime04:08
*** nadeem has joined #openstack-swift04:23
*** nadeem has quit IRC04:24
*** mac_ified has quit IRC04:24
*** zhill has joined #openstack-swift04:26
*** ChanServ changes topic to "Review Dashboard: https://goo.gl/iLt6Ld | Summit etherpads: https://wiki.openstack.org/wiki/Design_Summit/Mitaka/Etherpads#Swift | Summit schedule: http://mitakadesignsummit.sched.org/type/swift | Logs: http://eavesdrop.openstack.org/irclogs/%23openstack-swift/"04:26
notmynametopic updated with a link to the summit session etherpads04:26
*** haomaiwang has joined #openstack-swift04:27
*** zhill has quit IRC04:31
kota_notmyname: nice04:37
*** zaitcev has quit IRC04:38
*** jlhinson has joined #openstack-swift04:48
*** zhill has joined #openstack-swift04:51
*** nadeem has joined #openstack-swift04:55
*** zhill has quit IRC04:55
kota_update global ec cluster etherpad to link my slide for summit discussion.04:55
notmynamethanks04:58
*** nadeem has quit IRC05:00
*** siva_krishnan has joined #openstack-swift05:00
*** jamielennox is now known as jamielennox|away05:02
*** trifon has joined #openstack-swift05:02
*** haomaiwang has quit IRC05:05
*** hugokuo has quit IRC05:20
*** klrmn has quit IRC05:20
*** joearnold has quit IRC05:20
*** swifterdarrell has quit IRC05:20
*** charz has quit IRC05:20
*** balajir has quit IRC05:20
*** bobby2 has quit IRC05:20
*** anderstj has quit IRC05:20
*** acorwin_ has quit IRC05:20
*** mlanner has quit IRC05:20
*** treyd_ has quit IRC05:20
*** chrisnelson_ has quit IRC05:20
*** alpha_ori has quit IRC05:20
*** amandap has quit IRC05:20
*** ctennis has quit IRC05:20
*** timburke_ has quit IRC05:20
*** zackmdavis has quit IRC05:20
*** david-lyle has quit IRC05:24
*** peterlisak has joined #openstack-swift05:24
*** jlhinson has quit IRC05:28
*** jlhinson has joined #openstack-swift05:39
*** acorwin has joined #openstack-swift05:42
*** amandap has joined #openstack-swift05:42
*** anderstj has joined #openstack-swift05:43
*** balajir has joined #openstack-swift05:44
*** bobby2 has joined #openstack-swift05:44
*** chrisnelson has joined #openstack-swift05:45
*** ctennis has joined #openstack-swift05:45
*** swifterdarrell has joined #openstack-swift05:46
*** ChanServ sets mode: +v swifterdarrell05:46
*** silor has joined #openstack-swift05:48
*** hugokuo has joined #openstack-swift05:48
*** joearnold has joined #openstack-swift05:49
*** klrmn has joined #openstack-swift05:49
*** haomaiwang has joined #openstack-swift05:49
*** mlanner has joined #openstack-swift05:50
*** siva_krishnan has quit IRC05:51
*** siva_krishnan has joined #openstack-swift05:52
*** alpha_ori has joined #openstack-swift05:52
*** timburke has joined #openstack-swift05:54
*** treyd has joined #openstack-swift05:54
*** zackmdavis has joined #openstack-swift05:55
*** charz has joined #openstack-swift05:55
*** jlhinson has quit IRC06:01
*** chlong has quit IRC06:03
*** zhill has joined #openstack-swift06:12
*** zhill has quit IRC06:16
openstackgerritPeter Lisák proposed openstack/swift: Native modifying schedule priority of deamon/server  https://review.openstack.org/23879906:25
*** xnox has joined #openstack-swift06:27
*** ntt has quit IRC06:34
openstackgerritOpenStack Proposal Bot proposed openstack/swift: Imported Translations from Zanata  https://review.openstack.org/23880606:34
*** ntt has joined #openstack-swift06:35
*** siva_krishnan has quit IRC06:36
nttHi.... i'm trying to upload large files to swift (160GB). Is there some way to do this with curl, without installing the swift client?06:36
*** zhill has joined #openstack-swift06:48
*** pchng_ has joined #openstack-swift06:50
*** zhill has quit IRC06:52
*** pchng has quit IRC06:53
*** jmccarthy has quit IRC07:02
peterlisakntt, hi there is an example for curl. it should be what you are looking for http://docs.openstack.org/developer/swift/overview_large_objects.html#direct-api07:03
*** jmccarthy has joined #openstack-swift07:03
*** hurricanerix has quit IRC07:05
*** Guest40120 has quit IRC07:05
*** geaaru has joined #openstack-swift07:13
*** rledisez has joined #openstack-swift07:19
*** lyrrad has quit IRC07:22
*** lyrrad has joined #openstack-swift07:23
openstackgerritPeter Lisák proposed openstack/swift: Native modifying schedule priority of deamon/server  https://review.openstack.org/23879907:34
*** silor has quit IRC07:35
peterlisakacoles_, mattoliverau hi, can I ask for review? another +2 needed ... thanks. https://review.openstack.org/#/c/233096/ and https://review.openstack.org/#/c/234287/07:41
*** SkyRocknRoll has joined #openstack-swift07:45
*** alejandrito has joined #openstack-swift07:57
*** jordanP has joined #openstack-swift07:58
*** proteusguy__ has quit IRC08:00
*** acoles_ is now known as acoles08:07
*** jordanP has quit IRC08:08
acoleskota_: ho: some of us are thinking of meeting for dinner on sunday evening, are you guys around then?08:10
acolespeterlisak: ack. will try but today i am mostly completing prep for travel/summit.08:10
acolescschwede: ^^ when do you arrive?08:12
*** proteusguy__ has joined #openstack-swift08:12
nttpeterlisak: thank you..... however with curl I need to manually split the file.08:14
peterlisakacoles, ok thanks08:18
*** Venkatesh_ has joined #openstack-swift08:18
kota_acoles: I would be aviable on sunday evening but I need to make sure my wife's openion to answer that.:/08:23
kota_s/openion/opinion/08:23
acoleskota_: that would be a good idea ;)08:23
acoleskota_: always check with the boss ;-)08:24
kota_acoles: next sanday? or sunday on after summit ?08:24
acoleskota_: next i.e. sunday 25th08:24
kota_acoles: thx, I'll make sure...and I've heard from ho, he will arrive at tokyo on monday.08:25
peterlisakntt, what about split command + curl in bash loop?08:27
nttpeterlisak: yes.... it's a good idea.... but installing swiftclient on centos 6 is a really easy task.... so I think I will use swiftclient08:28
openstackgerritPeter Lisák proposed openstack/swift: Native modifying schedule priority of daemon/server  https://review.openstack.org/23879908:31
*** jistr has joined #openstack-swift08:31
*** m_kazuhiro has quit IRC08:34
*** haomaiwang has quit IRC08:37
kota_acoles: hmm...I might need more concrete info (place and time) to explain to my boss :\08:37
*** haomaiwang has joined #openstack-swift08:37
kota_acoles: assuming around shinagawa and 5:00 p.m. or 6:00 p.m.-ish?08:38
*** SkyRocknRoll has quit IRC08:40
openstackgerritMerged openstack/swift: Imported Translations from Zanata  https://review.openstack.org/23880608:56
*** AJaeger has joined #openstack-swift09:04
AJaegerHi haypo and others!09:04
haypoAJaeger: Swift master still uses PyEClib 1.0.7 whereas PyEClib 1.1 was released. we know have to install "manually" liberasurecode, libjerasure and gf-complete libraries, they are no more embedded in PyEClib (which is a good thing IMHO)09:05
haypoAJaeger: are you aware of these libraries?09:05
AJaegerI see in system-config: modules/openstack_project/manifests/jenkins_params.pp already a line09:06
AJaeger $libjerasure_dev_package = 'libjerasure-dev'09:06
AJaegerbut also # $libjerasure_dev_package = 'libjerasure-devel' not yet available09:06
haypoAJaeger: Tushar Gohad contacted me yesterday to ask me to test the new release PyEClib 1.109:07
haypohe wrote me "Agreed - the dependency should go away as soon as we have liberasurecode 1.1 packages  available in Debian and Red Hat repos and we get those included on the CI slaves .."09:07
haypobut i don't know if he works on Swift or not :-p09:07
AJaegerliberasurecode and gf-complete are not there09:07
haypoAJaeger: what are the OS and OS versions used on the infra?09:08
AJaegerhaypo: he works on swift: http://stackalytics.com/?metric=commits&release=all&user_id=tsg-09:08
AJaegerhaypo: Best talk with ianw, he's currently working on Fedora22 support.09:09
AJaegerWe also have: Ubuntu images09:10
haypoAJaeger: i'm not sure that it's in fedora 22 :-( https://admin.fedoraproject.org/pkgdb/package/liberasurecode/09:10
AJaegerwhich is the default09:10
haypoAJaeger: which ubuntu version please?09:11
AJaegertrusty09:11
AJaegerand precise as well09:12
openstackgerritDaisuke Morita proposed openstack/swift: WIP: Changing Policies  https://review.openstack.org/20932909:12
haypoAJaeger: FYI i wrote a patch for swift which "ports" PyEClib to Python 3 with one call to the sed command :-D https://review.openstack.org/#/c/199034/ but this change takes forever to be reviewed :-p09:13
acoleskota_: i guess 6pm or later even, around shinagawa. i have no real plan yet, just wondering who might be around.09:13
haypo(my changes to port PyEClib to Python 3 was merged a few months ago in PyECLib 1.0.8, but Swift still uses PyEClib 1.0.7 :-p)09:14
*** ahsan518 has joined #openstack-swift09:15
ahsan518Hi09:16
ahsan518I need some help with swift/obj/replicator.py file09:16
ahsan518can anyone please help me out ..09:16
AJaegerhaypo: sorry, can't help further on this. Glad to hear about the process but it's sad that this is blocked now by getting infrastructure in. Best ping ianw - but he's in Australia unless already in Tokyo...09:17
kota_acoles: thx, i got ok from my boss, so I could be around there at that time. And could spend 2 hours-ish for attending :-)09:17
*** joearnold has quit IRC09:20
*** joearnold has joined #openstack-swift09:21
haypoAJaeger: it doesn't seem to be blocked by the infra right now, but by distro not having the required packages :(09:25
AJaegerhaypo: use aj@suse.com09:26
*** m_kazuhiro has joined #openstack-swift09:27
*** aix has joined #openstack-swift09:34
*** SkyRocknRoll has joined #openstack-swift09:35
*** AJaeger has quit IRC09:35
*** ahsan518 has quit IRC09:44
*** peluse_ has joined #openstack-swift10:00
*** balajir_ has joined #openstack-swift10:01
*** glange_ has joined #openstack-swift10:01
*** ChanServ sets mode: +v glange_10:01
*** tsubic1 has joined #openstack-swift10:01
*** jeblair_ has joined #openstack-swift10:03
*** mplex_ has joined #openstack-swift10:03
*** wolsen_ has joined #openstack-swift10:03
*** mplex_ has quit IRC10:03
*** mplex_ has joined #openstack-swift10:03
nttWhere can I find an example for delete account in swift? I'm trying to delete the account and all related objects10:05
*** sc68cal_ has joined #openstack-swift10:06
*** balajir has quit IRC10:07
*** jeblair has quit IRC10:07
*** tsubic has quit IRC10:07
*** peluse has quit IRC10:07
*** sileht has quit IRC10:07
*** mplex has quit IRC10:07
*** wolsen has quit IRC10:07
*** sc68cal has quit IRC10:07
*** _fortis has quit IRC10:07
*** glange has quit IRC10:07
*** silor has joined #openstack-swift10:09
*** goodygum has quit IRC10:12
*** goodygum has joined #openstack-swift10:13
*** sileht has joined #openstack-swift10:14
*** _fortis_ has joined #openstack-swift10:16
*** silor1 has joined #openstack-swift10:16
*** silor has quit IRC10:17
*** silor1 is now known as silor10:17
*** _fortis_ is now known as _fortis10:27
*** aix has quit IRC10:39
nttSomeone can help me with account deletion? Actually I'm trying to send a DELETE on the storage url but I have an error: "The method is not allowed for this resource"10:50
tsubic1ntt: are you trying to delete a container that has objects inside?10:59
*** tsubic1 is now known as tsubic10:59
nttI'm trying to delete an account, not a container.11:00
ntt"An account is marked for deletion by a reseller issuing a DELETE request on the account’s storage URL" from the account-reaper online documentation11:01
nttso... i'm trying to do: curl -X DELETE -H "X-Auth-Token: $TOKEN" "http://myserver.example.org:8080/v1/AUTH_0c506d56e85c4159972b781924a1476811:02
nttand the result is "<html><h1>Method Not Allowed</h1><p>The method is not allowed for this resource.</p></html>"11:03
*** marzif_ has quit IRC11:05
*** aix has joined #openstack-swift11:13
*** haomaiwang has quit IRC11:21
*** alejandrito has quit IRC11:22
*** Ailus has joined #openstack-swift11:23
*** zul has joined #openstack-swift11:25
hoacoles, kota_: i will move to tokyo on monday so i'm not available on sunday (thanks kota_ for your explanation!)11:44
acolesho: ok thanks11:44
*** openstackgerrit has quit IRC11:46
*** openstackgerrit has joined #openstack-swift11:46
*** NM has joined #openstack-swift11:55
hofyi: ramen restraunt around sinagawa station https://www.google.co.jp/maps/place/%E5%93%81%E9%81%94/@35.6267753,139.7358183,17z/data=!3m1!4b1!4m2!3m1!1s0x60188a5bcbc3665b:0x60015aedb3b95b7311:56
*** silor has quit IRC11:57
hoand in shinagawa station there is a curry restaunt which name is camp express11:58
*** SkyRocknRoll has quit IRC11:58
*** Venkatesh_ has quit IRC12:01
*** marzif has joined #openstack-swift12:03
*** zul has quit IRC12:10
*** links has quit IRC12:15
*** ho has quit IRC12:16
*** m_kazuhiro has quit IRC12:20
*** alejandrito has joined #openstack-swift12:32
*** diogogmt has joined #openstack-swift12:40
*** haomaiwang has joined #openstack-swift13:00
*** diogogmt has quit IRC13:04
*** links has joined #openstack-swift13:05
openstackgerritPeter Lisák proposed openstack/swift: Device marked to be removed in info about the ring.  https://review.openstack.org/23891713:05
*** peterlisak has quit IRC13:06
*** kei_yama has quit IRC13:12
*** diogogmt has joined #openstack-swift13:16
*** Guest86998 has quit IRC13:20
*** links has quit IRC13:20
openstackgerritTushar Gohad proposed openstack/swift: EC: Use ec_type=liberasurecode_rs_vand in unit tests  https://review.openstack.org/23892613:21
*** haomaiwang has quit IRC13:23
openstackgerritAlistair Coles proposed openstack/swift: Update container on fast-POST  https://review.openstack.org/13538013:30
openstackgerritTushar Gohad proposed openstack/swift: EC: Use ec_type=liberasurecode_rs_vand in unit tests  https://review.openstack.org/23892613:32
*** marzif has quit IRC13:36
*** marzif has joined #openstack-swift13:36
openstackgerritVictor Stinner proposed openstack/swift: Port get_hmac() and hash_path() to Python 3  https://review.openstack.org/23699813:40
*** Greg__ has joined #openstack-swift13:43
*** Greg__ has left #openstack-swift13:43
*** petertr7_away is now known as petertr713:49
*** dustins has joined #openstack-swift13:52
*** marzif has quit IRC13:56
*** marzif has joined #openstack-swift13:57
openstackgerritAlistair Coles proposed openstack/swift: Fix missing *-replicator conf sections in deployment guide  https://review.openstack.org/23701313:59
*** haomaiwang has joined #openstack-swift14:01
*** silor has joined #openstack-swift14:08
*** haomaiwang has quit IRC14:08
*** haomaiwang has joined #openstack-swift14:09
*** joeljwright has joined #openstack-swift14:17
*** ChanServ sets mode: +v joeljwright14:17
*** jrichli has joined #openstack-swift14:17
*** wbhuber has joined #openstack-swift14:19
*** silor has quit IRC14:31
*** silor has joined #openstack-swift14:32
*** pdardeau has joined #openstack-swift14:34
*** jlhinson has joined #openstack-swift14:38
kota_Hmmm, I can't bet meat or fish (or perhaps McDonald's...)14:42
*** marzif has quit IRC14:51
*** marzif has joined #openstack-swift14:51
*** petertr7 is now known as petertr7_away14:52
*** jistr is now known as jistr|mtg14:54
*** haomaiwang has quit IRC15:01
*** haomaiwang has joined #openstack-swift15:01
*** petertr7_away is now known as petertr715:03
*** marzif has quit IRC15:04
*** minwoob has joined #openstack-swift15:05
*** marzif has joined #openstack-swift15:05
*** zigo has quit IRC15:10
*** zigo has joined #openstack-swift15:10
*** siva_krishnan has joined #openstack-swift15:14
*** dustins has quit IRC15:14
*** marzif has quit IRC15:16
*** marzif has joined #openstack-swift15:17
*** xnox has quit IRC15:22
*** xnox has joined #openstack-swift15:27
*** haomaiwang has quit IRC15:28
*** trifon has quit IRC15:33
*** xnox has quit IRC15:35
*** xnox has joined #openstack-swift15:35
*** xnox has quit IRC15:37
openstackgerritAlistair Coles proposed openstack/swift: Minor improvement to updater unit tests  https://review.openstack.org/23897715:42
*** CaioBrentano has joined #openstack-swift15:46
*** xnox has joined #openstack-swift15:46
*** jistr|mtg is now known as jistr15:47
*** xnox has quit IRC15:48
openstackgerritTushar Gohad proposed openstack/swift: EC: Use ec_type=liberasurecode_rs_vand in unit tests  https://review.openstack.org/23892615:50
*** xnox has joined #openstack-swift15:50
*** ahsan518 has joined #openstack-swift15:50
*** xnox has quit IRC15:52
*** gmmaha is now known as gmmaha_afk15:52
*** xnox has joined #openstack-swift15:53
*** gmmaha_afk is now known as gmmaha15:53
*** xnox has quit IRC15:55
*** xnox has joined #openstack-swift15:56
*** xnox has quit IRC15:57
*** xnox has joined #openstack-swift15:57
*** dustins has joined #openstack-swift15:59
notmynamegood morning16:02
*** nadeem has joined #openstack-swift16:02
*** marzif has quit IRC16:04
openstackgerritOpenStack Proposal Bot proposed openstack/swift: Updated from global requirements  https://review.openstack.org/8873616:04
*** marzif has joined #openstack-swift16:04
gmmahaGood Morning16:05
*** chsc has joined #openstack-swift16:19
notmynamepeluse_: any chance tsg is around this morning and can talk in irc?16:21
pdardeauit appears there are 2 ways of specifying region/zone when adding a device to ring (explicit options or as 'r' and 'z' prefix). is this correct?16:36
robefranjust filed bug 1509429 https://bugs.launchpad.net/swift/+bug/1509429 for X-Timestamp missing from PUT/COPY response headers16:39
openstackLaunchpad bug 1509429 in OpenStack Object Storage (swift) "X-Timestamp missing from object PUT/COPY response headers" [Undecided,New]16:39
notmynamepdardeau: yeah. basically we've evolved this pretty complicated DSL for specifying devices in rings. and it's pretty terrible, so we added some explicit options too16:40
notmyname"now there are 13 standards!"16:40
notmyname(terrible == sortof confusing and hard to add new stuff)16:40
pdardeaunotmyname: is one of them preferred for newcomers?16:40
pdardeauexplicit options?16:41
notmynameyeah, I'd prefer the explicit options16:41
notmynamepdardeau: you'll find both being used, so it's a good idea to be familiar with both16:42
pdardeaudocs in admin guide (http://docs.openstack.org/developer/swift/admin_guide.html#scripting-ring-creation) doesn't show region prefix. Does that need to be updated to have 'r1' or similar?16:44
*** zhill has joined #openstack-swift16:45
*** marzif has quit IRC16:47
notmynamepdardeau: yes16:48
openstackgerritMerged openstack/swift: node_timeout as float in configs  https://review.openstack.org/23428716:49
*** jistr has quit IRC16:50
pdardeaunotmyname: thx. i'll update the docs16:53
*** joeljwright has quit IRC16:54
notmynameanyone else getting functional test failures on slo conditional request tests?16:54
notmynametimburke: ^ any ideas?16:57
*** trifon has joined #openstack-swift17:03
notmynamenow that pyeclib doesn't bundle liberasurecode, how do I install liberasurecode? make doesn't work. ./configure isn't there. docs say there's an INSTALL doc, but it doesn't exist17:06
notmynamepeluse_: ^17:06
redboAccording to my notes, I ran autogen.sh to make the ./configure17:11
acolesnotmyname: yes i see 4 failures with EC policy17:13
notmynameacoles: ok. same here (IIRC I've got EC as default)17:14
notmynameso how did that happen/land?17:14
acolestest_slo_if_*17:14
*** garthb has joined #openstack-swift17:14
notmynamesame here17:15
acolesnotmyname: jenkins doesnt use EC but i think we have a community cluster job for ec17:15
notmynameyes, we do17:15
acolesnotmyname: see you on sunday, i'm afk now17:16
notmynamewe should likely figure a way to make both voting17:16
notmynameacoles: ack17:16
*** tsg has joined #openstack-swift17:17
notmynameredbo: ah, thanks. and tushar confirmed that via email17:17
*** mzaheer has joined #openstack-swift17:18
*** mzaheer has left #openstack-swift17:18
*** mzaheer has joined #openstack-swift17:18
*** acoles is now known as acoles_17:19
notmyname*sigh*17:20
notmynameswift@saio:~/liberasurecode$ ./autogen.sh17:20
notmyname./autogen.sh: 2: ./autogen.sh: autoreconf: not found17:20
notmynameswift@saio:~/liberasurecode$ sudo apt-get install autoreconf17:20
notmynameReading package lists... Done17:20
notmynameBuilding dependency tree17:20
notmynameReading state information... Done17:20
notmynameE: Unable to locate package autoreconf17:20
redboautoconf17:21
notmynameof course. why wouldn't I have used that to start ;-)17:21
notmynamethanks :-)17:22
tsgnotmyname: "apt-get install build-essential autoconf libtool" would be the complete list17:22
notmynameit's tsg!17:22
*** david-lyle has joined #openstack-swift17:23
*** rledisez has quit IRC17:23
*** jlhinson has quit IRC17:25
*** zul has joined #openstack-swift17:25
tsgnotmyname: good morning!  I am trying to figure out why "pip install -r requirements.txt" with the updated patch or "pip install pyeclib" didn't work for you17:25
notmynametsg: ok, rerunning unit tests. still some errors17:25
*** petertr7 is now known as petertr7_away17:25
notmynamesame thing PolicyError: Error creating EC policy (pyeclib_c_init ERROR: Invalid arguments. Please inspect syslog for liberasurecode error report.), for index 317:26
tsgnotmyname: can you share "pip install pyeclib" log?17:26
tsg(seemed to work for Kevin, Kota and Victor)17:26
mzaheerHow do I update python-eventlet in ubuntu17:27
mzaheerI have 0.13.0 version, and I think I need 0.17.0 to pass the tests17:27
*** petertr7_away is now known as petertr717:29
*** david-lyle has quit IRC17:29
gmmahamzaheer: there is a doc update that tells you how17:30
* gmmaha goes to find it17:30
notmynametsg: nothing helpful there17:31
gmmahamzaheer: https://review.openstack.org/#/c/207790/17:31
gmmahafollow the steps there.17:32
notmynametsg: FWIW, this is precise, not trusty17:32
tsgnotmyname: ok - let me try to reproduce what you are seeing17:32
tsgnotmyname: ok - I was about to ask17:32
mzaheergmmaha: thanks. I actually encountered the same problem you reported yesterday so thanks for that too.17:32
tsglet me bring up precise in a docker instance and test17:32
gmmahamzaheer: thanks to notmyname on that :)17:33
mzaheernotmyname: Thanks :p17:33
*** david-lyle has joined #openstack-swift17:34
notmynamemeeting here.17:35
*** david-lyle has quit IRC17:43
*** marzif has joined #openstack-swift17:51
mzaheerWhen I try to start swift daemons, all processes get started except for the proxy17:55
mzaheerI get the following trace:17:55
mzaheerzaheer@ubuntu:~/bin$ sudo swift-init main start17:56
mzaheerStarting proxy-server...(/etc/swift/proxy-server.conf)17:56
mzaheerStarting container-server...(/etc/swift/container-server/1.conf)17:56
mzaheerStarting container-server...(/etc/swift/container-server/2.conf)17:56
mzaheerStarting container-server...(/etc/swift/container-server/3.conf)17:56
*** mzaheer has quit IRC17:56
*** mzaheer has joined #openstack-swift17:56
gmmahamzaheer: you can use this location to paste logs http://paste.openstack.org/17:56
mzaheersorry, I'm new to IRC and therefore, not aware of the norms.18:00
gmmahamzaheer: no worries at all.. Just an easier way to share logs with folks. I was told about it just 24 hours ago! :)18:00
notmynametsg: I'm back18:04
notmynamewhy can't I install liberasurecode to /usr/local/lib? ("error: cannot install `liberasurecode.la' to a directory not ending in /usr/lib")18:06
tsgnotmyname: just tested in precise .. http://paste.openstack.org/show/477278/18:07
notmynameI ask because it seems all the old versions of liberasurecode were installed there18:07
tsgsudo?18:07
tsgnotmyname: the /usr/lib change was brought in by Red Hat (Victor)18:08
notmynamethis is with sudo, so it seems to be a hard requirements now18:09
tsgnotmyname: I am bit perplexed why it would refuse to install to /usr/lib even with sudo18:10
notmynameother way around18:10
notmynameit refuses to install to anywhere but /usr/lib18:10
torgomaticisn't this what LD_LIBRARY_PATH is for?18:10
torgomaticso you can install libraries wherever you want and then the loader can find them?18:10
tsgtorgomatic: yep18:11
tsgnotmyname: to recap, you are installing liberasurecode manually?18:11
tsg(latest git)18:11
* notmyname currently relates to https://www.youtube.com/watch?v=TV3Oncvz_cU18:11
*** david-lyle has joined #openstack-swift18:15
notmynameI (think I) cleaned everything. reinstalled pyeclib. rerunning tests now18:15
*** aix has quit IRC18:19
tsgnotmyname: cool :) fingers crossed.  I sent you the steps that worked (for me) on precise in an email for reference18:19
notmynamegot it18:19
notmynameyeah, looks like I may have take out too much18:19
notmynameI removed isa-l too18:20
notmynameand I had that referenced in swift.conf18:20
notmynameso the fact that the unittests are affected by what's in /etc/swift/swift.conf is part of the problem18:21
tsgah18:21
notmynamechanged it to refer to liberasurecode instead18:21
notmynametests seem to be working now18:21
tsg(tsg has faced that issue in the past)18:21
notmynameI didn't manually install liberasurecode this time18:21
tsgnotmyname: ok .. most of us have been testing on clean instances so anything we can learn from your setup would be good to document (at least in the SAIO docs)18:22
notmynameok, nothing in /usr/local/lib. liberasurecode was installed to /usr/lib by pyeclib18:22
notmynametests passed18:22
notmynametsg: now I gotta figure out how to reinstall isa-l18:23
tsgI can help there18:23
tsgone second18:23
notmynameI think I got it18:23
tsgcool18:24
tsgnotmyname: just make sure that you have yasm1.2 or later :)18:24
notmynameI think I took care fo that the first time I installed it18:25
gmmahamzaheer: your error logs didnt show up fully. wanna share it again ?18:25
notmynameok, yeah, looks good. `make clean && make && sudo make install`18:25
notmynameand then tests pass with isa-l in swift.conf18:25
tsggood .. just making sure :) given it is not the default for precise18:25
tsgnotmyname: great!18:25
*** nadeem has quit IRC18:25
notmynametsg: ok, so it seems I got into a working state now18:27
notmynamenext step is to (try to) revert and play through with no errors18:27
*** david-lyle has quit IRC18:27
notmynameI think the problem was something about the update not getting applied18:27
notmynameie liberasurecode not getting updated when pyeclib was updated18:27
tsgnotmyname: one test could be to install 1.0.7 in a new precise instance and then try to upgrade18:28
notmynameyeah, that's what I want to do now18:28
notmynameok, I've reverted back to master and pyeclib 1.0.718:31
notmyname(which installs liberasurecode and a bunch of other lib* into /usr/local/lib)18:31
notmynameisa-l still installed18:32
notmynameand used via swift.conf18:32
*** petertr7 is now known as petertr7_away18:32
notmynametests running. looks good (would have failed by now)18:32
notmynameok, master is good. now trying the upgrade again18:34
notmynametsg: did `sudo pip install -U -r requirements.txt`. now I have liberasurecode 1.0.7 in /usr/local/lib and liberasurecode 1.1.0 in /usr/lib18:36
notmynamerunning tests18:36
notmyname(with sudo ldconfig too)18:36
notmynameboom18:36
notmynamels18:38
tsgnotmyname: unfortunately we don't have a setuptools uninstall hook :(18:38
tsgnotmyname: I am hoping we get away from pip installing liberasurecode as soon as we have deb/rpm pkgs available18:39
notmynamebah. I removed the liberasurecode stuff in /usr/local/lib and I'm still getting errors18:39
tsgnotmyname: uh - this /usr/lib change from haypo is causing a lot of headache18:41
tsgnotmyname: ldconfig?18:41
notmynameyeah. did that before the test run18:42
notmynameso what is it that's still hanging around that's causing the error?18:43
notmynameI didn't fully uninstall pyeclib first. maybe that?18:43
*** geaaru has quit IRC18:43
notmynamenope18:44
openstackgerritSamuel Merritt proposed openstack/swift: Get rid of contextlib.nested() for py3  https://review.openstack.org/23823718:45
tsgnotmyname: are you getting the same error as before?18:45
tsgEINVAL?18:46
tsgnotmyname: what does "ldconfig -v | grep liberasurecode18:47
tsg" say18:47
notmynameah, hang on18:47
notmynamethat's it18:47
notmynameremoving pyeclib with pip and reinstalling (along with removing the stuff in /usr/local/lib) fixes it. but I had to do `sudo python ./setup.py develop` again after reinstalling the requirements. otherwise it complained about wanting pyeclib1.0.718:48
notmynameso I should try again: get master working, upgrade code, manually remove lib*, manually uninstall pyeclib, reinstall requirements, reinstall swift, shoudl work18:49
notmynameanyone else think that sounds excessive?18:49
tsgnotmyname: you shouldn't have to "uninstall pyeclib, reinstall requirements, reinstall swift" - not sure why those steps are needed - I will try to recreate the issue you are seeing in a new environment18:50
*** robefran has quit IRC18:55
*** robefran has joined #openstack-swift18:55
notmynameok, back on master with things working18:56
notmynametsg: yes, I agree :-)18:57
tsgnotmyname: I just started a new precise instance - will start with current master+1.0.7 and try to upgrade18:58
tsgwill report back in a few18:58
notmynameyeah, this worked:18:59
notmynamehttps://gist.github.com/notmyname/7ce9b2a5da133bcaf61019:00
notmyname(in all cases here, I've been using isa-l in swift.conf in my default policy. I don't think that matters much, other than making the upgrade even harder for other people since it means a config change too)19:04
notmynameif the libraries were still in /usr/local/lib, would that have prevented any problems?19:05
tsgnotmyname: if you are referring to old rev of liberasurecode, then no, we want it to use 1.1.019:05
tsg(the new rev)19:05
notmynameright19:05
notmynamebut if the new one had been installed in /usr/local/lib, would that have avoided this pain?19:06
tsgnotmyname: if you are asking about isa-l.so though, it can be there in /usr/local/lib19:06
notmynameright. it is19:06
tsgnotmyname: yes,19:06
tsgnotmyname: it would have been much simpler if we use the old default (/usr/local/lib) - the library symlinks are replaced - let me get back to you with my test results - let me talk to the pkg maintainers to see what's the best route19:09
notmynameI'm going to try to test it19:09
tsgnotmyname: will also let you know my test results (I am doing a test with isal enabled right now)19:09
notmynameby manually moving the stuff after I install it19:09
notmynamethanks19:09
*** petertr7_away is now known as petertr719:10
*** dustins has quit IRC19:11
* tsg needs to push to get liberasurecode installed on the CI slaves right away19:11
notmynametsg: FYI I'm runnign out of time to work on this for now. pretty soon I'm going to need to start packign19:11
mzaheergoing to openstack summit? :p19:14
*** jlhinson has joined #openstack-swift19:15
*** tsg has quit IRC19:17
notmynametsg !19:18
*** silor has quit IRC19:18
*** silor has joined #openstack-swift19:19
notmynamemanual moving of libraries seems to work19:20
notmynamenote left in gerrit19:20
notmynameI'm not sure if I believe united when they say I'll have wifi on an international flight19:21
jrichlinotmyname: if you pay for it ;-)19:21
notmynamejrichli: that's not the problem, actually. since wifi is regulated on a national level (FCC in the us), I'd figure it wouldn't be available in international territory or a different country19:22
notmynameinternational travel is screwy with stuff like that (in my experience)19:23
notmynameanyway, notes left in gerrit. time to go pack19:23
jrichlii guess you have never used united for international before (or atleast since wifi existed in planes)?19:23
jrichlioh, ok.  safe travels!19:24
notmynameI guess I haven't actually tried to use wifi on an international flight, regardless of carrier19:24
notmynameit should be night time anyway ;-)19:25
*** Fatbardh has joined #openstack-swift19:25
FatbardhHello. I have installed openstack liberty and its working fine but i want to add object storage as well. I install everything as the guide shows and in the end i cant get it to run. I looked a workaround at some forum and now it can read the available containers but im not able to create a new container. Can anyone please help me with this? I can provide logs and everything that is needed19:26
*** pchng_ghost has joined #openstack-swift19:28
*** silor has quit IRC19:31
*** pchng_ has quit IRC19:31
*** silor has joined #openstack-swift19:32
*** Fatbardh_ has joined #openstack-swift19:41
*** nadeem has joined #openstack-swift19:41
jrichliFatbardh: you put the error from the log into a paste http://paste.openstack.org/19:41
*** nadeem has quit IRC19:42
jrichliFatbardh_ ^^19:42
*** nadeem has joined #openstack-swift19:42
*** Fatbardh__ has joined #openstack-swift19:44
*** Fatbardh has quit IRC19:45
Fatbardh__@jrichli This is the link for the error log that i get http://paste.openstack.org/show/477285/19:45
Fatbardh__jrichli,19:45
*** Fatbardh_ has quit IRC19:47
Fatbardh__i generated that with the swift --debug stat command. I am using openstack liberty and from what i can understand from the logs i think that it is something related to the keystone authentication. Maybe i forgot to add something somewhere in the config files but still i checked everything many times and still i cant get it to work19:47
jrichliFatbardh__: what does the log look like when a request to create a new container is made?  I only see the request for the HEAD in this log snippet.19:49
Fatbardh__jrichli, That is what i get when trying to create a container from command line http://paste.openstack.org/show/477286/19:51
*** dustins has joined #openstack-swift19:53
jrichlicould you also provide your command?19:53
Fatbardh__swift upload container1 file that is the command that i used to attempt to create the container19:54
openstackgerritdharmendra kushwaha proposed openstack/swift: Docstring addition in methods and code cleanup  https://review.openstack.org/23909619:54
jrichliand "file" is the name of the file you wish to upload?19:55
Fatbardh__yes. that is a test file that i want to upload as a test19:56
Fatbardh__the file is around 13 mb19:56
jrichliit was the object PUT that failed.  are you sure that "file" is in the current working directory?19:56
jrichlioh - n,19:56
jrichlinm19:56
jrichliyes, the container didn't get created19:57
Fatbardh__yes the file is in the current working directory19:58
*** mzaheer has quit IRC19:58
Fatbardh__it seems like it can read the containers but it cannot create a container19:58
*** Ailus has quit IRC19:58
Fatbardh__i am trying to get it working for days and i reinstalled from scratch at least 3 times till now and still no luck19:58
jrichliI don't know about the "providing attr" warning.  I would have thought it might not keep things from working, since its only a warning.  would need somebody else to step in who knows more about keystoneclient19:59
*** remix_tj has quit IRC19:59
Fatbardh__Thank you for trying to help i appreciate it :)20:00
jrichliFatbardh__: np.  A lot of people are busy packing or flying to Tokyo right now, so it might be difficult to get the experts to weigh in right now.20:01
Fatbardh__did you get it to work yourself? maybe i could send you the configuration of the proxy-server.conf and you could compare it with your installation?20:02
jrichliI don't have a keystone setup20:02
jrichliI am afraid it will be like comparing apples and oranges20:03
Fatbardh__Yeah the Openstack summit will be held soon so i guess experts will be quite busy until the beginning of the next month20:03
Fatbardh__I understand. Well thank you for your help20:03
jrichlisure, np20:03
*** jlhinson has quit IRC20:06
openstackgerritOndřej Nový proposed openstack/swift: Change schedule priority of daemon/server in config  https://review.openstack.org/23879920:11
*** Fatbardh_ has joined #openstack-swift20:12
*** remix_tj has joined #openstack-swift20:14
*** Fatbardh__ has quit IRC20:15
*** jlhinson has joined #openstack-swift20:22
*** silor has quit IRC20:33
jrichliFatbardh_: just one more thing - you might check the version of keystone you are using and make sure that is consistent everywhere.  I know the switch to version 3 has happened recently.  I gotta run now for a bit.20:37
*** jrichli has quit IRC20:44
Fatbardh_jrichli: I think that the keystone version is the same on all nodes since i installed everything at the same day but still it worth checking that i guess because you can never be too sure. Thanks20:47
openstackgerritBill Huber proposed openstack/swift: Add unit tests for swift.account.reaper  https://review.openstack.org/23910520:51
eranromFatbardh_: Purheps I can try and help. I did not see the logs so what is the error you are getting?21:04
eranroms/purheps/perhaps :-)21:05
*** jlhinson has quit IRC21:05
*** ahsan518 has quit IRC21:05
*** tsg has joined #openstack-swift21:07
*** nadeem has quit IRC21:07
*** Fatbardh__ has joined #openstack-swift21:07
eranromFatbardh_: Perheps I can try and help. I did not see the logs so what is the error you are getting?21:08
*** dustins has quit IRC21:08
*** nadeem has joined #openstack-swift21:09
*** Fatbardh_ has quit IRC21:10
Fatbardh__i will send the logs again in a minute. please let me generate them again21:11
eranromok, Should I just have the above link open?21:12
Fatbardh__yes the above link will show the error that i am getting21:13
Fatbardh__http://paste.openstack.org/show/477285/21:13
Fatbardh__that is the link21:13
*** petertr7 is now known as petertr7_away21:13
*** CaioBrentano has quit IRC21:13
Fatbardh__this is the error that i get when i try to create a container http://paste.openstack.org/show/477286/21:13
*** NM has quit IRC21:16
*** nadeem has quit IRC21:17
eranromhow do you generate thw request?21:17
eranromthe21:17
eranromswift cli?21:17
Fatbardh__eranrom, yes the swift cli swift --debug stat21:18
Fatbardh__swift upload container1 file and also i used that command to create a container21:18
eranromok, so with that you must have some env vars set to specify the creds, auh methods etc - right? Can you share them (I do not need the user name // appsword :-)21:19
*** siva_krishnan has quit IRC21:21
Fatbardh__yes sure i can share them in a minute21:22
openstackgerritBill Huber proposed openstack/swift: Add unit tests for swift.proxy.controllers.base  https://review.openstack.org/23856721:22
*** siva_krishnan has joined #openstack-swift21:23
Fatbardh__http://paste.openstack.org/show/477298/ demo     http://paste.openstack.org/show/477299/ admin21:24
eranromFatbardh__,actually before looking into them - what happens if you just do: swift stat21:24
Fatbardh__those are my env vars21:24
Fatbardh__http://paste.openstack.org/show/477300/ that is what swift stat shows21:25
eranromok so it appears that there is a problem with missing env vars.21:27
*** tsg has quit IRC21:27
eranromhigh time to look at them :-)21:27
Fatbardh__i think that there is some problem to the auth version. i am using liberty and liverty is using v3 instead of v2 that kilo used for authentication21:27
Fatbardh__i also played around the config file a bit i modified some things in there that i saw in a forum from someone that got it to work. maybe that is an issue too21:28
eranromwhich config file?21:29
*** siva_krishnan has quit IRC21:29
Fatbardh__proxy-server.conf from /etc/swift dir21:29
eranromok, do you have a problem trying to work with v2?21:30
Fatbardh__not really. as long as it works i am ok with it21:30
*** siva_krishnan has joined #openstack-swift21:30
Fatbardh__did you get it working correctly with your installation?21:32
eranromok, so I would try to run: swift --os-username <U> --os-password <P>  --os-tenant-name <T> -V 221:32
eranromyes I have been working a lot with Swift & Keystone using V2 auth - if that is the question. I have never done so in a general purpose openstack installation -t swift...21:32
Fatbardh__i executed the command you told me but i dont think that it is working or i didnt type it correctly swift --os-username admin --os-password 123456 --os-tenant-name swift -V 2 thats how i typed it21:35
eranromsorry missed the word stat at the end. Also, I am assuming that keystone is configured with that user name / password and tenant21:36
Fatbardh__yes keystone is configured with that username password. this is a test environment that im trying this not a production environment21:38
eranromgot that :-)21:38
eranromso we are basically trying to execute swift stat to make sure auth works well.21:38
eranromthis command is equivalent to doing HEAD on the swift account21:39
Fatbardh__http://paste.openstack.org/show/477301/ that is what i get after executing that command21:39
*** jlhinson has joined #openstack-swift21:39
Fatbardh__i think that somewhere in the config files something is not added properly. i understand the logics of how the whole thing works but im not being able to get it to run properly21:40
*** wbhuber has quit IRC21:40
eranromDid you run "swift stat" or "swift --os-username admin --os-password 123456 --os-tenant-name swift -V 2 stat"21:42
eranromI meant the latter21:42
Fatbardh__i run  "swift --os-username admin --os-password 123456 --os-tenant-name swift -V 2 stat"21:42
Fatbardh__even when i run swift stat i get the same message21:43
eranromThe IRC app truncates one "-" from the options21:43
Fatbardh__to the [pipelina:main] section i am using pipeline = healthcheck cache authtoken keystoneauth proxy-server instead of the one that is in the docs21:44
eranromwhich is what you need for keystone :-)21:47
Fatbardh__i understand.21:48
eranromI assume you also made sure that the authtoken middleware is properly configured under [filter:authtoken]21:48
Fatbardh__that is the part where i am affraid that i didnt do correctly21:49
eranromthat is with the various Keystone params (auth host, port, admin user, etc.)21:49
*** zhill has quit IRC21:49
Fatbardh__let me paste that in here21:49
*** siva_krishnan has quit IRC21:49
Fatbardh__http://paste.openstack.org/show/477303/ that is how the [filter:authtoken] is21:50
Fatbardh__the uncommented lines are the ones that i saw from a forum that i found on google the commented ones are the ones that are also in the openstack docs21:50
eranromlooking good to me. might be helpful to also add: auth_uri = <protocol>://<hostname>:5000/v2.0 though I am not sure it will matter much21:52
eranromLet me suggest the following debugging flow:21:54
eranrom1. make sure Ketstone can generate a token for the user21:54
eranrom2. use the token against the swift proxy server.21:54
eranromThis is probably easiest using surl21:55
eranroms/surl/curl21:55
eranromas the swift cli does both for you.21:55
eranromHere is a curl command for doing the authentication and getting the token21:55
eranromcurl -v -s -d '{"auth": {"tenantName": "your tenant name", "passwordCredentials": {"username": "your user name", "password": "your pwd"}}}' -H 'Content-type: application/json' http://<keystone host>:5000/v2.0/tokens21:57
Fatbardh__i understand i will try that right now21:57
Fatbardh__http://paste.openstack.org/show/477305/ that is the message that i get from executing that command22:00
Fatbardh__do you think that it would be better to reinstall it all again from scratch? from my experience debugging can take more time than redoing it from scratch again22:03
eranromI do not know22:04
eranrombut clearly something is not working with Keystone.22:05
eranromCan you run the following:  keystone --token <token> --endpoint http://<host>:35357/v2.0/ tenant-list22:05
eranromjust to see if one can talk to keystone via v222:05
Fatbardh__yes sure22:05
Fatbardh__to the <token> do i use the token that i generated when i installed openstack?22:06
*** pdardeau has quit IRC22:06
eranromI think so.22:08
eranrombest to just look at /etc/keystone/keystone.conf22:09
Fatbardh__yeah i copied from there but i get a message as the command is not typed correctly22:10
eranromlook for admin_token22:10
Fatbardh__keystone -os-token 010e787783ef458ba8f9 --endpoint http://controller:35357/v2.0/ tenant-list that is the command that i executed22:10
Fatbardh__and i get a message as the command has missing arguments22:11
eranromcan you paste the messagE?22:12
Fatbardh__yes sure22:12
Fatbardh__http://paste.openstack.org/show/477306/ that is the message that i get22:13
*** wolsen_ is now known as wolsen22:13
eranromseems like you are missing a "-" before os-token, here is only one there...22:15
Fatbardh__i just tried adding the '-' in there and i still get the same error message22:16
Fatbardh__http://paste.openstack.org/show/477307/ here is the error message that i get after adding the '-'22:17
*** mac_ified has joined #openstack-swift22:19
eranromso the endpoint should match what you have in keystone.conf22:20
eranromI am sorry but its 1:20 am here, and I should get some sleep.22:20
Fatbardh__I understand. Thank you so much for your help. i appreciate it. i will just reinstall it from scratch again and see how it goes22:21
eranrompersonaly, I prefer the debug way - you get to learn more and I think you mentioned that you already tried re-installing several times...22:21
eranromyour call :-)22:21
eranromgood luck22:21
*** eranrom has left #openstack-swift22:21
Fatbardh__yes i like that way too but im under a lot of pressure from the company that im working for to get it up and running asap so time is an issue here22:21
Fatbardh__thank you for your help i appreciate it22:22
*** Fatbardh__ has quit IRC22:31
*** chsc has quit IRC22:36
*** jlhinson has quit IRC22:38
*** tsg has joined #openstack-swift22:50
*** garthb has quit IRC22:55
*** ahsan518 has joined #openstack-swift23:03
*** ahsan518 has quit IRC23:06
*** silor has joined #openstack-swift23:13
*** silor1 has joined #openstack-swift23:16
*** silor has quit IRC23:19
*** silor1 is now known as silor23:19
*** minwoob has quit IRC23:20
*** jongchoi has joined #openstack-swift23:38
*** lyrrad has quit IRC23:49

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