*** DCWillia_ has quit IRC | 00:02 | |
openstackgerrit | Saurabh Surana proposed openstack/trove: accepting network and availability zone for instances in cluster https://review.openstack.org/179443 | 00:08 |
---|---|---|
*** setmason has joined #openstack-trove | 00:27 | |
setmason | How can I prevent the Trove network from conflicting with the tenant’s private network? | 00:29 |
*** eghobo_ has quit IRC | 00:30 | |
*** eghobo has joined #openstack-trove | 00:33 | |
*** bhunter71 has joined #openstack-trove | 00:37 | |
*** DCWilliams_VA has joined #openstack-trove | 00:40 | |
*** setmason has quit IRC | 00:40 | |
openstackgerrit | Peter Stachowski proposed openstack/trove: Added dangling mock detection to 'secgroups' https://review.openstack.org/180806 | 00:40 |
*** saurabhs has left #openstack-trove | 00:41 | |
*** shayneburgess has quit IRC | 00:42 | |
edmondk | pmalik, why so many separate commits for the dangling mock? Would be easier to put them in one patch set for reviewability and for got history. | 00:44 |
edmondk | got history* | 00:44 |
edmondk | git history* lol | 00:45 |
*** ashleighfarnham has quit IRC | 00:47 | |
*** IanGovett1 has joined #openstack-trove | 00:49 | |
*** IanGovett has quit IRC | 00:49 | |
*** shakamunyi has quit IRC | 01:02 | |
*** DCWilliams_VA has quit IRC | 01:12 | |
*** setmason has joined #openstack-trove | 01:27 | |
setmason | How can I prevent the Trove network from conflicting with the tenant’s private network? | 01:27 |
pmalik | edmondk: It was agreed that we would clean them up module-by-module, so that smaller patch sets can merge ASAP. | 01:31 |
*** erkules_ has joined #openstack-trove | 01:38 | |
*** erkules has quit IRC | 01:41 | |
*** ashleighfarnham has joined #openstack-trove | 01:47 | |
*** ashleighfarnham has quit IRC | 01:51 | |
*** eghobo has quit IRC | 01:55 | |
openstackgerrit | Peter Stachowski proposed openstack/trove: Added dangling mock detection to 'guestagent' https://review.openstack.org/180825 | 01:57 |
openstackgerrit | Peter Stachowski proposed openstack/trove: Added dangling mock detection to 'taskmanager' https://review.openstack.org/180798 | 02:01 |
openstackgerrit | Peter Stachowski proposed openstack/trove: Added dangling mock detection to 'conductor' https://review.openstack.org/180828 | 02:06 |
*** shakamunyi has joined #openstack-trove | 02:09 | |
openstackgerrit | Peter Stachowski proposed openstack/trove: Added dangling mock detection to 'guestagent' (3) https://review.openstack.org/180825 | 02:13 |
openstackgerrit | Peter Stachowski proposed openstack/trove: Added dangling mock detection to 'mgmt' module https://review.openstack.org/180831 | 02:22 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/trove: Updated from global requirements https://review.openstack.org/179879 | 02:22 |
openstackgerrit | Peter Stachowski proposed openstack/trove: Added dangling mock detection to 'network' module https://review.openstack.org/180832 | 02:24 |
SlickNik | pmalik: I thought we had agreed to only fix the ones that actually have dangling mock issues, and not bother spending time on converting every single module? | 02:24 |
SlickNik | relevant discussion at: http://eavesdrop.openstack.org/meetings/trove/2015/trove.2015-04-22-18.01.log.html | 02:26 |
peterstac | SlickNik: I believe that's all we did - I only unmocked ones that weren't done | 02:36 |
peterstac | (unless it was easier to move the mock to setUp, then I did that) | 02:36 |
SlickNik | peterstac: I don't see any dangling mock issues with a lot of changes pushed up eg. https://review.openstack.org/#/c/180730/1/trove/tests/unittests/router/test_router.py,cm, https://review.openstack.org/#/c/180773/1/trove/tests/unittests/datastore/base.py,cm, and https://review.openstack.org/#/c/180832/1/trove/tests/unittests/network/test_neutron_driver.py,cm | 02:37 |
SlickNik | Those just seem to be changing the base class and re-ordering imports, for one single module at a time. | 02:39 |
SlickNik | And that would just be a whole lot of noise in our commit logs. | 02:40 |
peterstac | well, until you add in the base class and run the unittests, you don't know if there are any dangling mocks | 02:40 |
peterstac | unless you wanted this to be a one-off (just fix the mocks now, but don't add in the base class) | 02:41 |
SlickNik | Isn't that an argument then for doing this all as part of one patchset, then? (if you're so inclined — I still think we should stick with what we discussed during the meeting and enforce this for new code going ahead). | 02:44 |
openstackgerrit | zouyee proposed openstack/trove-integration: code:line 17:apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A It could not get valid OpenPGP data https://review.openstack.org/180836 | 02:45 |
*** danritchie has quit IRC | 02:48 | |
peterstac | I'm confused - you only want to check new code, and not fix the old tests? | 02:48 |
*** setmason has quit IRC | 02:58 | |
*** setmason has joined #openstack-trove | 03:01 | |
openstackgerrit | zouyee proposed openstack/trove-integration: "dbaas_datastore_version": "5.5",-----> need to update--- 5.6 https://review.openstack.org/180844 | 03:08 |
*** setmason has quit IRC | 03:19 | |
*** bhunter71 has quit IRC | 03:20 | |
*** setmason has joined #openstack-trove | 03:31 | |
*** sgotliv has joined #openstack-trove | 03:31 | |
*** setmason has quit IRC | 03:38 | |
*** IanGovett1 has quit IRC | 03:40 | |
*** links has joined #openstack-trove | 03:45 | |
*** setmason has joined #openstack-trove | 03:58 | |
*** masco has joined #openstack-trove | 04:01 | |
openstackgerrit | Saurabh Surana proposed openstack/trove: accepting network and availability zone for instances in cluster https://review.openstack.org/179443 | 04:09 |
*** setmason_ has joined #openstack-trove | 04:12 | |
*** setmason has quit IRC | 04:13 | |
*** setmason_ is now known as setmason | 04:13 | |
openstackgerrit | zouyee proposed openstack/trove-integration: code:line 17:apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A It could not get valid OpenPGP data https://review.openstack.org/180851 | 04:17 |
*** mattgriffin has joined #openstack-trove | 04:20 | |
*** mat-lowery has quit IRC | 04:25 | |
*** mat-lowery has joined #openstack-trove | 04:30 | |
*** danritchie has joined #openstack-trove | 04:37 | |
*** sgotliv has quit IRC | 04:40 | |
*** sgotliv has joined #openstack-trove | 04:40 | |
*** danritchie has quit IRC | 04:41 | |
*** setmason has quit IRC | 04:53 | |
*** setmason has joined #openstack-trove | 04:54 | |
*** masco has quit IRC | 04:55 | |
*** setmason has quit IRC | 05:00 | |
*** mattgriffin has quit IRC | 05:01 | |
*** coolsvap|afk is now known as coolsvap | 05:03 | |
*** mattgriffin has joined #openstack-trove | 05:07 | |
openstackgerrit | zouyee proposed openstack/trove-integration: "dbaas_datastore_version" outdate https://review.openstack.org/180864 | 05:08 |
*** ashleighfarnham has joined #openstack-trove | 05:13 | |
*** ashleighfarnham has quit IRC | 05:13 | |
*** Longgeek has joined #openstack-trove | 05:33 | |
*** sgotliv has quit IRC | 05:39 | |
*** eghobo has joined #openstack-trove | 05:40 | |
*** ashleighfarnham has joined #openstack-trove | 05:52 | |
*** Longgeek has quit IRC | 06:06 | |
*** masco has joined #openstack-trove | 06:09 | |
*** ashleighfarnham has quit IRC | 06:10 | |
*** ashleighfarnham has joined #openstack-trove | 06:17 | |
*** ashleighfarnham has quit IRC | 06:18 | |
*** erkules_ is now known as erkules | 06:24 | |
*** erkules has joined #openstack-trove | 06:24 | |
openstackgerrit | Sushil Kumar proposed openstack/trove: Added unit-tests for mgmt-cluster-service https://review.openstack.org/180749 | 06:26 |
*** exploreshaifali has joined #openstack-trove | 06:29 | |
*** exploreshaifali has quit IRC | 06:40 | |
*** exploreshaifali has joined #openstack-trove | 06:40 | |
*** mattgriffin has quit IRC | 06:58 | |
*** Longgeek has joined #openstack-trove | 07:07 | |
sushilkm | regarding the dangling mocks story, there is no point in putting such a number of commits which only have the import changed without any bug-fixes for any dangling mocks | 07:13 |
sushilkm | also this would increase the time taken to execute the existing tests without any value add | 07:13 |
*** exploreshaifali has quit IRC | 07:18 | |
*** Longgeek has quit IRC | 07:21 | |
*** Longgeek has joined #openstack-trove | 07:21 | |
*** sgotliv has joined #openstack-trove | 07:40 | |
*** eghobo has quit IRC | 08:00 | |
*** chlong has quit IRC | 08:23 | |
*** kodoku has joined #openstack-trove | 08:42 | |
kodoku | Hi, I have pb with trove. I conf trove.conf with auth_host=juno001.domain.com in [keystone_authtoken] but when trove-api start I have ==> DEBUG keystoneclient.session [-] REQ: curl -i -X GET http://127.0.0.1:35357/ | 08:43 |
kodoku | How I can force URL ? | 08:44 |
kodoku | api-paste.conf is obligatory ? | 08:48 |
*** ashleighfarnham has joined #openstack-trove | 09:18 | |
*** ashleighfarnham has quit IRC | 09:23 | |
*** tosky has joined #openstack-trove | 09:25 | |
*** IanGovett has joined #openstack-trove | 09:48 | |
*** jeraldv has quit IRC | 09:51 | |
*** jeraldv has joined #openstack-trove | 09:52 | |
*** jeraldv has joined #openstack-trove | 09:52 | |
*** johnma has quit IRC | 09:56 | |
*** IanGovett1 has joined #openstack-trove | 10:02 | |
*** IanGovett has quit IRC | 10:05 | |
*** johnma has joined #openstack-trove | 10:31 | |
*** coolsvap is now known as coolsvap|afk | 10:43 | |
*** sgotliv has quit IRC | 10:43 | |
*** sgotliv has joined #openstack-trove | 10:50 | |
*** johnma has quit IRC | 10:52 | |
*** Longgeek has quit IRC | 10:58 | |
*** Longgeek has joined #openstack-trove | 10:58 | |
*** links has quit IRC | 11:31 | |
*** links has joined #openstack-trove | 11:32 | |
*** _crobertsrh is now known as crobertsrh | 11:39 | |
*** danritchie has joined #openstack-trove | 11:52 | |
*** openstackgerrit has quit IRC | 11:52 | |
*** openstackgerrit has joined #openstack-trove | 11:52 | |
vkmc | guys, I have a question regarding auth | 11:56 |
*** danritchie has quit IRC | 11:56 | |
vkmc | in all our docs we specify keystone_authtoken with the tenant info | 11:57 |
vkmc | and in the rest of the tenants I'm getting a 401 | 11:58 |
vkmc | what am I missing? | 11:58 |
*** hogepodge has quit IRC | 12:02 | |
*** hogepodge has joined #openstack-trove | 12:05 | |
*** kodoku has quit IRC | 12:11 | |
*** kodoku has joined #openstack-trove | 12:12 | |
kodoku | Where we can find doc for configuration of trove ?? Or any configuration for guest agent ? | 12:13 |
*** sgotliv has quit IRC | 12:20 | |
vkmc | kodoku, you have the samples in https://github.com/openstack/trove/tree/master/etc/trove | 12:21 |
kodoku | vkmc ok thx. This is possible to use postgresql on instance with juno ? | 12:24 |
*** bhunter71 has joined #openstack-trove | 12:24 | |
*** amrith is now known as _amrith_ | 12:25 | |
kodoku | vkmc It's hard to understand how trove works with sample. How I configure guest image ? Why trove need cinder ? Why need cloud-init ? How works the guest ? many questions .... :( | 12:29 |
vkmc | so... first things first | 12:33 |
vkmc | how did you deploy trove? | 12:33 |
vkmc | with distro? did you use an installer? | 12:33 |
kodoku | vkmc I use RDO juno with packstack. I have full openstack plateform with designate but without swift. Now I want to add trove. But with postgresql backend for DB. | 12:35 |
kodoku | I have a guest image RHEL7.1 with cloud-init and trove guest agent. | 12:35 |
vkmc | so... unfortunately RDO Juno needs some hacks to get it going | 12:35 |
kodoku | arf | 12:36 |
vkmc | I'd totally advise you to upgrade to Kilo... if you can | 12:36 |
kodoku | I have 2014.2.2 | 12:36 |
vkmc | I can help you with those hacks though, but it will be painful heh | 12:36 |
kodoku | Ok but with mysql is easy ? | 12:36 |
vkmc | mysql yes, postgresql... no | 12:36 |
*** vlbB1v has joined #openstack-trove | 12:36 | |
*** zal-handler has joined #openstack-trove | 12:37 | |
kodoku | ok I'll try with mysql on juno for understand trove, then when I migrate to kilo I'll try postgresql | 12:37 |
vkmc | sure | 12:37 |
vkmc | if you are trying to deploy it just to try it... I'd advise you to spin up a VM with Ubuntu 14.04 and use Redstack | 12:37 |
vkmc | and you can use postgresql there | 12:37 |
kodoku | I'am in POC now | 12:38 |
kodoku | But I have 30 users | 12:38 |
vkmc | oh, so its not just to try it... you have a real deployment there | 12:39 |
kodoku | Poc on JUNO, I migrate KILO soon (3-4 month) | 12:39 |
vkmc | k k | 12:39 |
kodoku | yes | 12:39 |
vlbB1v | kokoku how many user for trove? | 12:40 |
kodoku | and I use a rhel system | 12:40 |
kodoku | 30 now and 100 in fex month | 12:40 |
kodoku | few* | 12:40 |
kodoku | I have 150-300 instances | 12:40 |
vlbB1v | dokoku ok nice | 12:41 |
zal-handler | I also trying to provide postegresl with juno rdo | 12:41 |
kodoku | zal-handler :) | 12:41 |
kodoku | And I forget an important detail | 12:42 |
kodoku | I use vmware backend for nova and cinder | 12:42 |
vlbB1v | no kvm ?? | 12:42 |
kodoku | no :s | 12:42 |
*** kodoku_ has joined #openstack-trove | 12:44 | |
kodoku_ | Can we use trove without KVM ? | 12:44 |
*** dencaval has joined #openstack-trove | 12:45 | |
john_f_ | yes | 12:46 |
*** kodoku has quit IRC | 12:46 | |
kodoku_ | ok | 12:47 |
*** john_f_ has quit IRC | 12:47 | |
kodoku_ | I guess trove use cinder for make volume, so with Vmware backend, disk is no auto mount in instance. So trove can works if the volume is not auto mount ? | 12:48 |
*** sgotliv has joined #openstack-trove | 12:49 | |
vlbB1v | kokkudo ? | 12:49 |
*** john_f_ has joined #openstack-trove | 12:50 | |
kodoku_ | that not me ^^ | 12:51 |
*** masco has quit IRC | 12:52 | |
kodoku_ | vkmc I guess I need to install mysql on my guest image ? | 12:57 |
vlbB1v | kokodu girl? | 12:58 |
*** IanGovett1 has quit IRC | 12:58 | |
*** IanGovett has joined #openstack-trove | 13:00 | |
kodoku_ | vlbB1v why ? | 13:01 |
*** vlbB1v has quit IRC | 13:03 | |
kodoku_ | ok ... | 13:03 |
*** IanGovett has quit IRC | 13:10 | |
*** IanGovett has joined #openstack-trove | 13:13 | |
vkmc | kodoku_, sorry | 13:14 |
vkmc | kodoku_, so, you have to ways to create an image | 13:14 |
vkmc | kodoku_, our you build an image manually, with the guestagent installed there and the database you want | 13:14 |
vkmc | kodoku_, or your use a cloudinit script | 13:15 |
vkmc | sometimes cloudinit takes too much time and it fails to launch the instance, so the former is the most advisable | 13:15 |
vkmc | its harder, though | 13:15 |
*** kodoku_ has quit IRC | 13:18 | |
*** kodoku has joined #openstack-trove | 13:18 | |
kodoku | vkmc So When you say "the database you want" ==> yum install mysql-server | 13:19 |
*** david-lyle has quit IRC | 13:19 | |
vkmc | kodoku, yeah | 13:19 |
vkmc | kodoku, and yum install openstack-trove-guestagent | 13:19 |
vkmc | kodoku, I have an script that uses diskimage-builder to build images | 13:20 |
kodoku | vkmc ok. I have that. So I have conf guest with rabbitmq conf | 13:20 |
vkmc | kodoku, it currently supports centos, fedora and rhel | 13:20 |
vkmc | kodoku, check it out, maybe it eases the tasks a little | 13:20 |
kodoku | vkmc I use .vmdk | 13:20 |
vkmc | https://github.com/vkmc/trove-image-elements | 13:20 |
vkmc | oh I see | 13:20 |
vkmc | yeah, that script will make qcow2 | 13:21 |
*** kodoku_ has joined #openstack-trove | 13:22 | |
kodoku_ | vkmc ok So I have image. When I try to start guest service it fail. Normal ? | 13:22 |
vkmc | well.. no | 13:23 |
vkmc | kodoku_, could you paste the logs? | 13:23 |
kodoku_ | Is not yet an openstack instance | 13:23 |
kodoku_ | ok | 13:23 |
kodoku_ | oslo.config.cfg.ConfigFilesNotFoundError: Failed to read some config files: /etc/guest_info | 13:23 |
kodoku_ | When I start in openstack, cloud-init (with user-data) create this file ? | 13:24 |
*** kodoku has quit IRC | 13:24 | |
kodoku_ | because I have this file in /etc/trove | 13:24 |
*** openstackstatus has quit IRC | 13:25 | |
vkmc | kodoku_, yeah, that's one of the hacks you have to do | 13:25 |
kodoku_ | And guest service search in /etc/. And I don't find in guest.conf where I can conf this path | 13:25 |
vkmc | kodoku_, guestagent in Juno will expect to find guest_info and trove-guestagent.conf under /etc | 13:25 |
vkmc | kodoku_, and in RHEL they are under /etc/trove | 13:25 |
vkmc | in Kilo that is configurable | 13:26 |
vkmc | kodoku_, a workaround is to place those files under /etc in the server | 13:26 |
kodoku_ | ok, need to copy file or I can change path in trove conf ? | 13:26 |
kodoku_ | ok I copy | 13:26 |
vkmc | and fix the .service file for the openstack-guestagent in the guest | 13:26 |
*** openstackstatus has joined #openstack-trove | 13:26 | |
*** ChanServ sets mode: +v openstackstatus | 13:26 | |
*** kodokuu has joined #openstack-trove | 13:27 | |
kodokuu | vkmc Ok but when service start ==> Process: 2885 ExecStart=/usr/bin/trove-guestagent --config-file /usr/share/trove/trove-dist.conf --config-file /etc/trove/trove-guestagent.conf --config-file /etc/guest_info | 13:28 |
kodokuu | just change path of guest_info | 13:28 |
vkmc | guest_info and trove-guestagent.conf | 13:28 |
kodokuu | why ? | 13:29 |
kodokuu | --config-file /etc/trove/trove-guestagent.conf is good ? | 13:29 |
vkmc | because server code will look under /etc both files | 13:29 |
vkmc | and will inject those files in the same location in the guest | 13:29 |
vkmc | so if the service looks for the trove-guestagent.conf in the guest under /etc/trove, it will find the sample file and not the one injected by the server | 13:30 |
kodokuu | I need to change /etc/systemd/system/multi-user.target.wants/openstack-trove-guestagent.service | 13:30 |
kodokuu | the server inject file in guest instance O_o | 13:30 |
*** kodoku_ has quit IRC | 13:30 | |
kodokuu | so no need to configure trove-guestagent.conf because trove change this file ? | 13:31 |
kodokuu | ok So I change ExecStart=/usr/bin/trove-guestagent --config-file /usr/share/trove/trove-dist.conf --config-file /etc/trove/trove-guestagent.conf --config-file /etc/guest_info IN ExecStart=/usr/bin/trove-guestagent --config-file /usr/share/trove/trove-dist.conf --config-file /etc/trove-guestagent.conf --config-file /etc/guest_info | 13:32 |
kodokuu | vkmc and ===> cp /etc/trove/* /etc/ | 13:32 |
vkmc | sure, that would work too | 13:34 |
kodokuu | vkmc And when I create instance in trove, with cloud-init , it change /etc/guest_info | 13:34 |
vkmc | s/would/should | 13:34 |
kodokuu | need to "chkconfig mysqld on" ? | 13:35 |
vkmc | ehm, cloud_init should be located somewhere else, if you are using cloud_init scripts for that | 13:35 |
vkmc | if you are prebuilding the image you don't need cloud_init | 13:35 |
kodokuu | ok | 13:35 |
kodokuu | How trove change guest_info ? | 13:35 |
kodokuu | with rabbit ? | 13:36 |
*** chlong has joined #openstack-trove | 13:39 | |
vkmc | kodokuu, yes :) | 13:39 |
kodokuu | ok new issue | 13:41 |
kodokuu | vkmc but service start | 13:42 |
kodokuu | vkmc http://pastebin.com/6uSxzb19 | 13:42 |
kodokuu | I think is normal | 13:42 |
vkmc | kodokuu, you are missing a conf in the taskmanager probably | 13:44 |
kodokuu | I copy my conf | 13:44 |
vkmc | kodokuu, sure | 13:45 |
kodokuu | http://paste.openstack.org/show/216179/ | 13:45 |
kodokuu | is my conf of guest | 13:46 |
vkmc | kodokuu, https://github.com/openstack/trove/blob/master/etc/trove/trove-taskmanager.conf.sample#L103 | 13:46 |
kodokuu | I copy my task manager conf | 13:49 |
kodokuu | vkmc http://paste.openstack.org/show/216182/ | 13:50 |
*** setmason has joined #openstack-trove | 13:52 | |
kodokuu | vkmc Before add my image in glance ==> guest-agent install, mysql-server install, Conf Of guest agent OK, chkconfig on for guest agent and mysqld | 13:54 |
kodokuu | it's ok ? | 13:54 |
*** links has quit IRC | 13:54 | |
*** IanGovett1 has joined #openstack-trove | 13:55 | |
*** _amrith_ is now known as amrith | 13:56 | |
*** IanGovett has quit IRC | 13:57 | |
vkmc | kodokuu, is is yes | 13:58 |
vkmc | it* | 13:58 |
*** zal-handler has quit IRC | 13:59 | |
setmason | Any ideas how to prevent network overlaps/collisions between the trove network and the guest networks? | 14:10 |
kodokuu | vkmc Is posible to disable volume support with trove ? My image have already space for base | 14:14 |
*** setmason has quit IRC | 14:16 | |
*** masco has joined #openstack-trove | 14:29 | |
*** johnma has joined #openstack-trove | 14:37 | |
*** setmason has joined #openstack-trove | 14:39 | |
*** masco has quit IRC | 14:40 | |
kodokuu | vkmc It's normal if flavor have generated ID, Trove can't read this ID ? | 14:42 |
kodokuu | ValueError: invalid literal for int() with base 10: '62fa0dd3-1a6c-4fa6-89f6-c64e04c4dfb8' | 14:42 |
kodokuu | ok https://bugs.launchpad.net/trove/+bug/1333852 | 14:44 |
openstack | Launchpad bug 1333852 in Trove "Trove does not support flavor UUIDs" [Medium,Fix released] - Assigned to Adam Gandelman (gandelman-a) | 14:44 |
kodokuu | no backport in juno... | 14:44 |
tosky | it requires a db change, I guess it's the reason for the lack of backport | 14:45 |
*** radez_g0n3 is now known as radez | 14:45 | |
*** sriram_tesora has joined #openstack-trove | 14:48 | |
vkmc | kodokuu, yeah, that's another problem | 14:53 |
vkmc | kodokuu, you need to use int, not uuids for flavors | 14:53 |
vkmc | kodokuu, that fix haven't been backported to juno | 14:53 |
*** johnma has quit IRC | 14:57 | |
*** mattgriffin has joined #openstack-trove | 14:59 | |
*** pboros has joined #openstack-trove | 15:05 | |
*** johnma has joined #openstack-trove | 15:07 | |
*** jeraldv has quit IRC | 15:09 | |
*** ashleighfarnham has joined #openstack-trove | 15:15 | |
*** danritchie has joined #openstack-trove | 15:26 | |
*** radez is now known as radez_g0n3 | 15:26 | |
*** pboros has quit IRC | 15:42 | |
*** kodokuu has quit IRC | 15:45 | |
*** pboros has joined #openstack-trove | 15:49 | |
*** shayneburgess has joined #openstack-trove | 15:58 | |
*** amrith is now known as _amrith_ | 16:13 | |
*** shakamunyi has quit IRC | 16:29 | |
*** IanGovett1 has quit IRC | 16:46 | |
*** IanGovett has joined #openstack-trove | 16:48 | |
*** eghobo has joined #openstack-trove | 16:51 | |
*** sgotliv has quit IRC | 16:59 | |
*** exploreshaifali has joined #openstack-trove | 17:00 | |
pmalik | On the dangling mock project. I think we are having some misunderstanding here. The base class, of course, has to be changed on all test cases irrespective of if there are any additional changes or not. Only that way we can ensure no more leaked mocks are introduced in the future. We all agreed to approach the test suite module-by-module in the meeting. The Etherpad page where anybody could sign up for individual modules | 17:01 |
pmalik | was set up and referenced in the original review, in other reviews (https://review.openstack.org/#/c/179372/) and finally in IRC. It did not receive much attention though... The modules without any additional changes should be easy quick merges accelerating adoption of the tool and minimizing delays due to merge conflicts with other incoming patch sets. I don't think this should be something git history would not handle. | 17:01 |
pmalik | ^^^^^^^ <SlickNik>, <edmondk>, <peterstac>, <sushilkm>, <vkmc>, <amrith> | 17:01 |
SlickNik | pmalik: I'm not sure which discussion you're talking about but looking at the meeting notes from http://eavesdrop.openstack.org/meetings/trove/2015/trove.2015-04-22-18.01.log.html we agreed to do this for new unit tests, and that we don't need to concentrate on older unit tests unless something was actually broken. | 17:05 |
SlickNik | relevant discussion: | 17:06 |
SlickNik | "18:34:08 <SlickNik> Frankly, I'm less excited about going back and fixing all of the 'orig=method method=mock method=orig' style used in the past. | 17:06 |
SlickNik | 18:34:26 <pmalik> https://pypi.python.org/pypi/mock | 17:06 |
SlickNik | 18:35:57 <SlickNik> Because it's unit tests that already work, and there is a lot of other feature work in Trove that could use effort. | 17:06 |
SlickNik | 18:36:36 <sushilkm> +1 | 17:06 |
SlickNik | 18:36:51 <sushilkm> there are better areas to use the effort | 17:06 |
SlickNik | 18:37:03 <pmalik> ok, so, you suggest using the proposed guideline for new ones only? | 17:06 |
SlickNik | 18:37:40 <dougshelley66> I tend to agree with SlickNik and sushilkm - we should fix the broken ones and move on. Establish the new standard going forward" | 17:06 |
sushilkm | Also, even if u want to fix the bugs why not do them in a one-off patch and why is it needed to push tons of reviews for the purpose, so that even if think to go ahead with them then also it would be lesser effort in terms of reviews+followups+conflicts(if any) | 17:12 |
edmondk | all the reviews with just changing the base class could easily be a single review and it would also be easy to review because it's just mechanical | 17:13 |
*** eghobo_ has joined #openstack-trove | 17:15 | |
*** eghobo has quit IRC | 17:16 | |
*** IanGovett has quit IRC | 17:19 | |
*** IanGovett has joined #openstack-trove | 17:23 | |
*** radez_g0n3 is now known as radez | 17:24 | |
peterstac | edmondk: The only problem is that until you add the base class, you don't know the extent of the fix | 17:34 |
peterstac | so there was no way to group all the modules that didn't need fixing together | 17:34 |
vgnbkr | My understanding is that the mock detector came out of the fact that we kept having to search for improperly mocked objects because they caused other tests to fail. Petr's mock detector was to detect all such occurances so that they could be fixed. | 17:35 |
vgnbkr | In addition to that, there was discussion that there mere many cases where objects were being mocked improperly, but not dangling. My understanding was that we agreed not to fix those cases. | 17:35 |
pmalik | <SlickNik> AFAIK we agreed not to change the mocking style on existing mocks that are not reported as problems by the detector. | 17:35 |
edmondk | I get after adding the base class you will see the issues. Still feel like the work is small enough to do many modules in one patch. | 17:37 |
*** _amrith_ is now known as amrith | 17:38 | |
vgnbkr | edmondk, I assumed the point was that smaller patches allowed people to review a few and collectively get the changes through. I know I don't want to go looking through 10's or 100's of modules, but I don't mind doing my share by reviewing a few. | 17:40 |
edmondk | If we all agree on this approach we can sign off on them quickly then | 17:40 |
edmondk | I do prefer small patches most of the time but most of these seemed so mechanical that it could have been batched | 17:41 |
edmondk | Either way we might as well just review through them because it takes longer to have this discussion | 17:41 |
*** anteaya has quit IRC | 17:45 | |
*** cweid has joined #openstack-trove | 17:52 | |
edmondk | reviewing them all now | 17:52 |
SlickNik | pmalik: Yes, however I don't see any dangling mock issues with a lot of changes pushed up eg. https://review.openstack.org/#/c/180730/1/trove/tests/unittests/router/test_router.py,cm, https://review.openstack.org/#/c/180773/1/trove/tests/unittests/datastore/base.py,cm, and https://review.openstack.org/#/c/180832/1/trove/tests/unittests/network/test_neutron_driver.py,cm | 17:52 |
SlickNik | Those just seem to be changing the base class and re-ordering imports, for one single module at a time. That just seems like a be a whole lot of noise in our commit logs. If we really want to do that, let's combine those into a single patchset, please? | 17:52 |
sushilkm | +1 SlickNik, why would we want to have so many patches doing the same thing for different files, those can be easily clubbed to make the commit queue smaller | 17:55 |
edmondk | on the flip side it's taking longer for us to discuss this trivial stuff then just go and review them :) | 17:56 |
edmondk | the work is done we should just review and move on | 17:56 |
edmondk | efficiency is king | 17:57 |
*** masco has joined #openstack-trove | 18:03 | |
*** dencaval has quit IRC | 18:10 | |
*** saurabhs has joined #openstack-trove | 18:27 | |
openstackgerrit | Merged openstack/trove-integration: Adds conf modifications for Vertica https://review.openstack.org/170362 | 18:39 |
*** masco has quit IRC | 18:40 | |
*** exploreshaifali_ has joined #openstack-trove | 18:44 | |
*** exploreshaifali has quit IRC | 18:46 | |
*** dencaval has joined #openstack-trove | 18:54 | |
*** johnma has quit IRC | 19:24 | |
*** johnma has joined #openstack-trove | 19:24 | |
*** nshah has left #openstack-trove | 19:37 | |
*** dencaval has quit IRC | 20:03 | |
*** ajutras has joined #openstack-trove | 20:03 | |
*** Longgeek has quit IRC | 20:18 | |
*** amrith is now known as _amrith_ | 20:23 | |
*** exploreshaifali_ has quit IRC | 20:26 | |
*** pboros has quit IRC | 20:53 | |
*** crobertsrh is now known as _crobertsrh | 20:57 | |
*** exploreshaifali_ has joined #openstack-trove | 21:06 | |
openstackgerrit | Merged openstack/trove: Added dangling mock detection to 'secgroups' https://review.openstack.org/180806 | 21:29 |
openstackgerrit | Merged openstack/trove: Added dangling mock detection to 'conductor' https://review.openstack.org/180828 | 21:30 |
openstackgerrit | Merged openstack/trove: Added dangling mock detection to 'taskmanager' https://review.openstack.org/180798 | 21:30 |
openstackgerrit | Merged openstack/trove: Added dangling mock detection to 'mgmt' module https://review.openstack.org/180831 | 21:30 |
*** IanGovett has quit IRC | 21:33 | |
*** exploreshaifali_ has quit IRC | 21:35 | |
openstackgerrit | Merged openstack/trove: Added dangling mock detection to 'cluster' module https://review.openstack.org/180720 | 21:36 |
*** ajutras has quit IRC | 21:36 | |
*** david-lyle has joined #openstack-trove | 21:56 | |
*** chlong has quit IRC | 21:59 | |
*** johnma has quit IRC | 22:02 | |
*** sriram_tesora has quit IRC | 22:10 | |
*** mayurig has joined #openstack-trove | 22:25 | |
*** eghobo_ has quit IRC | 22:27 | |
*** mayurig has quit IRC | 22:27 | |
*** sharikapongubala has joined #openstack-trove | 22:29 | |
*** mayurig has joined #openstack-trove | 22:35 | |
*** mayurig has quit IRC | 22:35 | |
sharikapongubala | hello, I can't update my contact information in review.openstack.org. Does anyone have any idea why it is not allowing me to change my info? | 22:35 |
*** david-lyle has quit IRC | 22:38 | |
*** IanGovett has joined #openstack-trove | 22:39 | |
*** tosky has quit IRC | 22:40 | |
openstackgerrit | Sharika Pongubala proposed openstack/trove-integration: Changes made to install additional debian packages for vertica management console https://review.openstack.org/181186 | 22:46 |
*** sharikapongubala has quit IRC | 22:52 | |
setmason | Is there a way to prevent conflicts between the private TroveNetwork and a GuestNetwork? | 22:57 |
*** _amrith_ is now known as amrith | 23:10 | |
*** chlong has joined #openstack-trove | 23:24 | |
*** mattgriffin has quit IRC | 23:28 | |
openstackgerrit | Sharika Pongubala proposed openstack/trove-integration: To install additional debian packages https://review.openstack.org/181186 | 23:32 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/python-troveclient: Updated from global requirements https://review.openstack.org/181241 | 23:37 |
openstackgerrit | OpenStack Proposal Bot proposed openstack/trove: Updated from global requirements https://review.openstack.org/179879 | 23:38 |
openstackgerrit | Sharika Pongubala proposed openstack/trove-integration: To install additional debian packages https://review.openstack.org/181186 | 23:38 |
*** mattgriffin has joined #openstack-trove | 23:41 | |
*** eghobo has joined #openstack-trove | 23:50 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!