Thursday, 2015-03-05

*** thedodd has quit IRC00:16
*** bhunter71 has quit IRC00:17
*** bhunter71 has joined #openstack-trove00:26
*** sbfox1 has joined #openstack-trove00:31
*** amcrn has joined #openstack-trove00:33
*** sbfox has quit IRC00:34
openstackgerritDan Ritchie proposed openstack/trove: Cleaned up redundancy between instance update() and edit()  https://review.openstack.org/16059100:37
*** sbfox1 has quit IRC00:38
*** devlaps has quit IRC00:41
*** annashen has joined #openstack-trove00:47
*** annashen has quit IRC00:51
*** annashen has joined #openstack-trove00:51
*** annashen has quit IRC01:02
*** pmalik has joined #openstack-trove01:04
*** mayurig has quit IRC01:06
*** topshare has joined #openstack-trove01:15
*** amcrn has quit IRC01:17
*** tlashchova has quit IRC01:31
*** ashleighfarnham has quit IRC01:38
amrithSlickNik, you can use that bug for the change.01:54
amrithmake it serve a useful purpose ;)01:54
SlickNikamrith: That image build job has been stuck in the zuul queue for 8 hours now :(01:58
amrithno hurry02:00
amrithI figured out how to get around it02:00
amrithdo a trove create02:00
amriththen sneak in to the instance on ssh02:00
amrithdo a pip install on oslo.concurrency02:00
SlickNikand pip install02:00
amrithand then start the trove guest service02:00
amriththen you get online in time ;)02:00
SlickNikYeah — that would work for a workaround.02:01
amrithI was going to tweak the troveguest service shell script to go and do a pip install on requirements.txt02:01
SlickNikHopefully this'll merge overnight, so we won't need it come tomorrow.02:01
amriththat would eliminate the need to push a new image when requirements.txt changes02:01
amriththat was why I was asking where the elements are that go into making that image02:01
amriththat may be your 'fix'02:02
*** Riddhi_ has quit IRC02:03
SlickNikWell, you might not always have internet access on your guest so you'd still want your image prebaked with the requirements — but for redstack that would work since we set up iptables masquerading.02:03
amrithgood point02:03
*** erkules_ has joined #openstack-trove02:09
*** erkules has quit IRC02:12
*** Longgeek has joined #openstack-trove02:16
*** abramley_ has joined #openstack-trove02:20
*** rwsu_ has joined #openstack-trove02:20
*** abramley has quit IRC02:21
*** reed has quit IRC02:21
*** rwsu has quit IRC02:21
*** abramley_ is now known as abramley02:21
*** coolsvap_ is now known as coolsvap02:22
*** Longgeek has quit IRC02:22
*** Longgeek has joined #openstack-trove02:24
*** Longgeek has quit IRC02:25
*** Longgeek has joined #openstack-trove02:25
*** amrith is now known as _amrith_02:26
*** haomaiwa_ has joined #openstack-trove02:28
*** pmackinn has quit IRC02:31
*** reed has joined #openstack-trove02:32
*** pmackinn has joined #openstack-trove02:33
*** rwsu_ is now known as rwsu-afk02:35
*** reed has quit IRC02:36
*** reed has joined #openstack-trove02:36
*** ashleighfarnham has joined #openstack-trove02:39
*** coolsvap is now known as coolsvap_02:41
*** ashleighfarnham has quit IRC02:44
*** eghobo has quit IRC03:08
*** haomaiw__ has joined #openstack-trove03:15
*** haomaiwa_ has quit IRC03:15
*** jcru has joined #openstack-trove03:35
*** jcru has quit IRC03:40
*** Riddhi has joined #openstack-trove03:58
*** reed has quit IRC04:15
*** sbfox has joined #openstack-trove04:16
*** bhunter71 has quit IRC04:48
*** eghobo has joined #openstack-trove04:57
openstackgerritOpenStack Proposal Bot proposed openstack/trove: Updated from global requirements  https://review.openstack.org/16139904:58
*** Riddhi has quit IRC05:15
*** sbfox has quit IRC05:33
*** pmackinn has quit IRC05:33
*** eghobo has quit IRC05:39
*** eghobo has joined #openstack-trove05:39
*** eghobo_ has joined #openstack-trove05:47
*** eghobo has quit IRC05:51
*** chandankumar has joined #openstack-trove06:28
*** sbfox has joined #openstack-trove06:42
*** Krast has joined #openstack-trove06:51
*** i-m-in has joined #openstack-trove07:01
*** exploreshaifali has joined #openstack-trove07:07
*** vigneshvar has joined #openstack-trove07:13
*** exploreshaifali has quit IRC07:15
*** i-m-in has quit IRC07:19
*** openstackgerrit has quit IRC07:36
*** openstackgerrit has joined #openstack-trove07:36
*** ashleighfarnham has joined #openstack-trove07:40
*** ashleighfarnham has quit IRC07:45
*** exploreshaifali has joined #openstack-trove07:45
*** eghobo_ has quit IRC07:58
*** jcru has joined #openstack-trove08:11
*** jcru has quit IRC08:16
*** Krast has quit IRC08:33
*** erkules_ is now known as erkules09:39
*** tosky has joined #openstack-trove09:46
*** jamie_h has joined #openstack-trove09:55
*** topshare has quit IRC10:11
*** haomaiw__ has quit IRC10:15
openstackgerritAlex Tomic proposed openstack/python-troveclient: Clean up remaining references to TROVE_URL  https://review.openstack.org/16166510:33
*** tlashchova has joined #openstack-trove10:57
*** sbfox has quit IRC11:27
openstackgerritAlex Tomic proposed openstack/python-troveclient: Clean up remaining references to TROVE_URL  https://review.openstack.org/16166511:32
*** vigneshvar has quit IRC11:40
*** IanGovett has joined #openstack-trove12:06
*** _amrith_ is now known as amrith12:25
*** coolsvap_ has quit IRC12:38
*** fuzzyrubble has joined #openstack-trove12:40
*** coolsvap_ has joined #openstack-trove12:46
*** pboros has joined #openstack-trove12:48
*** exploreshaifali has quit IRC13:01
*** exploreshaifali has joined #openstack-trove13:21
*** chandankumar has quit IRC13:50
*** radez_g0n3 is now known as radez14:18
*** fuzzyrubble has quit IRC14:21
*** fuzzyrubble has joined #openstack-trove14:22
*** pmackinn has joined #openstack-trove14:34
*** exploreshaifali has quit IRC14:36
*** pmalik has quit IRC14:37
*** radez is now known as radez_g0n314:56
*** sriram_tesora has joined #openstack-trove15:05
*** exploreshaifali has joined #openstack-trove15:12
*** tosky has quit IRC15:22
*** tosky has joined #openstack-trove15:24
*** Riddhi has joined #openstack-trove15:34
openstackgerritMorgan Jones proposed openstack/trove-specs: Trove Replication V2  https://review.openstack.org/15178015:36
*** Riddhi has quit IRC15:39
*** Riddhi has joined #openstack-trove15:40
openstackgerritMorgan Jones proposed openstack/trove-specs: Trove Replication V2  https://review.openstack.org/15178015:41
*** pmalik has joined #openstack-trove15:44
*** fuzzyrubble has quit IRC15:59
*** fuzzyrubble has joined #openstack-trove15:59
openstackgerritSimon Chang proposed openstack/trove-specs: Move the Trove Guest Agent to its own module  https://review.openstack.org/13691816:03
*** fuzzyrubble has quit IRC16:05
*** fuzzyrubble has joined #openstack-trove16:06
*** fuzzyrubble has quit IRC16:08
*** fuzzyrubble has joined #openstack-trove16:09
openstackgerritMorgan Jones proposed openstack/trove-specs: Trove Replication V2  https://review.openstack.org/15178016:10
*** ashleighfarnham has joined #openstack-trove16:11
*** fuzzyrubble has quit IRC16:12
*** bhunter71 has joined #openstack-trove16:13
*** ashleighfarnham has quit IRC16:15
openstackgerritMorgan Jones proposed openstack/trove-specs: Trove Replication V2  https://review.openstack.org/15178016:20
amrithSlickNik, edmondk, vkmc, johnma, peterstac ... please take a look at https://review.openstack.org/#/c/157140/16:41
amrithwould like to get it merged before the other datastore changes16:41
amrithso we don't have to rework them.16:41
*** rwsu-afk is now known as rwsu16:43
*** i-m-in has joined #openstack-trove16:47
*** i-m-in_ has joined #openstack-trove17:01
*** i-m-in has quit IRC17:01
*** jcru has joined #openstack-trove17:06
*** jcru has quit IRC17:06
*** jcru has joined #openstack-trove17:07
edmondkamrith: done17:22
*** Longgeek has quit IRC17:22
*** sbfox has joined #openstack-trove17:27
*** mayurig has joined #openstack-trove17:28
*** ashleighfarnham has joined #openstack-trove17:29
*** sbfox1 has joined #openstack-trove17:30
*** sbfox has quit IRC17:32
amrithedmondk, thanks.17:40
*** _mattf is now known as mattf17:45
*** eghobo has joined #openstack-trove18:08
*** radez_g0n3 is now known as radez18:09
*** annashen has joined #openstack-trove18:11
*** annashen has quit IRC18:11
*** annashen has joined #openstack-trove18:11
openstackgerritMerged openstack/trove: Updated from global requirements  https://review.openstack.org/16139918:24
*** exploreshaifali has quit IRC18:29
*** IanGovett has quit IRC18:39
*** rkourtz has joined #openstack-trove18:40
*** IanGovett has joined #openstack-trove18:41
*** amrith is now known as _amrith_18:46
*** _amrith_ is now known as amrith18:49
*** DCWilliams_VA has joined #openstack-trove18:53
openstackgerritMayuri Ganguly proposed openstack/python-troveclient: Fixed issues while using --bypass-url  https://review.openstack.org/16183418:53
*** pmalik has quit IRC18:55
*** bhunter71 has quit IRC18:59
*** tosky has quit IRC19:08
*** bhunter71 has joined #openstack-trove19:14
*** bhaskard has joined #openstack-trove19:19
bhaskardhi team, I am new to trove. I was trying trove on my local setup and was able to get it running. I am now stuck at an error in trove guest agent (Mysql Image)19:20
bhaskardStderr: u'sudo: no tty present and no askpass program specified\n'19:21
*** exploreshaifali has joined #openstack-trove19:21
bhaskardIt would be great if anyone could help me19:21
vkmcamrith, hi! one question about this change https://review.openstack.org/#/c/157140/719:22
vkmcamrith, during the weekly meeting we decided to mark experimental datastores/strategies19:23
vkmcamrith, and leave the stable ones implicitly denoted19:23
SlickNikbhaskard: welcome to Trove! One clarification — that's not something I've come across before — where exactly are you seeing that message and in what context?19:24
vkmcamrith, and I see that in your patchset mysql is under stable19:24
vkmcbhaskard, welcome! could you gave us more information about your deployment?19:24
bhaskardI configured guest agent to install mysql19:24
amrithvkmc ... you must be looking at a different patch revision19:24
bhaskardin guestagent.conf19:24
amrithin patch set 7, I don't see anything in 'stable'19:25
bhaskardI can upload the log file, if it helps19:25
*** DCWilliams_VA has quit IRC19:25
SlickNikbhaskard: maybe put it on paste.openstack.org or gist19:25
amrithbhaskard, you need to setup ubuntu to have passwordless sudo19:25
bhaskardsure19:25
amrithI suspect you haven't done that.19:25
*** DCWilliams_VA has joined #openstack-trove19:26
amriththis may be on the host if that's where you are seeing the message19:26
*** DCWilliams_VA has quit IRC19:26
amrithor on the guest, if you built your own.19:26
*** DCWilliams_VA has joined #openstack-trove19:26
vkmcamrith, oh you are right, sorry19:26
* amrith breaths sigh of relief19:27
vkmchaha19:28
bhaskardtrove-guestagent.log: http://paste.openstack.org/show/189520/19:31
SlickNikbhaskard: As amrith mentions, I suspect that the user that the guestagent is running as needs to have passwordless sudo.19:31
bhaskardI added trove ALL = (ALL) NOPASSWD: ALL19:32
bhaskardI built my own guest image19:33
bhaskardthe error comes up in the image/guest.19:34
*** mattf is now known as _mattf19:34
bhaskardamrith: you mean I should make ubuntu user passwordless?19:34
*** bhunter71 has quit IRC19:34
bhaskardbut, i guess trove user runs the command and not ubuntu. correct me if I am wrong19:35
bhaskardtrove-taskmanager.log on host: http://paste.openstack.org/show/189520/19:35
*** annashen has quit IRC19:35
SlickNikbhaskard: you can check in the upstart config (usually at /etc/init/trove-guest.conf) which user the trove-guest service is actually running as.19:36
*** mayurig has quit IRC19:36
bhaskardsure19:36
* amrith echoes what SlickNik said19:36
*** bhunter71 has joined #openstack-trove19:36
*** annashen has joined #openstack-trove19:37
amrithOld Trove saying, "Do as SlickNik says ... and all will be well."19:37
amrithOther old Trove sayings include "But, it works in redstack ..."19:37
bhaskardupstart config: http://paste.openstack.org/show/189529/19:38
bhaskarduser is --chuid trove:trove19:39
SlickNikbhaskard: So it looks like the trove user in that case.19:39
bhaskardyes, you are right19:39
bhaskardI am currently running this on devstack trove master branch19:40
SlickNikYou can try switching to the the trove user (running su trove as root), and seeing if you can actually sudo without a password (sudo ls).19:41
SlickNikThat'll let you confirm that your /etc/sudoers is configured correctly.19:41
bhaskardwhen I ran su trove, it is asking me for password19:43
*** exploreshaifali has quit IRC19:44
*** DCWilliams_VA has quit IRC19:52
*** jcru has quit IRC19:52
*** pmalik has joined #openstack-trove19:52
*** i-m-in_ has quit IRC19:55
*** pmalik has quit IRC19:58
*** bhunter71 has quit IRC20:00
*** fifieldt has quit IRC20:11
*** fifieldt_ has joined #openstack-trove20:12
vgnbkrbhaskard, you want to get to the point that you can run "sudo -k ls" without it asking you for a password.20:18
bhaskardvgnbkr, can you please give a command on how I can login as trove user20:20
bhaskardor run a command as trove user20:20
*** pmalik has joined #openstack-trove20:21
vgnbkrbhaskard, sorry, I'm not familiar with your environment or what you're trying to do.  I just wanted to let you know how to tell when you get sudo set up properly.20:22
*** Longgeek has joined #openstack-trove20:23
*** coolsvap_ is now known as coolsvap20:24
*** mattgriffin has joined #openstack-trove20:24
*** openstackgerrit has quit IRC20:25
*** openstackgerrit has joined #openstack-trove20:25
*** pmalik has quit IRC20:26
*** Longgeek has quit IRC20:27
bhaskardSlickNik, amrith, vgnbkr, I found the issue . I added trove ALL = (ALL) NOPASSWD: ALL above sudo or admingroup definitions in visudo20:37
bhaskardWhen I moved it down, the command started to work20:38
bhaskardsudo su -c 'sudo apt-get update' -s /bin/sh trove20:38
bhaskardThank you very much guys, for your help20:39
bhaskardI will build the image again and test it20:39
*** pmalik has joined #openstack-trove20:40
*** bhaskard has quit IRC20:44
*** david-lyle_afk has joined #openstack-trove20:45
*** pmalik has quit IRC20:46
*** david-lyle_afk has quit IRC20:47
*** david-lyle_afk has joined #openstack-trove20:47
*** sbfox1 has quit IRC20:49
*** coolsvap is now known as coolsvap_20:52
*** jamie_h has quit IRC20:57
*** bhaskard has joined #openstack-trove20:58
*** sbfox has joined #openstack-trove21:02
*** david-lyle_afk is now known as david-lyle21:03
*** bhunter71 has joined #openstack-trove21:10
*** _mattf is now known as mattf21:30
*** pmalik has joined #openstack-trove21:41
*** annashen has quit IRC21:43
*** annashen has joined #openstack-trove21:46
*** annashen has quit IRC21:51
*** annashen has joined #openstack-trove21:52
*** rkourtz_ has joined #openstack-trove22:02
*** rkourtz has quit IRC22:04
*** annashen has quit IRC22:05
*** annashen has joined #openstack-trove22:06
*** sbfox has quit IRC22:09
*** sbfox has joined #openstack-trove22:18
*** annashen has quit IRC22:21
*** annashen has joined #openstack-trove22:22
*** annashen has quit IRC22:30
*** eghobo has quit IRC22:33
*** annashen has joined #openstack-trove22:35
*** annashen has quit IRC22:37
*** annashen has joined #openstack-trove22:39
*** annashen has quit IRC22:40
*** annashen has joined #openstack-trove22:41
*** rkourtz_ has quit IRC22:43
*** rkourtz has joined #openstack-trove22:46
*** annashen has quit IRC22:47
*** annashen has joined #openstack-trove22:48
*** annashen has quit IRC23:06
*** bhaskard has quit IRC23:11
openstackgerritMerged openstack/trove: Introduce a classification of datastores and strategies  https://review.openstack.org/15714023:16
*** pmalik has quit IRC23:25
*** sbfox has quit IRC23:27
*** pboros has quit IRC23:35
*** openstack has joined #openstack-trove23:52

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