Wednesday, 2015-10-07

*** jengeb has quit IRC00:00
*** amrith is now known as _amrith_00:04
sharikapongubalacp16net , \n does not work for the help parameter in util.arg because of some default formatter so how should i format this help message?00:09
sharikapongubalathe lines are split after 80 characters no matter where you split the lines00:09
*** sharikapongubala has quit IRC00:16
*** chlong has joined #openstack-trove00:28
*** chlong has quit IRC00:32
*** bhaskarduvvuri has quit IRC00:35
*** IanGovett has quit IRC00:39
*** sonali5 has joined #openstack-trove00:39
*** ViswaV has quit IRC00:41
*** WonChon has quit IRC00:43
*** sharikapongubala has joined #openstack-trove00:45
*** IanGovett has joined #openstack-trove00:53
*** IanGovett has quit IRC00:54
*** sabeen1 has quit IRC01:07
*** sabeen2 has joined #openstack-trove01:07
*** csoukup has joined #openstack-trove01:23
*** imandhan has quit IRC01:25
*** imandhan has joined #openstack-trove01:25
*** csoukup has quit IRC01:27
*** imandhan has quit IRC01:30
*** dbennett has quit IRC01:45
peterstacsharikapongubala, yeah, I don't think there's much you can do about that ...01:49
sharikapongubalaok should i leave it as is?01:49
peterstacMaybe try double spaces between the options?01:50
peterstacIf that doesn't work then I guess just leave it01:50
*** imandhan has joined #openstack-trove02:01
*** haomaiwang has joined #openstack-trove02:17
openstackgerritJuPing proposed openstack/trove: Fix the bug of "Error spelling of 'AMPQ'"  https://review.openstack.org/23180102:20
*** haomaiwang has quit IRC02:29
*** haomaiwang has joined #openstack-trove02:30
*** cweid has quit IRC02:31
cp16netahh that sucks02:33
*** haomaiwang has quit IRC02:35
*** haomaiwa_ has joined #openstack-trove02:39
*** sonali5 has quit IRC02:48
*** haomaiwa_ has quit IRC03:00
*** arist has quit IRC03:02
*** haomaiwang has joined #openstack-trove03:03
*** arist has joined #openstack-trove03:03
*** csoukup has joined #openstack-trove03:05
*** c_soukup has joined #openstack-trove03:06
*** bhunter71 has quit IRC03:06
*** PeterSchwaller_ has quit IRC03:07
*** PeterSchwaller has joined #openstack-trove03:07
*** csoukup has quit IRC03:10
*** links has joined #openstack-trove03:21
*** imandhan has quit IRC03:39
*** imandhan has joined #openstack-trove03:40
*** imandhan has quit IRC03:44
*** pmackinn has quit IRC04:18
*** _hanhart has joined #openstack-trove04:36
cp16netsharikapongubala: i guess make it look as good as you can. thanks for updating this :)04:40
*** c_soukup has quit IRC04:52
*** imandhan has joined #openstack-trove04:54
*** imandhan has quit IRC04:56
*** imandhan has joined #openstack-trove04:57
*** imandhan has quit IRC05:01
*** imandhan has joined #openstack-trove05:07
*** sgotliv has joined #openstack-trove05:12
*** haomaiwang has quit IRC05:23
*** haomaiwang has joined #openstack-trove05:33
*** psb has joined #openstack-trove05:39
*** psb has quit IRC05:43
*** _amrith_ is now known as amrith05:55
*** sabeen2 has quit IRC05:56
*** sabeen1 has joined #openstack-trove05:57
*** haomaiwang has quit IRC06:01
*** haomaiwa_ has joined #openstack-trove06:01
*** amrith is now known as _amrith_06:04
*** akanksha_ has quit IRC06:18
*** imandhan has quit IRC06:35
*** imandhan has joined #openstack-trove06:41
*** sonali5 has joined #openstack-trove06:47
*** imandhan has quit IRC06:48
*** sabeen1 has quit IRC06:49
*** itlinux has joined #openstack-trove06:57
*** haomaiwa_ has quit IRC07:01
*** haomaiwang has joined #openstack-trove07:01
*** sonali5 has quit IRC07:51
*** csoukup has joined #openstack-trove07:52
*** csoukup has quit IRC07:56
*** haomaiwang has quit IRC08:01
*** haomaiwang has joined #openstack-trove08:01
*** sgotliv has quit IRC08:04
*** links has quit IRC08:38
*** sharikapongubala has quit IRC08:46
*** gillesMo has joined #openstack-trove08:46
*** haomaiwang has quit IRC09:01
*** 77CAAYMV4 has joined #openstack-trove09:01
*** sgotliv has joined #openstack-trove09:12
*** links has joined #openstack-trove09:25
*** jengeb has joined #openstack-trove09:37
*** hyperbaba has joined #openstack-trove09:40
*** tosky has joined #openstack-trove09:49
*** jengeb has quit IRC09:52
*** 77CAAYMV4 has quit IRC10:01
*** haomaiwa_ has joined #openstack-trove10:01
*** sharikapongubala has joined #openstack-trove10:21
*** sonali5 has joined #openstack-trove10:22
*** ShrutiJ has joined #openstack-trove10:31
ShrutiJHello! I'm Shruti Jasoria from India. I wanted to contribute to openstack. I faced some problem while setting up trove-integration.  Here's a screenshot of my terminal when the error came up. https://usercontent.irccloud-cdn.com/file/s70ESU7v/Screenshot%20from%202015-10-07%2015%3A41%3A11.png10:36
ShrutiJAs far as I could understand the link- https://bootstrap.pypa.io/get-pip.py,  is not working.  How do I solve this issue?10:40
*** sonali5 has quit IRC10:44
*** IanGovett has joined #openstack-trove10:44
*** sonali5 has joined #openstack-trove10:51
*** haomaiwa_ has quit IRC11:01
*** haomaiwang has joined #openstack-trove11:01
*** bhaskarduvvuri has joined #openstack-trove11:06
*** bhaskarduvvuri has quit IRC11:12
*** sgotliv has quit IRC11:16
*** psb has joined #openstack-trove11:26
*** pmackinn has joined #openstack-trove11:30
*** jengeb has joined #openstack-trove11:37
*** haomaiwang has quit IRC11:39
*** _amrith_ is now known as amrith11:43
*** sgotliv has joined #openstack-trove11:45
*** david-ly_ has joined #openstack-trove12:07
*** david-lyle has quit IRC12:09
*** khushbu has joined #openstack-trove12:09
*** david-ly_ is now known as david-lyle12:09
amrithShrutiJ, hello12:16
amrithare you able to run get-pip.py directly?12:16
amrithsounds like your machine has no internet access12:16
amrithalso, when sharing error messages or screens, you may find it easier to share them on gist.github.com. Copy the text you want to share and paste into gist.github.com and you can share the gist URL here.12:17
*** khushbu has quit IRC12:17
ShrutiJamrith Hello12:18
ShrutiJyes Icould run get-pip.py directly?12:18
amrithdid it succeed?12:19
ShrutiJMachine has internet access. Its just this part of the setup that didnt run12:19
amrithis it possible that at the time you were running this, you had a brief interruption of your internet service?12:20
ShrutiJYes it did12:20
amrithi.e. suppose you re-run redstack install now, does it work.12:20
ShrutiJprobably that might be the case12:20
vkmcoh cool, that I didn't know12:20
vkmc:)12:20
vkmcamrith, she has ubuntu 15.04, did you ever run redstack there?12:21
vkmcI just assumed it was a dependency issue12:21
amrithvkmc, the get-pip error was "503 Service Unavailable"12:21
vkmcgood point12:22
amrithmore likely a "somebody tripped over the ethernet cable"12:22
amrithbut you make a good point, I haven't tried 15.04 (I don't think).12:22
amrithmy vm's are 14.04lts12:22
amrithor 12.04 lts3 ;)12:22
vkmcShrutiJ, try running redstack again and see what happens :)12:22
vkmcyeah me too, all the lts12:23
ShrutiJYes12:23
ShrutiJIm doing that12:23
ShrutiJthanks for all the help :)12:23
*** jengeb has quit IRC12:42
openstackgerritSonali Goyal proposed openstack/trove: Unused variable backup_cmd removed  https://review.openstack.org/23196212:48
*** sgotliv has quit IRC13:01
*** links has quit IRC13:02
*** david-lyle has quit IRC13:16
*** sgotliv has joined #openstack-trove13:16
*** _crobertsrh is now known as crobertsrh13:16
*** tosky has quit IRC13:25
*** tosky has joined #openstack-trove13:27
*** david-lyle has joined #openstack-trove13:32
*** HimanshuGarg has joined #openstack-trove13:35
*** links has joined #openstack-trove13:46
*** HimanshuGarg has quit IRC13:47
*** hyperbaba has quit IRC13:47
*** himanshu has joined #openstack-trove13:49
*** himanshu is now known as Guest5266113:49
*** Guest52661 has quit IRC13:55
*** csoukup has joined #openstack-trove14:01
*** psb has quit IRC14:13
*** khushbu_ has joined #openstack-trove14:31
*** HimanshuGarg has joined #openstack-trove14:39
*** HimanshuGarg has quit IRC14:44
openstackgerritSonali Goyal proposed openstack/trove: Unused variable backup_cmd removed  https://review.openstack.org/23196214:45
openstackgerritSonali Goyal proposed openstack/trove: Changed quota values from per_user to per_tenant  https://review.openstack.org/23095714:49
*** khushbu_ has quit IRC14:49
*** hogepodge has quit IRC14:50
*** hogepodge has joined #openstack-trove14:51
*** khushbu_ has joined #openstack-trove14:51
*** psb has joined #openstack-trove14:57
psbhi14:58
psb@vkmc i'm creating  trove image from your script on ubuntu..but its not working14:59
psbis it work on only redhat edition15:00
psb?15:00
*** ShrutiJ has quit IRC15:00
*** HimanshuGarg has joined #openstack-trove15:02
*** HimanshuGarg has quit IRC15:04
pmackinnpsb, that script has no ubuntu image elements15:09
psbno.. i'm creating for centos as guest image and ubuntu as host image15:10
*** ShrutiJ has joined #openstack-trove15:13
vkmcpsb, that script works on Fedora/Centos/RHEL only15:26
vkmcto generate Centos/RHEL images only15:26
*** cweid has joined #openstack-trove15:29
psbok....do any other things i have to set after image genrated..like Auth url or rabbit username, host and password15:31
*** khushbu_ has quit IRC15:39
*** david-lyle has quit IRC15:41
*** david-lyle has joined #openstack-trove15:42
*** links has quit IRC15:42
openstackgerritPeter Stachowski proposed openstack/python-troveclient: Accepting network and availability zone for instances in cluster  https://review.openstack.org/18434915:49
*** david-ly_ has joined #openstack-trove15:55
*** david-lyle has quit IRC15:55
*** david-ly_ has quit IRC15:56
*** david-lyle has joined #openstack-trove15:56
*** gillesMo has quit IRC16:04
*** jwiles_ has joined #openstack-trove16:08
*** HimanshuGarg has joined #openstack-trove16:09
*** HimanshuGarg has quit IRC16:09
*** sgotliv has quit IRC16:10
*** sonali5 has quit IRC16:14
*** imandhan has joined #openstack-trove16:18
*** sabeen1 has joined #openstack-trove16:25
*** sonali5 has joined #openstack-trove16:38
*** sgotliv has joined #openstack-trove16:40
*** jwiles_ has quit IRC16:45
*** psb has quit IRC16:48
*** itlinux has quit IRC16:54
*** exploreshaifali has joined #openstack-trove16:56
*** psb has joined #openstack-trove17:01
psbhi vkmc17:01
psb@vmkc i'm getting error while creating trove image17:02
psbhttps://copr.fedoraproject.org failed Name or service not know17:03
psbunable to resolve host address copr.fedoraproject.org17:03
*** ViswaV has joined #openstack-trove17:03
vkmcpsb, I'll check that out later17:04
vkmcthanks for reporting that17:04
*** ViswaV has quit IRC17:08
*** ViswaV has joined #openstack-trove17:08
*** sonali5 has quit IRC17:16
*** itlinux has joined #openstack-trove17:17
*** sonali5 has joined #openstack-trove17:19
*** itlinux has quit IRC17:19
*** sharikapongubala has quit IRC17:19
*** itlinux has joined #openstack-trove17:21
*** tosky has quit IRC17:31
openstackgerritsandra muñoz vargas proposed openstack/trove: Fix redis cluster unit test for assertRaisesRegexp  https://review.openstack.org/23212617:34
*** itlinux has quit IRC17:37
*** sharikapongubala has joined #openstack-trove17:44
*** ViswaV has quit IRC17:44
*** HimanshuGarg has joined #openstack-trove17:45
*** HimanshuGarg has left #openstack-trove17:45
*** sgotliv has quit IRC17:46
*** ramashri has joined #openstack-trove17:52
*** ramashri has quit IRC17:54
*** ramashri has joined #openstack-trove17:54
vkmcan empty line? https://review.openstack.org/#/c/227808/17:58
vkmc:117:58
vkmcthis updates are odd17:58
*** unicky has joined #openstack-trove17:59
*** ashleighfarnham has joined #openstack-trove18:00
unickyDoes python-troveclient have support for HA cluster operations (ie. HA instance backup)?18:03
unickyI'm not seeing it in the command line interface18:03
vkmcunicky, I don't think so18:04
unickyvkmc: Ok, thanks18:04
vkmcnp18:04
psb@vkmc i have create trove image from your script....did i have to do  extra work ..like add rabbit details or auth and swift detail18:10
*** tosky has joined #openstack-trove18:15
*** imandhan has quit IRC18:15
amrithvkmc, what's this script that people are using? seems like it is causing confusion?18:53
amrithunicky, what datastore are you using?18:53
vkmcamrith, its a set of elements I wrote and are tested to work on RHEL deployments18:54
openstackgerritsandra muñoz vargas proposed openstack/trove: Fix redis cluster unit test for assertRaisesRegexp  https://review.openstack.org/23212618:58
*** itlinux has joined #openstack-trove18:59
openstackgerritsandra muñoz vargas proposed openstack/trove: Fix redis cluster unit test for assertRaisesRegexp  https://review.openstack.org/23212619:05
*** akanksha_ has joined #openstack-trove19:24
*** PeterSchwaller_ has joined #openstack-trove19:25
*** itlinux has quit IRC19:27
*** itlinux has joined #openstack-trove19:27
*** PeterSchwaller has quit IRC19:28
*** ramashri has quit IRC19:31
*** ramashri has joined #openstack-trove19:31
peterstaccp16net, I've tweaked https://review.openstack.org/#/c/184349/ if you want to take another look at it ...19:36
openstackgerritSonali Goyal proposed openstack/trove: Config update for instance not part of cluster  https://review.openstack.org/23216619:39
*** IanGovett has quit IRC19:47
*** dhellmann has quit IRC19:47
*** dhellmann has joined #openstack-trove19:47
*** IanGovett has joined #openstack-trove19:48
*** cweid has quit IRC19:54
*** sgotliv has joined #openstack-trove20:00
*** csoukup has quit IRC20:11
*** ShrutiJ has quit IRC20:30
*** itlinux has quit IRC20:36
cp16netpeterstac: thanks i think it looks good20:38
*** exploreshaifali has quit IRC20:39
psb@vkmc i have to change the permission on guest_info.conf every time when i launch trove instance..20:42
psbis there any way to set permanent file permission20:42
psb?20:42
*** sonali5 has quit IRC21:01
*** csoukup has joined #openstack-trove21:05
*** ViswaV has joined #openstack-trove21:06
psbguestagent will not start up without the permissions of /etc/trove/conf.d/guest_info being world readable.21:07
*** ramashri has quit IRC21:19
openstackgerritsandra muñoz vargas proposed openstack/trove: Fix redis cluster unit test for assertRaisesRegexp  https://review.openstack.org/23212621:19
*** ViswaV has quit IRC21:39
*** crobertsrh is now known as _crobertsrh21:49
*** csoukup has quit IRC22:07
psbany link which make write trove image for me..?22:26
amrithpsb, not sure what you're doing but I use images that I download and I build my own regularly. Sorry I'm not able to help because I'm not really sure of the configuraiton you are using and whence your software came, etc.22:27
psbany link or refernece from where i create my own trove ready image22:29
*** pmackinn has quit IRC22:29
*** pmackinn has joined #openstack-trove22:30
psbi create a trove image with vkmc script on centos....guest_info.conf file is injected on guest....but after some time mysql fail to start with some error of recovery22:31
amrithso here are a couple, there's trove-integration the project. You can use redstack to generate elements. there are some limitations on how you get to use them.22:31
amriththere is a document in the trove repository that describes how to build elements.22:31
amriththere's the pre-built elements on tarballs.openstack.org22:32
amrithI know that my company (tesora) distributes elements22:32
amrithso, you are trying to build an image for mysql on centos?22:32
psbyes22:32
amrithok.22:32
amrithlet's start by saying I have not looked at vkmc's scripts; I don't know what they do, etc.,22:33
amrithbut ...22:33
amrithdo you care what the guest os is?22:33
amrithfor starters are you ok if it is ubuntu?22:33
psbafter spent 3 week on trove...now i feel my trove image is not genrated right way22:34
psbyes22:34
amrithwell, my general suggestion to people is to start the easy way.22:34
amrithand not begin by attempting to build your own guest.22:34
amrithso, to that end, I typically suggest that people start easy and install using redstack.22:35
amrithor devstack22:35
amrithbut since you already have trove installed, let's go from there.22:35
amrithyou have a guest image.22:35
amrithcan you boot it with nova22:35
amrithusing nova boot ... --flavor ... --image ...22:35
amrithdoes it boot?22:35
psbyes22:36
amrithok, does it get assigned an IP, are you able to ssh into it?22:36
psbyes22:36
amrithgreat.22:36
amrithwhen you login to that instance (booted with nova) is the guest agent code preinstalled or do your elements attempt to rsync the code from the host at runtime?22:37
psbyes..its preinstalled22:37
amrithgreat22:37
*** sharikapongubala has quit IRC22:37
amrithnow, suppose you boot the instance using trove create ....22:37
amrithand you ssh into the instance22:37
amrithwhere does the guest agent store its log files?22:38
amrithis it in /var/log/trove/...22:38
amrithor some other place?22:38
psbyes22:38
amrithwhat does the logfile say, could you put that entire logfile on gist or something like that22:38
psblog say....mysql is running state with cmd ping to mysql....and guest update heart beat without instance-id22:39
amrithok22:41
amrithwhat's the launch command for the guest agent?22:42
psbhttp://paste.openstack.org/show/475333/22:42
psbthis type of log is genrated by guest agent22:42
psbi'm launch from dashboard22:43
amrithsorry, what do you mean?22:44
amrithon the guest instance (which you ssh'ed into), if you run something like (the centos equivalent of ...) ps -afx22:44
amrithwhat is the command line used to launch trove guest-agent?22:44
amrithit is usually something like trove-guestagent --config-dir=/some/path/name22:45
amrithis that what you see?22:45
psbyess.22:45
amrithwhat's the path name?22:45
pmalikcp16net, SlickNik, vkmc Needing the final push :-)  https://review.openstack.org/#/c/217371/22:45
pmalikhttps://review.openstack.org/#/c/224363/ Thanks.22:45
psbthe command is trove-guestagent --config-file=/etc/trove/trov... --config-file=/etc/trove/conf.d/guest_info.conf22:46
amrithoh?22:46
amriththat's interesting22:46
amrithok22:46
amrithso what is the permission on the directory /etc/trove/conf.d?22:46
amrithls -la /etc/trove/conf.d22:47
amrithwho owns it22:47
psbtrove22:47
amrithwhat's the PID running the guest agent?22:47
psbis the onwer22:47
amrithand the file is empty?22:48
psbactually my guest_info.conf file is empty....22:48
amrithaha22:49
amrithnow that's interesting22:49
amriththe file is created but it is empty22:49
amrithis there a second file there?22:49
amrithis that empty as well?22:49
psbwhich second file?22:49
amrithyou have two --config-file options22:50
amrithwhat's the first file?22:50
amrithis that empty as well?22:50
psbno....this file have data22:50
psblike rabbit crds22:50
amrithgood22:51
psbi read about that trove inject the guest_info.conf file data...22:51
amrithyes it does22:51
psbis that right?22:51
amrithnow ... let's see what could've happened here.22:51
psbis that mean...my guest image is not genrated correct way22:52
amrithno22:52
amrithI wouldn't say that22:52
amrithat least, I'm not sure (yet)22:52
amrithone second22:53
psbbut..i didnt get any error in taskmanager22:53
amrithyes, because the tm seems to have thought all is well22:54
*** david-lyle has quit IRC22:54
psbcinder volume also created and attach by taskmanager to guest vm22:55
amriththat's fine22:55
*** david-lyle has joined #openstack-trove22:55
amriththe file is empty you say22:55
amrithnot22:55
amrith[DEFAULT]22:55
amrithguest_id=22:55
amrithdatastore_manager=22:55
amrithtenant_id=22:56
amrithbut it is empty22:56
amrithas in 0 bytes22:56
psbyes..22:56
psbif i put all detail manually..22:56
psbvm come on active state22:56
amrithwell, that's good to know22:56
amrithbut the question is why the file is empty22:56
amrithon your host side ...22:57
amrithcould you look at your trove.conf22:57
amrithor actually22:57
amrithtask manager conf and tell me what the value (if any) is for the variable 'guest_info'22:58
psbnothing set any value22:59
psbthat are commented22:59
amrithhmm22:59
amrithok, one second22:59
amrithone last question23:00
amrithwhen you say your guest_info file is empty, do you mean there is a file with nothing in it, or there is no file?23:00
psbthere is a file...only one comment line on it23:01
amritha comment line?23:01
amrithno ...23:01
amrithreally?23:01
amrithcould you upload your guest_info.conf file to gist23:01
psbok23:01
amrithpsb, what time zone are you in?23:05
amrithit is 7pm here and I have to go now23:05
amrithI have some other things to attend to (like dinner)23:05
psbits 4:35 AM23:05
amrithI have a hunch on what is wrong, I'll chat with vkmc in the morning.23:05
amrithor she can read it here.23:05
psbi'm from india23:06
amrithI suspect that your guest image elements are creating a file in the location where the guest_info file should go and it is being left there in the image with the wrong permissions.23:06
amriththerefore when nova launches the server, it is unable to overwrite it with the right file.23:06
amriththere is NO WAY (at least not with upstream code) that you can get just a comment line in the guest_info file.23:06
amrithso ... how about you get some sleep23:06
amrithand we can catch up in the morning?23:06
amrithvkmc ^^23:07
amrithsound like a plan?23:07
amrithwell, I know I have to go now ...23:07
psbok..thnx23:07
amrithif you want to take your elements apart, and figure out whether they are leaving this turd around that's one thing23:07
amritha simple way to verify my hypothesis is this.23:07
amrithboot the image using nova23:07
amrithjust nova boot .....23:07
amrithssh in23:07
amrithand see if the empty (only comment) file is in /etc/trove/conf.d23:08
amrithif it is... ping vkmc and tell her about this23:08
amrithif it is not then ping me and tell my that my hypothesis is busted?23:08
amrithok?23:08
amrithI have to run now ...23:08
psbokay23:08
psbthax for that23:08
amrith^^ vkmc ^^ pmackinn ^^ please see above ^^23:10
*** david-lyle has quit IRC23:10
*** david-lyle has joined #openstack-trove23:10
*** sharikapongubala has joined #openstack-trove23:10
*** sharikapongubala has quit IRC23:11
*** amrith is now known as _amrith_23:11
*** _amrith_ is now known as amrith23:12
*** tosky has quit IRC23:13
*** psb has quit IRC23:14
*** david-lyle has quit IRC23:14
*** david-lyle has joined #openstack-trove23:17
*** ashleighfarnham has quit IRC23:18
*** david-ly_ has joined #openstack-trove23:19
*** david-lyle has quit IRC23:21
*** david-ly_ is now known as david-lyle23:31
*** amrith is now known as _amrith_23:46
*** psb has joined #openstack-trove23:47

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