*** shayneburgess has quit IRC | 00:09 | |
*** Longgeek has joined #openstack-trove | 00:49 | |
*** tobe has joined #openstack-trove | 00:52 | |
*** tobe has quit IRC | 01:22 | |
*** mattgriffin has joined #openstack-trove | 01:22 | |
*** WonChon has joined #openstack-trove | 01:26 | |
*** erkules_ has joined #openstack-trove | 01:46 | |
*** _amrith_ is now known as amrith | 01:48 | |
*** erkules has quit IRC | 01:49 | |
*** erkules_ has quit IRC | 01:51 | |
*** tobe has joined #openstack-trove | 01:52 | |
*** erkules_ has joined #openstack-trove | 01:53 | |
*** csoukup has joined #openstack-trove | 02:01 | |
*** exploreshaifali has quit IRC | 02:02 | |
*** Longgeek has quit IRC | 02:16 | |
*** pmackinn has quit IRC | 02:21 | |
*** rwsu has quit IRC | 02:25 | |
*** mattgriffin has quit IRC | 02:26 | |
amrith | SlickNik, yt? | 02:37 |
---|---|---|
SlickNik | amrith: Yes — what's up? | 02:38 |
amrith | quick q for you | 02:39 |
amrith | will fixing https://bugs.launchpad.net/trove/+bug/1459900 cause problems? | 02:40 |
openstack | Launchpad 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 |
amrith | the 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 |
SlickNik | amrith: 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 |
SlickNik | Actually 200 is OK, 201 is created. | 02:44 |
SlickNik | So perhaps it should be 201? | 02:44 |
amrith | I thought of that | 02:44 |
amrith | I 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 |
amrith | http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html | 02: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 |
amrith | The 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 a | 02:45 |
amrith | status monitor or some estimate of when the user can expect the request to be fulfilled. | 02:45 |
amrith | no worries, this isn't the biggest fish that we have to fry. | 02:45 |
SlickNik | funny I was reading the same page :) | 02:46 |
amrith | It just occured to me that if resize came up with 202 | 02:46 |
amrith | then shouldn't create do the same thing | 02:46 |
amrith | hey, google is pretty repeatable ;) | 02:46 |
amrith | anyway, I'll sit on the change. | 02:46 |
SlickNik | If 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 spe | 02:46 |
amrith | yes, there's much wiggle room | 02:47 |
amrith | in the interest of not making a change without a strong reason though, I'll just hold off for now. | 02:47 |
SlickNik | We do respond with a newly created resource and a URI for it in the response. | 02:47 |
amrith | sufficient information to construct the URI for sure. | 02:47 |
SlickNik | There's a direct analogy with nova here — I wonder what they do in this case. | 02:47 |
amrith | no worries, figured I'd check before pushing up a review and wasting cycles on the CI. | 02:47 |
amrith | let me check | 02:48 |
amrith | that settles it | 02:51 |
amrith | DEBUG (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-d50a35a354e7 | 02:51 |
amrith | 200 | 02:51 |
amrith | thanks! | 02:51 |
amrith | g'night nikhil! | 02:58 |
SlickNik | so much for that - :) | 02:59 |
SlickNik | g'night! | 02:59 |
*** barra204 has quit IRC | 03:11 | |
*** barra204 has joined #openstack-trove | 03:13 | |
*** bhunter71 has quit IRC | 03:31 | |
*** Longgeek has joined #openstack-trove | 04:36 | |
*** Longgeek has quit IRC | 04:45 | |
*** Longgeek has joined #openstack-trove | 04:45 | |
*** tobe has quit IRC | 04:52 | |
*** tobe has joined #openstack-trove | 05:14 | |
*** IanGovett has joined #openstack-trove | 05:39 | |
*** tobe has quit IRC | 05:47 | |
*** csoukup has quit IRC | 06:03 | |
*** Longgeek has quit IRC | 06:11 | |
*** tobe has joined #openstack-trove | 06:15 | |
*** Longgeek has joined #openstack-trove | 06:16 | |
*** IanGovett has quit IRC | 06:26 | |
*** k4n0 has joined #openstack-trove | 06:33 | |
openstackgerrit | Merged openstack/python-troveclient: Fixes new hacking rules https://review.openstack.org/184609 | 06:54 |
*** erkules_ is now known as erkules | 07:22 | |
*** erkules has joined #openstack-trove | 07:22 | |
openstackgerrit | Sushil Kumar proposed openstack/trove: Fixes hacking rules https://review.openstack.org/184606 | 07:28 |
*** Longgeek has quit IRC | 07:54 | |
*** tobe has quit IRC | 08:23 | |
*** tosky has joined #openstack-trove | 08:29 | |
*** tobe has joined #openstack-trove | 08:29 | |
*** WonChon has quit IRC | 10:30 | |
*** blinky_ghost has joined #openstack-trove | 11:12 | |
blinky_ghost | hi 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? Thanks | 11:14 |
*** tobe has quit IRC | 11:39 | |
*** sgotliv has quit IRC | 11:53 | |
*** tomblank has quit IRC | 11:55 | |
*** k4n0 has quit IRC | 12:01 | |
*** bhunter71 has joined #openstack-trove | 12:04 | |
openstackgerrit | amrith proposed openstack/trove: Fixes a broken debug message in schema matching https://review.openstack.org/186732 | 12:11 |
*** tobe has joined #openstack-trove | 12:13 | |
*** tobe has quit IRC | 12:14 | |
*** pmackinn has joined #openstack-trove | 12:30 | |
*** amrith is now known as _amrith_ | 12:53 | |
*** radez_g0n3 is now known as radez | 12:54 | |
*** _crobertsrh is now known as crobertsrh | 12:56 | |
*** sgotliv has joined #openstack-trove | 13:30 | |
*** tomblank has joined #openstack-trove | 13:30 | |
*** _amrith_ is now known as amrith | 13:48 | |
amrith | blinky_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 |
amrith | I suggest you post the log file extracts on gist and put a link to them here. | 13:55 |
amrith | thanks, | 13:55 |
blinky_ghost | amrith: now I'm testing on Kilo, I'll update here If I find some issues, thanks | 13:56 |
*** exploreshaifali has joined #openstack-trove | 14:09 | |
*** sgotliv has quit IRC | 14:11 | |
*** mattgriffin has joined #openstack-trove | 14:17 | |
*** csoukup has joined #openstack-trove | 14:18 | |
*** mattgri__ has joined #openstack-trove | 14:22 | |
*** mvandijk has left #openstack-trove | 14:22 | |
*** mattgrif_ has joined #openstack-trove | 14:24 | |
*** mvandijk has joined #openstack-trove | 14:25 | |
*** mattgriffin has quit IRC | 14:25 | |
*** mattgri__ has quit IRC | 14:26 | |
*** mattgrif_ has quit IRC | 14:27 | |
blinky_ghost | amrith: same issue in Kilo, can you check please? http://paste.openstack.org/show/244981/ | 14:46 |
*** tomblank_ has joined #openstack-trove | 15:03 | |
*** tomblank has quit IRC | 15:04 | |
*** tomblank_ is now known as tomblank | 15:04 | |
*** tomblank has quit IRC | 15:19 | |
*** exploreshaifali has quit IRC | 15:29 | |
*** tomblank has joined #openstack-trove | 15:33 | |
*** shayneburgess has joined #openstack-trove | 15:55 | |
amrith | blinky_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_ghost | amrith: this is a centos7 image I downloaded from here: http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2 | 15:58 |
amrith | ok, keep going | 16:00 |
amrith | that's a centos image. not a trove image, correct? | 16:00 |
blinky_ghost | amrith: yes, but then I run cloud init that installs troveguest | 16:02 |
blinky_ghost | amrith: http://paste.openstack.org/show/245114/ | 16:02 |
amrith | I 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 at | 16:06 |
amrith | https://github.com/openstack/trove/blob/master/doc/source/dev/building_guest_images.rst). | 16:06 |
openstackgerrit | Matthew Van Dijk proposed openstack/trove-integration: redstack failing if /opt/stack is missing https://review.openstack.org/186816 | 16:07 |
amrith | So 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 |
amrith | sorry. | 16:07 |
blinky_ghost | amrith: where can I download pre-built trove guest image? | 16:08 |
johnma | blinky_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 instance | 16:10 |
blinky_ghost | johnma: yes, the instances launches and starts guestagent | 16:10 |
johnma | a ModelNotFoundError sounds like the guestagent code was not downloaded correctly. | 16:10 |
vkmc | blinky_ghost, are you using Juno or Kilo? | 16:11 |
blinky_ghost | vkmc: Kilo, I tested Juno also, same error | 16:11 |
vkmc | blinky_ghost, are you installing mariadb-server? | 16:11 |
blinky_ghost | vkmc: yes I have a cloudinit that installs mariadb | 16:12 |
vkmc | blinky_ghost, IIRC CentOS 7 defaults to mariadb-server 10 | 16:13 |
amrith | johnma, 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 |
amrith | blinky_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-trove | 16:15 | |
blinky_ghost | amrith: ok thanks | 16:15 |
vkmc | blinky_ghost, certainly using prebuilt images is easier than using cloudinit | 16:15 |
vkmc | blinky_ghost, I can help you debugging | 16:15 |
vkmc | blinky_ghost, whats on the controller? CentOS as well? | 16:15 |
blinky_ghost | vkmc: can I download one? I don't care about the operating system that the guest is running. Yes I use centos 7 RDO | 16:16 |
vkmc | blinky_ghost, I have an script that can automatize building the image, not the image itself | 16:17 |
amrith | vkmc, he can download prebuilt images if he wants; I think you have the link(s) for that, yes? | 16:17 |
vkmc | blinky_ghost, for prebuilt images? no I don't | 16:17 |
vkmc | amrith, ^ | 16:18 |
blinky_ghost | ok I can build one | 16:18 |
vkmc | amrith, does tesora have prebuilt images? | 16:18 |
amrith | vkmc, yes | 16:18 |
vkmc | cool! | 16:18 |
amrith | and a DBaaS Platform as well, I understand ;) | 16:18 |
*** ashleighfarnham has joined #openstack-trove | 16:22 | |
johnma | :) | 16:31 |
amrith | blinky_ghost, are you all set? | 16:31 |
blinky_ghost | amrith: I'll try to build an image myself and test, thanks | 16:32 |
amrith | comments 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_ghost | amrith: sure, thanks | 16:36 |
blinky_ghost | a question: after I create the image do I have to setup cloudinit on my controller with the troveguest config? | 16:52 |
johnma | blinky_ghost: you shouldnt have to. The prebuilt image should have the datastore and trove guestagent code in it. | 17:11 |
blinky_ghost | johnma: 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 |
johnma | so 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 over | 17:22 |
*** barra204 has quit IRC | 17:26 | |
*** sgotliv has joined #openstack-trove | 17:42 | |
*** sgotliv has quit IRC | 17:42 | |
*** sgotliv has joined #openstack-trove | 17:42 | |
dhellmann | SlickNik: 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 |
SlickNik | dhellmann: Sounds good to me. | 18:03 |
dhellmann | SlickNik: great, thanks! | 18:03 |
SlickNik | dhellmann: I might have a bit of time later this evening to cut a release. | 18:04 |
dhellmann | SlickNik: that's fine, if you want, but I prefer not to release things on friday so I'm fine with waiting until monday | 18:04 |
dhellmann | and I can tag the release myself, along with a bunch of the others I need | 18:04 |
SlickNik | ++ to not releasing on Friday. :) | 18:05 |
dhellmann | ok, I'll put you on the list with everyone else for monday | 18:05 |
SlickNik | Okay, sounds good. Drop me a quick note if I can help with anything. | 18:06 |
SlickNik | Thanks! | 18:06 |
*** ashleighfarnham has quit IRC | 18:06 | |
dhellmann | np, and thanks! | 18:06 |
*** barra204 has joined #openstack-trove | 18:08 | |
openstackgerrit | Sharika Pongubala proposed openstack/trove: Fix create Vertica cluster or instance to show ERROR on failure https://review.openstack.org/182872 | 18:09 |
amrith | SlickNik, yt? | 18:10 |
SlickNik | amrith: hey there. | 18:11 |
SlickNik | What's up? | 18:11 |
amrith | SlickNik, could I get some eyes on https://review.openstack.org/#/c/186357/ | 18:11 |
amrith | I would like to shoot it out to the ML | 18:11 |
amrith | I have not heard from Bruno | 18:11 |
amrith | vipul, if you are around, could you also take a look at this spec | 18:12 |
SlickNik | Yes, neither have I. | 18:12 |
SlickNik | Looking 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 |
amrith | edmondk, vkmc, dougshelley66, vgnbkr, peterstac, atomic77, johnma (I will fix the typo), pmackinn, pmalik, shayneburgess, same request to y'all | 18:13 |
johnma | will do Amrith | 18:14 |
*** barra204 has quit IRC | 18:15 | |
openstackgerrit | Mayuri Ganguly proposed openstack/trove: Set cluster status to none when instances in error state https://review.openstack.org/183359 | 18:15 |
*** sgotliv has quit IRC | 18:18 | |
*** barra204 has joined #openstack-trove | 18:19 | |
*** barra204_ has joined #openstack-trove | 18:27 | |
*** barra204 has quit IRC | 18:31 | |
*** ashleighfarnham has joined #openstack-trove | 18:32 | |
edmondk | on it | 18:32 |
*** blinky_ghost has quit IRC | 18:32 | |
*** sriram_tesora has joined #openstack-trove | 18:51 | |
*** barra204_ is now known as shakamunyi | 18:52 | |
dougshelley66 | SlickNik yt? | 18:58 |
amrith | edmondk, thanks! | 18:58 |
SlickNik | dougshelley66: yes — around. What's up? | 18:59 |
dougshelley66 | SlickNik peterstac just answered my question thx | 19:00 |
SlickNik | Not a problem. Glad I could help! :) | 19:00 |
amrith | oh, you can help me (since dougshelley66 found someone else). https://bugs.launchpad.net/trove/+bug/1460174 | 19:01 |
openstack | Launchpad bug 1460174 in Trove "inconsistency between trove api schema and code for edit() request" [High,New] - Assigned to Amrith (amrith) | 19:01 |
amrith | my head hurts | 19:01 |
amrith | I'm going to go and find a beer | 19:01 |
*** exploreshaifali has joined #openstack-trove | 19:25 | |
*** amrith is now known as _amrith_ | 19:26 | |
*** ashleighfarnham has quit IRC | 19:26 | |
*** exploreshaifali has quit IRC | 19:37 | |
*** openstack has joined #openstack-trove | 20:04 | |
*** ashleighfarnham has joined #openstack-trove | 20:11 | |
openstackgerrit | Matthew Van Dijk proposed openstack/trove-integration: Use mongodb 3 instead of 2.4 https://review.openstack.org/186904 | 20:11 |
*** crobertsrh is now known as _crobertsrh | 20:14 | |
*** openstack has joined #openstack-trove | 20:29 | |
*** openstackgerrit has quit IRC | 20:59 | |
*** openstackgerrit has joined #openstack-trove | 20:59 | |
*** tomblank has quit IRC | 21:05 | |
*** shakamunyi has quit IRC | 21:26 | |
*** openstack has joined #openstack-trove | 21:30 | |
*** csoukup has quit IRC | 21:32 | |
*** openstackstatus has joined #openstack-trove | 21:32 | |
*** ChanServ sets mode: +v openstackstatus | 21:32 | |
openstackgerrit | Matthew Van Dijk proposed openstack/trove-integration: Use mongodb 3 instead of 2.4 https://review.openstack.org/186904 | 21:45 |
*** annashen has joined #openstack-trove | 21:55 | |
*** johnma has quit IRC | 21:59 | |
*** ashleighfarnham has quit IRC | 22:06 | |
*** annashen has quit IRC | 22:11 | |
*** annashen has joined #openstack-trove | 22:27 | |
openstackgerrit | OpenStack Proposal Bot proposed openstack/trove: Updated from global requirements https://review.openstack.org/186938 | 22:28 |
*** tosky has quit IRC | 22:51 | |
*** sriram_tesora has quit IRC | 22:55 | |
*** ashleighfarnham has joined #openstack-trove | 22:57 | |
*** sgotliv has joined #openstack-trove | 23:06 | |
*** sgotliv has quit IRC | 23:07 | |
*** annashen has quit IRC | 23:08 | |
*** exploreshaifali has joined #openstack-trove | 23:30 | |
*** _crobertsrh has quit IRC | 23:34 | |
*** crobertsrh has joined #openstack-trove | 23:42 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!