Wednesday, 2016-03-30

openstackgerritamrith proposed openstack/trove: Address change in Route v2.3  https://review.openstack.org/29841900:43
*** tqtran has quit IRC01:19
*** cheneydc has joined #openstack-trove01:24
*** raginbajin has quit IRC01:30
*** krotscheck_dcm has quit IRC01:31
*** raginbajin has joined #openstack-trove01:31
*** ediardo has quit IRC01:33
*** krotscheck has joined #openstack-trove01:33
*** amrith is now known as _amrith_01:56
*** tqtran has joined #openstack-trove02:03
*** tqtran has quit IRC02:07
*** imandhan has quit IRC02:32
*** imandhan has joined #openstack-trove02:33
*** imandhan has quit IRC02:37
*** mingdang1 has joined #openstack-trove02:53
*** links has joined #openstack-trove03:40
*** johnma has quit IRC03:49
*** pmackinn has quit IRC04:23
*** sgotliv has joined #openstack-trove04:33
*** imandhan has joined #openstack-trove04:34
*** imandhan has quit IRC04:38
*** imandhan has joined #openstack-trove04:49
*** mingdang1 has quit IRC05:23
*** imandhan has quit IRC05:42
*** Ravikiran_K has joined #openstack-trove05:59
*** haomaiwang has joined #openstack-trove06:06
*** rcernin has joined #openstack-trove06:26
*** tesseract has joined #openstack-trove06:45
*** tesseract is now known as Guest2315706:46
*** sgotliv has quit IRC06:48
*** haomaiwang has quit IRC07:01
*** haomaiwang has joined #openstack-trove07:01
zigocp16net: _amrith_: I still have the same failure in test_resize_volume_bad_value(), so I removed that test and uploaded the trove-dashboard package to Debian Experimental.07:59
zigoI'm now trying to do a manual setup of Trove on my CI machine (after a full Tempest run with all the DefCore packages installed).08:00
*** haomaiwang has quit IRC08:01
*** haomaiwa_ has joined #openstack-trove08:01
*** sgotliv has joined #openstack-trove08:21
*** Ravikiran_K has quit IRC08:28
*** tosky has joined #openstack-trove08:46
*** haomaiwa_ has quit IRC09:01
*** haomaiwang has joined #openstack-trove09:01
zigoIs the /etc/trove/cloudinit/mysql.cloudinit file mandatory, or can I just prepare my image without requiring it?09:08
*** haomaiwang has quit IRC09:47
*** cheneydc has quit IRC10:00
*** mingdang1 has joined #openstack-trove10:23
*** _amrith_ is now known as amrith10:26
*** dhellmann has joined #openstack-trove10:36
openstackgerritamrith proposed openstack/trove: Trove's tox tests should respect upper-constraints.txt  https://review.openstack.org/29885010:53
dougshelley66zigo that cloudinit file is optional11:10
-openstackstatus- NOTICE: Gate on project-config is currently broken due to IRC tests. The problem has been detected and we are working to fix the issue as soon as possible.11:15
amrithvkmc, responding to your questions below.11:18
amrith>> why there is a new change?11:18
amrithWe're iterating to find the right mix of solution(s).11:18
amrith>> https://review.openstack.org/#/c/298984/1 == https://review.openstack.org/#/c/298419/1 right?11:18
amrithThe patch set 1 of those reviews are not current, I have proposed new changes. But, yes. The changes are against master and stable/mitaka. Other changes for other branches.11:18
amrith>> https://review.openstack.org/#/c/298984/ looks good11:18
amrithI have proposed patch set 3 to address some questions from Tony11:18
amrithvkmc ^^11:18
amrithjohnma, replied to your review quesiton. the reason we need to put the branch name in the tox.ini is because we have to get the right upper-constraints.txt file on non-master branches.11:19
amrithnext ...11:19
amrithzigo, /etc/trove/cloudinit/mysql.cloudinit is optional.11:19
amrithyou can ignore it.11:19
amrithnext.11:19
amrithah, dougshelley66 said the same thing ...11:19
*** openstackgerrit has quit IRC11:47
*** openstackgerrit has joined #openstack-trove11:47
*** pmackinn has joined #openstack-trove11:56
*** pmackinn has quit IRC12:12
*** pmackinn has joined #openstack-trove12:13
*** david-lyle_ has joined #openstack-trove12:17
*** david-lyle has quit IRC12:17
zigoamrith: Ok, thanks, will do.12:31
zigoamrith: Also, how does the trove-guestagent gets MySQL root credentials within the guest image?12:32
zigoamrith: Does it read /etc/mysql/debian.cnf?12:32
amrithzigo, I believe the answer is yes.12:32
zigoamrith: Does the guestagent needs to run as root then?12:32
zigoneed12:33
*** openstackgerrit has quit IRC12:33
amrithI say 'I believe' because I am unsure about the debian part.12:33
*** openstackgerrit has joined #openstack-trove12:33
amrithI thought it was /etc/mysql/my.cnf12:33
amrithzigo, the guestagent 'run as' as opposed to 'connect to the database as'12:33
amrithgood questions, I have to leave now, will catch up with you in an hour or so.12:34
zigoamrith: The debian.cnf contains root admin credentials to MySQL:12:34
zigoroot@server-01 ~# cat /etc/mysql/debian.cnf12:34
zigo# Automatically generated for Debian scripts. DO NOT TOUCH!12:34
zigo[client]12:34
zigohost     = localhost12:34
zigouser     = debian-sys-maint12:34
zigopassword = <generated-password>12:34
zigosocket   = /var/run/mysqld/mysqld.sock12:34
zigoamrith: No pb, thanks for being so helpful.12:34
amrithbbiab12:34
zigoWhat's the setup for networking of trove when running Tempest? For example, what do I put in default_neutron_networks ?12:38
zigoDo I need to setup a new network especially for Trove?12:38
zigoI also don't really understand what needs to be done at http://docs.openstack.org/developer/trove/dev/manual_install.html#setup-trove-datastores12:39
zigoJust do the Trove API calls?12:41
zigoNothing more?12:41
zigodougshelley66: ^12:41
*** amrith is now known as _amrith_12:44
dougshelley66zigo i'm not a tempest expert so am not sure how to answer your question12:53
dougshelley66default_neutron_networks isn't a required parameter. You only need it if you want to have you guest instance on a separate network for say amqp12:53
dougshelley66if you don't provide it and you are using neutron, you will likely need to use the --nic param on trove create (which would be what an end-user would have to do)12:54
*** mingdang1 has quit IRC13:18
*** openstackgerrit has quit IRC13:18
*** openstackgerrit has joined #openstack-trove13:18
*** pmackinn has quit IRC13:26
*** links has quit IRC13:30
*** pmackinn has joined #openstack-trove13:44
*** tqtran has joined #openstack-trove13:57
*** imandhan has joined #openstack-trove13:57
*** _amrith_ is now known as amrith13:58
*** haomaiwang has joined #openstack-trove14:01
*** johnma has joined #openstack-trove14:22
*** links has joined #openstack-trove14:30
*** hogepodge has quit IRC14:44
*** links has quit IRC14:49
openstackgerritamrith proposed openstack/trove: Trove's tox tests should respect upper-constraints.txt  https://review.openstack.org/29885014:49
*** haomaiwang has quit IRC15:01
*** haomaiwa_ has joined #openstack-trove15:01
*** ediardo has joined #openstack-trove15:15
*** Guest23157 has quit IRC15:21
*** imandhan has quit IRC15:40
*** imandhan has joined #openstack-trove15:40
*** tellesnobrega is now known as tellesnobrega_af15:44
openstackgerritamrith proposed openstack/trove: Trove's tox tests should respect upper-constraints.txt  https://review.openstack.org/29885015:51
*** tosky has quit IRC15:55
*** tosky has joined #openstack-trove15:58
*** haomaiwa_ has quit IRC16:01
*** haomaiwang has joined #openstack-trove16:01
*** sgotliv has quit IRC16:05
*** stevemar has quit IRC16:08
*** boden has joined #openstack-trove16:09
*** boden has left #openstack-trove16:10
*** tellesnobrega_af is now known as tellesnobrega16:15
*** stevemar has joined #openstack-trove16:19
*** openstack has joined #openstack-trove17:03
*** openstackstatus has joined #openstack-trove17:05
*** ChanServ sets mode: +v openstackstatus17:05
zigodougshelley66: Thanks, good to know.17:25
*** tellesnobrega_af is now known as tellesnobrega17:25
zigo(sorry, I went out, but I alwasy read the backlog if you highlight me)17:25
*** tosky has joined #openstack-trove17:26
*** tosky has quit IRC17:26
*** tosky has joined #openstack-trove17:38
*** arist has quit IRC17:41
*** arist has joined #openstack-trove17:41
*** Ravikiran_K has joined #openstack-trove17:45
*** haomaiwang has quit IRC18:01
amrithtrove meeting started ... #openstack-meeting-alt18:01
*** haomaiwang has joined #openstack-trove18:01
*** stevemar has quit IRC18:08
*** stevemar has joined #openstack-trove18:09
openstackgerritVictoria Martinez de la Cruz proposed openstack/trove: Fixes migrations for MySQL 5.6.* and MariaDB 10.1.*  https://review.openstack.org/29956818:16
*** imandhan has quit IRC18:46
*** krotscheck is now known as krotscheck_dcm18:46
*** imandhan has joined #openstack-trove18:50
openstackgerritCraig Vyvial proposed openstack/trove-specs: show a test of images in the trove-specs  https://review.openstack.org/29958018:57
*** tellesnobrega is now known as tellesnobrega_af18:57
*** tellesnobrega_af is now known as tellesnobrega18:58
*** tellesnobrega is now known as tellesnobrega_af18:58
*** tellesnobrega_af is now known as tellesnobrega18:58
*** haomaiwang has quit IRC19:01
*** haomaiwang has joined #openstack-trove19:01
*** flwang has quit IRC19:04
*** sgotliv has joined #openstack-trove19:04
*** cweid has joined #openstack-trove19:06
*** tqtran has quit IRC19:12
*** Ravikiran_K has quit IRC19:12
*** tqtran has joined #openstack-trove19:12
openstackgerritMerged openstack/trove: Trove's tox tests should respect upper-constraints.txt  https://review.openstack.org/29885019:28
cp16netamrith: this should show how to add an image to the spec. https://review.openstack.org/299580 http://docs-draft.openstack.org/80/299580/1/check/gate-trove-specs-docs/9aec065//doc/build/html/specs/mitaka/test-image.html19:32
cp16netSlickNik: ^^19:33
amrithcp16net, thx19:37
amrithwould you like that merged in newton :)19:37
cp16netlol19:37
cp16neti think putting the images in a images/ directory makes the specs dir clean19:39
cp16netalthough it might be usful to make a dir for each spec images19:39
SlickNikcp16net: Thanks. that's pretty neat!19:45
pmackinnSlickNik, we've got to work that cat into superconductor somehow19:47
SlickNikmaybe we should rename the component to "trove supercatductor"19:48
SlickNikThat should give us plenty of opportunity. :)19:48
vkmcSlickNik++19:49
*** haomaiwang has quit IRC20:01
*** haomaiwang has joined #openstack-trove20:01
*** cweid has quit IRC20:21
amrithcp16net, SlickNik, vkmc, peterstac ... quick eyeballs on https://review.openstack.org/#/c/298858/5 if you have a second20:32
amrithjohnma ^^20:32
amrithalso https://review.openstack.org/#/c/298860/ (for liberty)20:34
vkmcchecking out20:36
*** flwang has joined #openstack-trove20:37
amriththx vkmc20:39
*** openstackgerrit has quit IRC20:48
*** openstackgerrit has joined #openstack-trove20:48
*** stevemar has quit IRC20:55
*** stevemar has joined #openstack-trove20:55
*** stevemar has quit IRC21:00
*** haomaiwang has quit IRC21:01
*** haomaiwa_ has joined #openstack-trove21:01
*** ewilson has quit IRC21:03
*** amrith is now known as _amrith_21:10
*** ewilson has joined #openstack-trove21:11
*** ewilson has quit IRC21:16
*** _amrith_ is now known as amrith21:22
*** tqtran is now known as tqtran-afk21:22
zigoamrith: How does trove-guestagent knows the system login (ie: root) / pass to the MySQL server in the guest instance?21:25
zigoI've designed a Debian image by myself (not using the pre-made Ubuntu, or diskimage-builder, but using openstack-debian-images which I designed and maintain, and which is used for the official Debian image).21:27
zigocp16net: ^21:27
*** ewilson has joined #openstack-trove21:33
*** sgotliv has quit IRC21:42
pmackinnzigo, think it generates a random one21:52
zigopmackinn: How does it do that?21:52
zigopmackinn: Forcing itself in?21:52
*** flwang has quit IRC21:52
pmackinnzigo, https://github.com/openstack/trove/blob/master/trove/guestagent/datastore/mysql_common/service.py#L68121:55
*** stevemar has joined #openstack-trove21:56
zigopmackinn: When I start the taskmanager, I get this:21:57
zigohttp://paste.openstack.org/show/492503/21:57
zigoHow to fix?21:57
pmackinnzigo,  what's in your guestagent config from the controller (if anything)?21:59
pmackinn/etc/trove/conf.d21:59
zigopmackinn: I don't have anything there... :/21:59
pmackinntrove+nova has to launch the instance, then inject config through cloud-init22:00
zigopmackinn: I've been told that cloudinit is optional...22:00
*** stevemar has quit IRC22:01
*** haomaiwa_ has quit IRC22:01
zigopmackinn: I prefer to just setup the guest correctly and avoid it.22:01
*** haomaiwang has joined #openstack-trove22:01
zigoI don't even have this folder...22:02
zigoBTW, I found that it's *very* annoying to have daemons not sharing a common trove.conf.22:03
zigoCan't it be fixed this way?22:03
zigoThere's duplicate options in the taskmanager, api and conductor (like the rabbitmq credentials).22:03
amrithbecause each uses it's own configuration file22:04
zigoamrith: Yeah, that's what I'm saying.22:04
amriththat is by design. but feedback is welcome so enter them in LP. I'm not saying it'll get fixed (this one, I think won't because it was intentional).22:05
zigoamrith: It'd be nicer to have a single trove.conf, with specific sections for specific daemons, so we don't have to copy the same db & rabbit config on multiple files.22:05
zigoamrith: That's what other services are doing.22:05
zigoamrith: I can of course fix this at the packaging level, but that's going away from upstream, and you may or may not like it...22:06
amrithno argument, but please file bugs in LP for feedback like this.22:06
zigoamrith: Anyway, how can I fix the "CRITICAL root [-] EmptyCatalog: Empty catalog." stuff?22:06
zigoamrith: By doing the trove-manage datastore_* commands?22:06
amrithI'm not sure what that is22:07
zigohttp://paste.openstack.org/show/492503/22:07
amrithyes, I see that above22:07
amrithI'm saying I've not seen that before so I'm looking22:07
pmackinnit means the guestagent has no config from the taskmanager22:07
zigo:/22:08
zigoOh.22:08
amrithwell, cloud-init isn't optional22:08
amrithor rather22:08
amritha config comes over the wire at instance launch time22:08
amrithno options on that score22:08
amrithso you built your own image; I guess you're talking to the right person then (pmackinn)22:08
amrithyes, the guest doesn't have config; that would do it22:09
amrithbut that means trove-guestagent.conf on the host needs fixing22:09
amrithat the minimum22:09
zigoamrith: pmackinn: Then I need help to know what to write in /etc/trove/cloudinit/mysql.cloudinit22:09
zigoamrith: It feels weird that the host needs a trove-guestagent.conf as well... :/22:10
amrithwell zigo, the host doesn't need it but it has to be somewhere so the host can send it to the guest22:10
zigoamrith: Well, I'm configuring the guest *before* I write it to glance, so i don't really see the point.22:10
pmackinnzigo, 2 files: guest_info and trove-guestagent.conf are needed to launch the agent22:11
amrithok, I'm not sure you follow how trove boots a guest instance22:11
amriththere are a couple of files, or a directory full of files22:11
amrithinto which you put configurations for a guest22:11
pmackinnguest_info has dynamic info in it from the taskmanager22:11
amrithand send them over22:11
amrithas pmackinn says, it comes from tm22:12
zigoAh ok.22:12
amriththe proper way to launch the guest agent is to load that directory22:12
amrithof configuration files22:12
amrithor those files one at a time22:12
zigoIsn't there something better as a doc than http://docs.openstack.org/developer/trove/dev/manual_install.html ?22:12
amriththere's a guide to making images22:13
amrithdid you follow that?22:13
zigoNot to blame the one who wrote it (it's good that there's something already), but it's full of mistakes and lacks lots of info...22:13
amrithwell zigo, it would be good to get feedback22:13
amrithso please file bugs if you find errors22:13
zigoWell, reread it ... :P22:13
amrithor fix the docs22:13
zigoSeriously, even the commands for glance are wrong, and outdated.22:13
zigoAdvised command: image-create --name trove-image --is-public True --container-format ovf --disk-format qcow2 --owner ${DATASTORE_TYPE}.qcow222:15
zigoworking command: image-create --name trove-image --visibility public --container-format ovf --disk-format qcow2 --owner admin_trove_user --file ${DATASTORE_TYPE}.qcow222:15
amrithg'night folks, I have to head home now22:15
zigoSo, --is-public True is from a long time ago, and moved to --visibility22:15
zigo--file is missing22:15
zigoparam for --owner is missing22:15
zigoThat's just an example among others of mistakes I've found.22:16
zigoamrith: Bye, and thanks.22:16
pmackinnhttps://github.com/openstack/trove/blob/master/doc/source/dev/building_guest_images.rst22:16
pmackinngood image build ref ^^22:16
zigopmackinn: Cheers.22:18
zigoTrying Trove helps me to do some packaging decisions for the Debian package. Like, I'll be moving the trove-guestagent.conf into the trove-common package, instead of the trove-guestagent.22:21
zigoThough I'd love to have a fully working setup before I upload the final to Experimental.22:21
zigoMaybe we can find a few hours during the summit?22:21
*** ewilson has quit IRC22:22
pmackinnshirley22:23
*** pmackinn is now known as pmackinn-out22:24
*** amrith is now known as _amrith_22:33
zigo_amrith_: Back? Or busy at home?22:33
*** tosky has quit IRC22:35
openstackgerritMerged openstack/trove-dashboard: Add support for root-disable  https://review.openstack.org/28614722:42
*** stevemar has joined #openstack-trove22:56
*** tqtran-afk is now known as tqtran22:57
*** haomaiwang has quit IRC23:01
*** haomaiwa_ has joined #openstack-trove23:01
*** stevemar has quit IRC23:01
*** mingdang1 has joined #openstack-trove23:02
*** _amrith_ is now known as amrith23:29
*** mingdang1 has quit IRC23:48
*** amrith is now known as _amrith_23:54
*** tqtran has quit IRC23:55
*** stevemar has joined #openstack-trove23:57

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