Friday, 2015-05-29

*** shayneburgess has quit IRC00:09
*** Longgeek has joined #openstack-trove00:49
*** tobe has joined #openstack-trove00:52
*** tobe has quit IRC01:22
*** mattgriffin has joined #openstack-trove01:22
*** WonChon has joined #openstack-trove01:26
*** erkules_ has joined #openstack-trove01:46
*** _amrith_ is now known as amrith01:48
*** erkules has quit IRC01:49
*** erkules_ has quit IRC01:51
*** tobe has joined #openstack-trove01:52
*** erkules_ has joined #openstack-trove01:53
*** csoukup has joined #openstack-trove02:01
*** exploreshaifali has quit IRC02:02
*** Longgeek has quit IRC02:16
*** pmackinn has quit IRC02:21
*** rwsu has quit IRC02:25
*** mattgriffin has quit IRC02:26
amrithSlickNik, yt?02:37
SlickNikamrith: Yes — what's up?02:38
amrithquick q for you02:39
amrithwill fixing https://bugs.launchpad.net/trove/+bug/1459900 cause problems?02:40
openstackLaunchpad bug 1459900 in Trove "trove create API returns a success code of 200, this should be 202" [Medium,New] - Assigned to Amrith (amrith)02:40
amriththe fix is simple, the change to the test are quite a few. But will your system puke if create() started returning 202 instead of 200?02:41
SlickNikamrith: I don't think 202 is quite right in that case — the instance is created right away (in the db), it's just that it's not ACTIVE yet. So imo 200 is the right HTTP status code.02:42
SlickNikActually 200 is OK, 201 is created.02:44
SlickNikSo perhaps it should be 201?02:44
amrithI thought of that02:44
amrithI picked 202 because in fact all we've done is accept the request for processing and made a good and permanent record of that in the db.02:44
amrithhttp://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html02:45
amrith The request has been accepted for processing, but the processing has not been completed. The request might or might not eventually be acted upon, as it might be disallowed when processing actually takes place. There is no facility for re-sending a status code from an asynchronous operation such as this.02:45
amrithThe 202 response is intentionally non-committal. Its purpose is to allow a server to accept a request for some other process (perhaps a batch-oriented process that is only run once per day) without requiring that the user agent's connection to the server persist until the process is completed. The entity returned with this response SHOULD include an indication of the request's current status and either a pointer to a02:45
amrithstatus monitor or some estimate of when the user can expect the request to be fulfilled.02:45
amrithno worries, this isn't the biggest fish that we have to fry.02:45
SlickNikfunny I was reading the same page :)02:46
amrithIt just occured to me that if resize came up with 20202:46
amriththen shouldn't create do the same thing02:46
amrithhey, google is pretty repeatable ;)02:46
amrithanyway, I'll sit on the change.02:46
SlickNikIf you look at 201 —02:46
SlickNik"The request has been fulfilled and resulted in a new resource being created. The newly created resource can be referenced by the URI(s) returned in the entity of the response, with the most specific URI for the resource given by a Location header field. The response SHOULD include an entity containing a list of resource characteristics and location(s) from which the user or user agent can choose the one most appropriate. The entity format is spe02:46
amrithyes, there's much wiggle room02:47
amrithin the interest of not making a change without a strong reason though, I'll just hold off for now.02:47
SlickNikWe do respond with a newly created resource and a URI for it in the response.02:47
amrithsufficient information to construct the URI for sure.02:47
SlickNikThere's a direct analogy with nova here — I wonder what they do in this case.02:47
amrithno worries, figured I'd check before pushing up a review and wasting cycles on the CI.02:47
amrithlet me check02:48
amriththat settles it02:51
amrithDEBUG (session:224) RESP: [200] date: Sat, 25 Apr 2015 22:56:31 GMT content-length: 807 content-type: application/json x-compute-request-id: req-12553919-9a8f-4a78-8015-d50a35a354e702:51
amrith20002:51
amriththanks!02:51
amrithg'night nikhil!02:58
SlickNikso much for that - :)02:59
SlickNikg'night!02:59
*** barra204 has quit IRC03:11
*** barra204 has joined #openstack-trove03:13
*** bhunter71 has quit IRC03:31
*** Longgeek has joined #openstack-trove04:36
*** Longgeek has quit IRC04:45
*** Longgeek has joined #openstack-trove04:45
*** tobe has quit IRC04:52
*** tobe has joined #openstack-trove05:14
*** IanGovett has joined #openstack-trove05:39
*** tobe has quit IRC05:47
*** csoukup has quit IRC06:03
*** Longgeek has quit IRC06:11
*** tobe has joined #openstack-trove06:15
*** Longgeek has joined #openstack-trove06:16
*** IanGovett has quit IRC06:26
*** k4n0 has joined #openstack-trove06:33
openstackgerritMerged openstack/python-troveclient: Fixes new hacking rules  https://review.openstack.org/18460906:54
*** erkules_ is now known as erkules07:22
*** erkules has joined #openstack-trove07:22
openstackgerritSushil Kumar proposed openstack/trove: Fixes hacking rules  https://review.openstack.org/18460607:28
*** Longgeek has quit IRC07:54
*** tobe has quit IRC08:23
*** tosky has joined #openstack-trove08:29
*** tobe has joined #openstack-trove08:29
*** WonChon has quit IRC10:30
*** blinky_ghost has joined #openstack-trove11:12
blinky_ghosthi all, I'm trying to deploy trove in Juno and I'm having this error on the controller after de vm guest is launched: TRACE trove.openstack.common.rpc.amqp ModelNotFoundError: InstanceServiceStatus Not Found in conductor logs. Eventually it times out and it fails. Any hint? Thanks11:14
*** tobe has quit IRC11:39
*** sgotliv has quit IRC11:53
*** tomblank has quit IRC11:55
*** k4n0 has quit IRC12:01
*** bhunter71 has joined #openstack-trove12:04
openstackgerritamrith proposed openstack/trove: Fixes a broken debug message in schema matching  https://review.openstack.org/18673212:11
*** tobe has joined #openstack-trove12:13
*** tobe has quit IRC12:14
*** pmackinn has joined #openstack-trove12:30
*** amrith is now known as _amrith_12:53
*** radez_g0n3 is now known as radez12:54
*** _crobertsrh is now known as crobertsrh12:56
*** sgotliv has joined #openstack-trove13:30
*** tomblank has joined #openstack-trove13:30
*** _amrith_ is now known as amrith13:48
amrithblinky_ghost, it would be easier to help if you could post more detailed log files. A line number where the error was generated would be useful, for example.13:55
amrithI suggest you post the log file extracts on gist and put a link to them here.13:55
amriththanks,13:55
blinky_ghostamrith: now I'm testing on Kilo, I'll update here If I find some issues, thanks13:56
*** exploreshaifali has joined #openstack-trove14:09
*** sgotliv has quit IRC14:11
*** mattgriffin has joined #openstack-trove14:17
*** csoukup has joined #openstack-trove14:18
*** mattgri__ has joined #openstack-trove14:22
*** mvandijk has left #openstack-trove14:22
*** mattgrif_ has joined #openstack-trove14:24
*** mvandijk has joined #openstack-trove14:25
*** mattgriffin has quit IRC14:25
*** mattgri__ has quit IRC14:26
*** mattgrif_ has quit IRC14:27
blinky_ghostamrith: same issue in Kilo, can you check please? http://paste.openstack.org/show/244981/14:46
*** tomblank_ has joined #openstack-trove15:03
*** tomblank has quit IRC15:04
*** tomblank_ is now known as tomblank15:04
*** tomblank has quit IRC15:19
*** exploreshaifali has quit IRC15:29
*** tomblank has joined #openstack-trove15:33
*** shayneburgess has joined #openstack-trove15:55
amrithblinky_ghost, very interesting. could you share more of your conductor log and also the task manager and api logs. what's the guest you are launching, where did this guest image come from?15:57
blinky_ghostamrith: this is a centos7 image I downloaded from here: http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow215:58
amrithok, keep going16:00
amriththat's a centos image. not a trove image, correct?16:00
blinky_ghostamrith: yes, but then I run cloud init that installs troveguest16:02
blinky_ghostamrith: http://paste.openstack.org/show/245114/16:02
amrithI have no idea what that actually leaves you with. It appears that you have a configuration that is unlike anything I've ever seen, nor anything that would result from the normal installation and deployment process. So it is really hard to tell what exactly is going on. I'd recommend that you use a pre-built guest image for whatever database you want, or build a proper trove guest image (there's a doc about it at16:06
amrithhttps://github.com/openstack/trove/blob/master/doc/source/dev/building_guest_images.rst).16:06
openstackgerritMatthew Van Dijk proposed openstack/trove-integration: redstack failing if /opt/stack is missing  https://review.openstack.org/18681616:07
amrithSo it is really hard to tell what exactly is going on (for me). Maybe someone else has more insights into this approach to installation; I don't.16:07
amrithsorry.16:07
blinky_ghostamrith: where can I download pre-built trove guest image?16:08
johnmablinky_ghost: did the guest instance launch correctly - i mean can you ssh to it. If you can, one thing you can check is to see if the trove guestagent code was properly downloaded to the guest instance16:10
blinky_ghostjohnma: yes, the instances launches and starts guestagent16:10
johnmaa ModelNotFoundError sounds like the guestagent code was not downloaded correctly.16:10
vkmcblinky_ghost, are you using Juno or Kilo?16:11
blinky_ghostvkmc: Kilo, I tested Juno also, same error16:11
vkmcblinky_ghost, are you installing mariadb-server?16:11
blinky_ghostvkmc: yes I have a cloudinit that installs mariadb16:12
vkmcblinky_ghost, IIRC CentOS 7 defaults to mariadb-server 1016:13
amrithjohnma, vkmc ... note that the message from the guest is mangled. it has no instance id for example. just running cloud init doesn't suffice because other elements install other files into the guest and it appears that all of those steps have been omitted.16:13
amrithblinky_ghost, you can get pre-built guest images for most db's from Tesora (ask on #tesora and I'm sure the fine people there can help you). Or vkmc may be able to point you to pre-built images that she has generated. She also has a doc on how to build images for RH/Centos etc.,16:14
*** rwsu has joined #openstack-trove16:15
blinky_ghostamrith: ok thanks16:15
vkmcblinky_ghost, certainly using prebuilt images is easier than using cloudinit16:15
vkmcblinky_ghost, I can help you debugging16:15
vkmcblinky_ghost, whats on the controller? CentOS as well?16:15
blinky_ghostvkmc: can I download one? I don't care about the operating system that the guest is running. Yes I use centos 7 RDO16:16
vkmcblinky_ghost, I have an script that can automatize building the image, not the image itself16:17
amrithvkmc, he can download prebuilt images if he wants; I think you have the link(s) for that, yes?16:17
vkmcblinky_ghost, for prebuilt images? no I don't16:17
vkmcamrith, ^16:18
blinky_ghostok I can build one16:18
vkmcamrith, does tesora have prebuilt images?16:18
amrithvkmc, yes16:18
vkmccool!16:18
amrithand a DBaaS Platform as well, I understand ;)16:18
*** ashleighfarnham has joined #openstack-trove16:22
johnma:)16:31
amrithblinky_ghost, are you all set?16:31
blinky_ghostamrith: I'll try to build an image myself and test, thanks16:32
amrithcomments on the instructions at https://github.com/openstack/trove/blob/master/doc/source/dev/building_guest_images.rst are most welcome. If you find problems, please either submit a fix to the doc or let one of us know so we can fix it. Thanks!16:34
blinky_ghostamrith: sure, thanks16:36
blinky_ghosta question: after I create the image do I have to setup cloudinit on my controller with the troveguest config?16:52
johnmablinky_ghost: you shouldnt have to. The prebuilt image should have the datastore and trove guestagent code in it.17:11
blinky_ghostjohnma: but how does it know the rabbit ip from the controller?17:17
johnma So the prebuilt image contains the OS + datastore (not the guestagent part). When you ask trove to provision a datastore you specify this image(that you build) to be used.17:21
johnmaso during the provisioning process, it uses an ssh connection to connect from the controller to the guest instance and copied the configuration files and the guestagent code over17:22
*** barra204 has quit IRC17:26
*** sgotliv has joined #openstack-trove17:42
*** sgotliv has quit IRC17:42
*** sgotliv has joined #openstack-trove17:42
dhellmannSlickNik: I would like to release python-troveclient 1.2.0 on monday to include the fix that unblocks work we're doing to drop the oslo namespace package. The changes that would be included start on line 706 of http://paste.openstack.org/show/245107/ -- Does that work for you?17:59
SlickNikdhellmann: Sounds good to me.18:03
dhellmannSlickNik: great, thanks!18:03
SlickNikdhellmann: I might have a bit of time later this evening to cut a release.18:04
dhellmannSlickNik: that's fine, if you want, but I prefer not to release things on friday so I'm fine with waiting until monday18:04
dhellmannand I can tag the release myself, along with a bunch of the others I need18:04
SlickNik++ to not releasing on Friday. :)18:05
dhellmannok, I'll put you on the list with everyone else for monday18:05
SlickNikOkay, sounds good. Drop me a quick note if I can help with anything.18:06
SlickNikThanks!18:06
*** ashleighfarnham has quit IRC18:06
dhellmannnp, and thanks!18:06
*** barra204 has joined #openstack-trove18:08
openstackgerritSharika Pongubala proposed openstack/trove: Fix create Vertica cluster or instance to show ERROR on failure  https://review.openstack.org/18287218:09
amrithSlickNik, yt?18:10
SlickNikamrith: hey there.18:11
SlickNikWhat's up?18:11
amrithSlickNik, could I get some eyes on https://review.openstack.org/#/c/186357/18:11
amrithI would like to shoot it out to the ML18:11
amrithI have not heard from Bruno18:11
amrithvipul, if you are around, could you also take a look at this spec18:12
SlickNikYes, neither have I.18:12
SlickNikLooking now — will find vipul and get him to take a look as well (don't see him at his desk at the moment).18:13
amrithedmondk, vkmc, dougshelley66, vgnbkr, peterstac, atomic77, johnma (I will fix the typo), pmackinn, pmalik, shayneburgess, same request to y'all18:13
johnmawill do Amrith18:14
*** barra204 has quit IRC18:15
openstackgerritMayuri Ganguly proposed openstack/trove: Set cluster status to none when instances in error state  https://review.openstack.org/18335918:15
*** sgotliv has quit IRC18:18
*** barra204 has joined #openstack-trove18:19
*** barra204_ has joined #openstack-trove18:27
*** barra204 has quit IRC18:31
*** ashleighfarnham has joined #openstack-trove18:32
edmondkon it18:32
*** blinky_ghost has quit IRC18:32
*** sriram_tesora has joined #openstack-trove18:51
*** barra204_ is now known as shakamunyi18:52
dougshelley66SlickNik yt?18:58
amrithedmondk, thanks!18:58
SlickNikdougshelley66: yes — around. What's up?18:59
dougshelley66SlickNik peterstac just answered my question thx19:00
SlickNikNot a problem. Glad I could help! :)19:00
amrithoh, you can help me (since dougshelley66 found someone else). https://bugs.launchpad.net/trove/+bug/146017419:01
openstackLaunchpad bug 1460174 in Trove "inconsistency between trove api schema and code for edit() request" [High,New] - Assigned to Amrith (amrith)19:01
amrithmy head hurts19:01
amrithI'm going to go and find a beer19:01
*** exploreshaifali has joined #openstack-trove19:25
*** amrith is now known as _amrith_19:26
*** ashleighfarnham has quit IRC19:26
*** exploreshaifali has quit IRC19:37
*** openstack has joined #openstack-trove20:04
*** ashleighfarnham has joined #openstack-trove20:11
openstackgerritMatthew Van Dijk proposed openstack/trove-integration: Use mongodb 3 instead of 2.4  https://review.openstack.org/18690420:11
*** crobertsrh is now known as _crobertsrh20:14
*** openstack has joined #openstack-trove20:29
*** openstackgerrit has quit IRC20:59
*** openstackgerrit has joined #openstack-trove20:59
*** tomblank has quit IRC21:05
*** shakamunyi has quit IRC21:26
*** openstack has joined #openstack-trove21:30
*** csoukup has quit IRC21:32
*** openstackstatus has joined #openstack-trove21:32
*** ChanServ sets mode: +v openstackstatus21:32
openstackgerritMatthew Van Dijk proposed openstack/trove-integration: Use mongodb 3 instead of 2.4  https://review.openstack.org/18690421:45
*** annashen has joined #openstack-trove21:55
*** johnma has quit IRC21:59
*** ashleighfarnham has quit IRC22:06
*** annashen has quit IRC22:11
*** annashen has joined #openstack-trove22:27
openstackgerritOpenStack Proposal Bot proposed openstack/trove: Updated from global requirements  https://review.openstack.org/18693822:28
*** tosky has quit IRC22:51
*** sriram_tesora has quit IRC22:55
*** ashleighfarnham has joined #openstack-trove22:57
*** sgotliv has joined #openstack-trove23:06
*** sgotliv has quit IRC23:07
*** annashen has quit IRC23:08
*** exploreshaifali has joined #openstack-trove23:30
*** _crobertsrh has quit IRC23:34
*** crobertsrh has joined #openstack-trove23:42

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