*** sonali5 has quit IRC | 00:26 | |
*** sonali5 has joined #openstack-trove | 00:32 | |
*** david-lyle has quit IRC | 01:13 | |
*** david-lyle has joined #openstack-trove | 01:44 | |
*** akanksha_ has quit IRC | 02:28 | |
*** arist has quit IRC | 03:00 | |
*** arist has joined #openstack-trove | 03:01 | |
*** tomblank has joined #openstack-trove | 03:04 | |
*** sonali5 has quit IRC | 03:07 | |
*** sonali5 has joined #openstack-trove | 03:11 | |
*** davideagnello has quit IRC | 03:32 | |
*** david-lyle has quit IRC | 03:32 | |
*** david-lyle has joined #openstack-trove | 03:44 | |
*** imandhan has joined #openstack-trove | 03:44 | |
*** imandhan has quit IRC | 03:46 | |
*** david-lyle has quit IRC | 03:48 | |
*** haomaiwang has joined #openstack-trove | 03:52 | |
*** david-lyle has joined #openstack-trove | 03:53 | |
*** ViswaV has joined #openstack-trove | 03:54 | |
*** ViswaV has quit IRC | 03:58 | |
*** ViswaV has joined #openstack-trove | 03:59 | |
*** haomaiwang has quit IRC | 04:01 | |
*** haomaiwang has joined #openstack-trove | 04:01 | |
*** david-lyle has quit IRC | 04:02 | |
*** david-lyle has joined #openstack-trove | 04:06 | |
*** david-lyle has quit IRC | 04:12 | |
*** david-lyle has joined #openstack-trove | 04:22 | |
*** amit213 has quit IRC | 04:28 | |
*** amit213 has joined #openstack-trove | 04:28 | |
*** david-lyle has quit IRC | 04:29 | |
*** ViswaV has quit IRC | 04:32 | |
*** fifieldt has joined #openstack-trove | 04:46 | |
*** haomaiwang has quit IRC | 05:01 | |
*** haomaiwang has joined #openstack-trove | 05:01 | |
*** sonali5 has quit IRC | 05:23 | |
*** psb has joined #openstack-trove | 05:40 | |
*** haomaiwang has quit IRC | 06:01 | |
*** haomaiwang has joined #openstack-trove | 06:01 | |
*** tomblank has quit IRC | 06:11 | |
*** k4n0 has joined #openstack-trove | 06:23 | |
*** links has joined #openstack-trove | 06:35 | |
*** khushbu has joined #openstack-trove | 06:42 | |
*** haomaiwang has quit IRC | 07:01 | |
*** haomaiwang has joined #openstack-trove | 07:01 | |
*** hyperbaba has joined #openstack-trove | 07:24 | |
*** fifieldt has quit IRC | 07:28 | |
*** haomaiwang has quit IRC | 08:01 | |
*** haomaiwang has joined #openstack-trove | 08:01 | |
psb | hi | 08:01 |
---|---|---|
*** khushbu has quit IRC | 08:14 | |
*** sonali5 has joined #openstack-trove | 08:25 | |
*** david-lyle has joined #openstack-trove | 08:28 | |
*** jengeb has joined #openstack-trove | 08:40 | |
*** david-lyle has quit IRC | 08:51 | |
*** sonali5 has quit IRC | 08:59 | |
*** david-lyle has joined #openstack-trove | 09:00 | |
*** haomaiwang has quit IRC | 09:01 | |
*** haomaiwang has joined #openstack-trove | 09:01 | |
*** david-lyle has quit IRC | 09:07 | |
*** david-lyle has joined #openstack-trove | 09:23 | |
*** david-lyle has quit IRC | 09:27 | |
*** david-lyle has joined #openstack-trove | 09:31 | |
psb | hello..i'm fail to launch the trove instance | 09:43 |
*** sonali5 has joined #openstack-trove | 09:43 | |
*** david-lyle has quit IRC | 09:54 | |
*** haomaiwang has quit IRC | 10:01 | |
*** david-lyle has joined #openstack-trove | 10:01 | |
*** haomaiwang has joined #openstack-trove | 10:01 | |
*** sonali5 has quit IRC | 10:13 | |
*** hyperbaba has quit IRC | 10:13 | |
*** IanGovett has joined #openstack-trove | 10:14 | |
*** david-lyle has quit IRC | 10:16 | |
*** tosky has joined #openstack-trove | 10:18 | |
*** david-lyle has joined #openstack-trove | 10:19 | |
*** IanGovett has quit IRC | 10:22 | |
*** david-lyle has quit IRC | 10:29 | |
*** david-lyle has joined #openstack-trove | 10:33 | |
*** IanGovett has joined #openstack-trove | 10:41 | |
*** david-lyle has quit IRC | 10:42 | |
*** itlinux has joined #openstack-trove | 10:46 | |
*** david-lyle has joined #openstack-trove | 10:49 | |
*** david-lyle has quit IRC | 10:53 | |
*** david-lyle has joined #openstack-trove | 10:56 | |
*** haomaiwang has quit IRC | 11:01 | |
*** haomaiwang has joined #openstack-trove | 11:01 | |
*** haomaiwang has quit IRC | 11:05 | |
*** haomaiwa_ has joined #openstack-trove | 11:05 | |
*** david-lyle has quit IRC | 11:07 | |
*** david-lyle has joined #openstack-trove | 11:08 | |
*** haomaiwa_ has quit IRC | 11:09 | |
psb | any one can help me ...my trove guest-agent not get the instance id | 11:15 |
*** david-lyle has quit IRC | 11:18 | |
*** pmackinn has joined #openstack-trove | 11:23 | |
*** david-lyle has joined #openstack-trove | 11:25 | |
*** sonali5 has joined #openstack-trove | 11:30 | |
openstackgerrit | Sonali Goyal proposed openstack/trove: Changed from per_user to per_tenant https://review.openstack.org/230957 | 11:30 |
*** hyperbaba has joined #openstack-trove | 11:33 | |
*** sonali5 has quit IRC | 12:01 | |
psb | ?? | 12:04 |
*** jengeb has quit IRC | 12:06 | |
*** sonali5 has joined #openstack-trove | 12:20 | |
*** pmackinn has quit IRC | 12:22 | |
*** pmackinn has joined #openstack-trove | 12:23 | |
*** k4n0 has quit IRC | 12:34 | |
psb | is there need ssh from controller to trove guest-agent for inject guest_info file...?????? | 12:35 |
*** bhunter71 has joined #openstack-trove | 12:48 | |
*** tomblank has joined #openstack-trove | 12:49 | |
*** sonali5 has quit IRC | 12:49 | |
*** sonali5 has joined #openstack-trove | 12:54 | |
*** pmackinn has quit IRC | 13:01 | |
*** amrith is now known as _amrith_ | 13:02 | |
openstackgerrit | Sonali Goyal proposed openstack/trove: Changed from per_user to per_tenant https://review.openstack.org/230957 | 13:09 |
*** pmackinn has joined #openstack-trove | 13:10 | |
*** _crobertsrh is now known as crobertsrh | 13:15 | |
*** links has quit IRC | 13:22 | |
*** chlong has joined #openstack-trove | 13:26 | |
*** hyperbaba has quit IRC | 13:39 | |
*** csoukup has joined #openstack-trove | 13:51 | |
*** haomaiwang has joined #openstack-trove | 13:54 | |
openstackgerrit | Sonali Goyal proposed openstack/trove: Changed quota values from per_user to per_tenant https://review.openstack.org/230957 | 13:56 |
*** openstackstatus has joined #openstack-trove | 13:58 | |
*** ChanServ sets mode: +v openstackstatus | 13:58 | |
*** haomaiwang has quit IRC | 14:01 | |
*** _amrith_ is now known as amrith | 14:01 | |
*** sabeen has joined #openstack-trove | 14:02 | |
*** links has joined #openstack-trove | 14:04 | |
*** haomaiwa_ has joined #openstack-trove | 14:06 | |
amrith | psb, yt? | 14:13 |
psb | i get ModelNotFoundError: InstanceServiceStatus Not Found error in trove-conductor | 14:17 |
*** sonali5 has quit IRC | 14:18 | |
amrith | psb, hard to help with that information. what were you doing, what's your config (devstack, installation some other way, ...), what OS. What do you see in API log, Task Manager log, does a Nova instance get launched, etc., | 14:23 |
psb | i have install openstack on centos 7 with rdo repo | 14:24 |
psb | and the nova instance is created successfully with cinder volume | 14:24 |
psb | but my trove instance get in error after some time | 14:24 |
amrith | ok, are you able to ssh to the guest instance? | 14:25 |
amrith | how did you build the image? | 14:25 |
amrith | is it the one from tarballs.openstack.org | 14:25 |
amrith | or trove-integration? | 14:25 |
psb | i built the image with disk-builder script found on github | 14:26 |
amrith | where on github? | 14:26 |
psb | https://github.com/denismakogon/trove-guest-image-elements | 14:27 |
psb | that is the script | 14:27 |
psb | to build trove image | 14:27 |
amrith | ok, I have no idea what that image would do ... | 14:27 |
amrith | What's the network configuration on your openstack? | 14:27 |
psb | i;m using neutron | 14:28 |
amrith | what's your management network IP/range/mask/gateway | 14:28 |
amrith | what's your public network IP/range/mask/gateway | 14:28 |
amrith | your nova instance, what's its IP when it gets launched? | 14:28 |
psb | 10.0.0.0/24 is management network | 14:28 |
psb | nova instance get the private ip which i created on neutron service | 14:29 |
amrith | are you able to ssh into it? | 14:30 |
psb | yes.. | 14:30 |
amrith | does the guest agent start? | 14:30 |
amrith | on the guest | 14:30 |
psb | yes..it started...but my guest_info file is emplty | 14:30 |
amrith | what does your trove guest log say | 14:31 |
psb | guest-agent sent heartbeat for instance with none id | 14:31 |
amrith | is it able to connect to amqp? | 14:31 |
amrith | can you put your entire trove guest agent log file on pastebin or some such | 14:31 |
psb | ok i will | 14:31 |
openstackgerrit | Sonali Goyal proposed openstack/trove: Changed quota values from per_user to per_tenant https://review.openstack.org/230957 | 14:33 |
psb | is it required controller able to ssh on guest-agent for injection file../ | 14:33 |
*** sonali5 has joined #openstack-trove | 14:33 | |
amrith | depends on what your guest image is setup for ... no idea what those images do so I'm groping around in the dark | 14:33 |
amrith | those github guest image elements are unknown to me. | 14:34 |
amrith | I use either the ones that are in trove-integration, or the doc in trove or the ones on tarballs.openstack.org, or the ones that Tesora distributes. | 14:34 |
sonali5 | vkmc I have submitted the patch again | 14:35 |
psb | tarballs.openstack.org images are working..? | 14:35 |
sonali5 | Can you please review it | 14:35 |
vkmc | sonali5, I'll review it when I have a minute, thanks for submitting it | 14:35 |
psb | http://paste.openstack.org/show/475333/ | 14:37 |
psb | this is my guest-agent log | 14:37 |
sonali5 | sure vkmc thanks :) | 14:37 |
amrith | vkmc, sonali5 ... i've -1'ed the change with comments | 14:38 |
*** chlong has quit IRC | 14:38 | |
vkmc | amrith, thanks for the review | 14:38 |
amrith | psb, what do you see in taskmanager and what's the status in trove? | 14:38 |
amrith | trove list, what does it say | 14:39 |
amrith | eventually error? | 14:39 |
sonali5 | amrith can you please let me know details ? | 14:40 |
amrith | sonali5, yes, I'll send it to you. | 14:40 |
psb | trove list show instance is in error status | 14:40 |
psb | ff4e6348-0888-4e6e-b633-610e29b6cd92 | xenon | mysql | mysql-5.5 | ERROR | 2 | 7 | 14:41 |
sonali5 | amrith can you let me know the issue with quotas.py | 14:42 |
psb | my guest_info file in guest-agent is emplty ..........if i put manually guest_id on that file...my trove db come in active status | 14:45 |
amrith | sonali5, here's a change that shows you what I'm talking about (one part of it) | 14:45 |
amrith | https://review.openstack.org/#/c/207833/8/trove/common/cfg.py,cm | 14:45 |
amrith | then, in yoru code, you'll have to either look for the old name or the new name | 14:46 |
amrith | that's the co-existance phase | 14:46 |
vkmc | psb, do you have /conf within /etc/trove/? | 14:47 |
psb | on controller or guest vm | 14:47 |
psb | ? | 14:47 |
amrith | vkmc, I'm not sure whether this guest has a pre-baked guest agent | 14:47 |
amrith | do you know whether it rsyncs the guest agent | 14:48 |
amrith | or something else | 14:48 |
vkmc | amrith, yeah they do | 14:49 |
vkmc | thing is... for Ubuntu the default location for guest_info is /etc/trove/conf | 14:49 |
vkmc | and for RHEL is /etc/trove | 14:49 |
sonali5 | amrith I am already using deprecated_name wont that help? | 14:50 |
vkmc | so the file can be injected somewhere else is trove-guestagent.conf is misconfigured | 14:50 |
vkmc | psb, on the guest vm | 14:50 |
amrith | vkmc, I have no idea how the centos rdo trove sets up the guest. | 14:50 |
amrith | trove-guestagent.conf on the host may be messed up | 14:50 |
psb | yes there is /etc/trove/conf.d | 14:50 |
amrith | I'll let you help since I don't have a reference machine to look at easily | 14:51 |
vkmc | psb, inside of it, you see guest_info? | 14:51 |
psb | yes..guest_info.conf file is present ..but it is empty | 14:52 |
amrith | sonali5, yes. I see that. let me find another part of the chagne that you'll need | 14:52 |
amrith | sorry my comment wasn't clear abotu that | 14:52 |
vkmc | psb, with GNU/Linux distributions you have? in the controller and in the guest | 14:53 |
*** jwiles has joined #openstack-trove | 14:53 | |
amrith | sonali5, take a look at https://review.openstack.org/#/c/207833/8/trove/extensions/mysql/models.py,cm | 14:53 |
psb | controller running on centos 7 and guest run on ubuntu | 14:53 |
psb | 14.04.3 | 14:55 |
vkmc | psb, can you paste me yout trove-taskmanager.conf? | 14:55 |
vkmc | http://paste.openstack.org | 14:55 |
psb | ok..sure | 14:55 |
*** david-ly_ has joined #openstack-trove | 14:56 | |
*** david-lyle has quit IRC | 14:57 | |
psb | http://paste.openstack.org/show/475341/ | 14:57 |
*** david-ly_ is now known as david-lyle | 14:57 | |
psb | this is trove-taskmanager.conf | 14:57 |
vkmc | psb, thx | 14:58 |
vkmc | I see the injected configuration location is fine -> injected_config_location = /etc/trove/conf.d | 14:59 |
vkmc | at least for an ubuntu image | 14:59 |
vkmc | in the controller side, where you have the files to be injected? | 14:59 |
vkmc | probably under /etc/trove you have an empty guest_info file | 14:59 |
psb | am I need file in controller also | 15:00 |
psb | ? | 15:00 |
sonali5 | amrith Am i write in understanding that since I am deprecaing I need to keep a check as to suppose if max_instances_per_tenant does not exist I should use max_instances_per_user | 15:00 |
sonali5 | *deprecating | 15:00 |
vkmc | psb, yeah, the file should be constructed in the controller side AFAIK | 15:00 |
*** haomaiwa_ has quit IRC | 15:01 | |
amrith | sonali5, yes. | 15:01 |
*** haomaiwang has joined #openstack-trove | 15:01 | |
amrith | in case someone has the old variable name | 15:01 |
amrith | then the code should (for one release cycle) understand either name | 15:01 |
psb | ohh..so i have to create a empty file guest_info under /etc/trove | 15:02 |
amrith | you should also enter a bug as part of your chkin so that in the next release we can clean out all the deprecated names (though we've not been too consistent on that part of it unfortunately) | 15:02 |
amrith | vkmc, the file is rendered on the controller and sent over. for some reason it appears that your file isn't getting rendered on controller side. | 15:02 |
sonali5 | Okay amrith I will change it and let you know | 15:03 |
sonali5 | thanks | 15:03 |
*** david-ly_ has joined #openstack-trove | 15:03 | |
*** david-lyle has quit IRC | 15:03 | |
amrith | thanks sonali5 | 15:03 |
vkmc | psb, what amrith said :D | 15:04 |
sonali5 | amrith also what is the error in quota.py | 15:04 |
*** tomblank has quit IRC | 15:04 | |
*** david-ly_ is now known as david-lyle | 15:04 | |
psb | but file is automatic genreated by trove-taskmanager and injected on guest-agent | 15:05 |
vkmc | psb, do you have connectivity from the guest to the controller? | 15:07 |
amrith | sonali5, same thing in quota.py. I'm not sure how you handle the fact that the name may be one or the other. | 15:07 |
psb | yes.... | 15:08 |
*** tomblank has joined #openstack-trove | 15:08 | |
vkmc | psb, can you paste me the taskmanager log' | 15:09 |
vkmc | ? | 15:09 |
psb | ok | 15:09 |
vkmc | another thing, did you deploy Trove with Packstack or used another installer? | 15:10 |
psb | i install trove with kilo rdo repo | 15:11 |
psb | http://paste.openstack.org/show/475343/ | 15:11 |
vkmc | psb, thx | 15:11 |
sonali5 | amrith I have changed that in every file that uses it in the complete trove project | 15:14 |
sonali5 | In future I guess If any wants to use they will anyways use the code to know the variables used | 15:14 |
*** pmackinn has quit IRC | 15:17 | |
psb | i didn't get the reaseon ....why guest_info is empty....i also set force_config_drive = always in nova-compute | 15:20 |
*** pmackinn has joined #openstack-trove | 15:24 | |
psb | i'm not using openstack core rabbitmqserer....i install seprate rabbitmq server for trove communication | 15:24 |
vkmc | checking at the code | 15:26 |
vkmc | psb, create guest_info under /etc/trove/conf.d/ in your controller side | 15:26 |
vkmc | and try launching a new instance | 15:26 |
psb | ok | 15:26 |
vkmc | the file doesn't need any content | 15:27 |
vkmc | just do a "touch /etc/trove/conf.d/ | 15:27 |
vkmc | guest_info.conf" | 15:27 |
vkmc | and that's it | 15:27 |
psb | ok | 15:27 |
*** tomblank_ has joined #openstack-trove | 15:31 | |
*** tomblank has quit IRC | 15:33 | |
*** tomblank_ is now known as tomblank | 15:33 | |
psb | does it required guest is accessable from controller..? | 15:33 |
vkmc | yeah | 15:34 |
psb | if i assign floating ip to guest agent then it works...? | 15:35 |
*** pmackinn has quit IRC | 15:37 | |
vkmc | psb, you shouldn't need to assign a floating ip | 15:40 |
vkmc | psb, the controller interacts with the guest through the events queue | 15:40 |
openstackgerrit | Peter Stachowski proposed openstack/trove-specs: Datastore Log Operations https://review.openstack.org/188168 | 15:40 |
psb | creating file on controller not work | 15:43 |
psb | still error state | 15:43 |
vkmc | psb, I'll try creating an image with the script you mentioned and checking how it works | 15:46 |
psb | ok | 15:46 |
psb | thnx | 15:46 |
*** pmackinn has joined #openstack-trove | 15:48 | |
*** david-ly_ has joined #openstack-trove | 15:48 | |
*** david-lyle has quit IRC | 15:48 | |
*** david-ly_ is now known as david-lyle | 15:49 | |
*** haomaiwang has quit IRC | 15:50 | |
*** haomaiwang has joined #openstack-trove | 15:51 | |
*** pmackinn has quit IRC | 15:53 | |
*** davideagnello has joined #openstack-trove | 15:56 | |
psb | https://docs.google.com/drawings/d/1Bv4gIXYtuc4MXsVgX_iVSGE-Ki8FMPx9MPnvLqRixWY/edit?usp=sharing | 15:59 |
*** jwiles has quit IRC | 16:00 | |
psb | can you check my setup of openstack | 16:00 |
psb | ? | 16:00 |
*** pmackinn has joined #openstack-trove | 16:00 | |
*** haomaiwang has quit IRC | 16:01 | |
*** haomaiwang has joined #openstack-trove | 16:01 | |
vkmc | psb, sure | 16:03 |
vkmc | brb | 16:03 |
*** imandhan has joined #openstack-trove | 16:05 | |
*** itlinux has quit IRC | 16:08 | |
psb | i also get the error in trove-api.log | 16:09 |
*** pmackinn has quit IRC | 16:09 | |
psb | An error occurred communicating with the guest: Timed out waiting for a reply to message ID 4fba1ad2bfb24842a63f165fedaf2272. | 16:09 |
amrith | vkmc do you know if sgotliv is around? | 16:13 |
amrith | can't seem to find him | 16:13 |
sonali5 | amrith Can you just help me | 16:15 |
sonali5 | I got build failure on jenkins | 16:15 |
sonali5 | I am not able to figure out the error Can you please help me out | 16:16 |
*** pmackinn has joined #openstack-trove | 16:20 | |
*** pmackinn has quit IRC | 16:29 | |
*** psb has quit IRC | 16:33 | |
*** pmackinn has joined #openstack-trove | 16:37 | |
amrith | sonali5, one second | 16:38 |
amrith | will take a look | 16:38 |
openstackgerrit | Sonali Goyal proposed openstack/trove: Changed quota values from per_user to per_tenant https://review.openstack.org/230957 | 16:40 |
sonali5 | amrith i guess | 16:40 |
sonali5 | i got to know | 16:40 |
sonali5 | the error | 16:40 |
sonali5 | I didnot change the conf files under etc | 16:41 |
*** haomaiw__ has joined #openstack-trove | 16:45 | |
vkmc | sonali5, run the tests locally to test your patch | 16:45 |
vkmc | sonali5, tox -e py27 will run unit tests for python2.7 | 16:45 |
vkmc | sonali5, I see in the latest patch that the py27 gate is failing, so running things locally will give you a hint on what is failing | 16:45 |
sonali5 | Yeah i did that only | 16:46 |
sonali5 | And I got the mistake | 16:46 |
sonali5 | probably its right now | 16:46 |
*** haomaiwang has quit IRC | 16:46 | |
amrith | sonali5, what's the error? | 16:56 |
amrith | I see nothing | 16:56 |
amrith | on the patch | 16:56 |
sonali5 | amrith i submitted a new patch | 16:58 |
sonali5 | thats the reason | 16:58 |
amrith | oh. pl | 16:58 |
amrith | let me know if you are seeing a problem with this | 16:58 |
amrith | I'll take a look in a short while | 16:58 |
amrith | ok? | 16:58 |
sonali5 | sure thanks | 16:58 |
sonali5 | :) | 16:59 |
sonali5 | see i dont get problem with max_volume_per_tenant but i do get the issue with max_instance_per_tenant | 16:59 |
*** haomaiw__ has quit IRC | 17:01 | |
*** 32NAAH197 has joined #openstack-trove | 17:01 | |
amrith | sonali5, let's wait till jenkins gets done and see what it says now. | 17:02 |
sonali5 | yeah | 17:03 |
amrith | cp16net, SlickNik yt? | 17:03 |
cp16net | howdy | 17:03 |
amrith | cp16net, howdy. I'm not so good. | 17:03 |
amrith | devstack has been pissing me off no end | 17:03 |
amrith | see my email on the thing? | 17:03 |
*** ViswaV has joined #openstack-trove | 17:03 | |
cp16net | oh boy | 17:03 |
cp16net | yeah i saw that | 17:03 |
amrith | can't get devstack to play ball after I reboot the machine | 17:03 |
amrith | figured out that it's not reattaching storage | 17:04 |
amrith | got around that | 17:04 |
amrith | now nova is acting just pissy | 17:04 |
SlickNik | hey guys | 17:04 |
amrith | hi SlickNik | 17:04 |
amrith | the vm I uploaded is with a running system | 17:04 |
amrith | so it is 8gb too big | 17:04 |
amrith | I would like to be able to ship a shutdown vm | 17:04 |
amrith | which would be only 5gb | 17:05 |
amrith | that way, it'll be quicker to copy etc | 17:05 |
amrith | and have people do the rejoin-stack | 17:05 |
cp16net | sure | 17:05 |
amrith | drill and be up and running | 17:05 |
amrith | but for now, ... | 17:05 |
amrith | download the VM | 17:05 |
amrith | you'll be able to launch it right away | 17:05 |
cp16net | ok i'll take a run at i | 17:05 |
amrith | then you can ssh into it (sent you user name and password) | 17:05 |
cp16net | it* | 17:05 |
amrith | and trove is running | 17:05 |
amrith | so you can just do a trove create | 17:06 |
amrith | and it works | 17:06 |
amrith | but if you reboot | 17:06 |
amrith | then ... | 17:06 |
amrith | cd /opt/stack/data | 17:06 |
amrith | sudo losetup -f stack-volumes-default-backing-file | 17:06 |
amrith | sudo losetup -f stack-volumes-lvmdriver-1-backing-file | 17:06 |
amrith | cd /opt/stack/devstack | 17:06 |
amrith | ./rejoin-stack.sh | 17:06 |
amrith | that gets you mostly up | 17:06 |
amrith | but nova won't play ball | 17:06 |
amrith | not sure why | 17:07 |
amrith | still trying to figre that out | 17:07 |
amrith | but for starters if you want to get the running vm up and running on your machine, I'd love to know what you have to do to get vmware running etc | 17:07 |
amrith | we can document that for the session | 17:07 |
vkmc | amrith, the communication between the taskmanager/nova is failing? like... the instance in nova is never launched? | 17:07 |
amrith | then you can tell me what you think is reasonable for 1h ish | 17:07 |
amrith | vkmc, no | 17:07 |
amrith | nova gets the request | 17:07 |
amrith | and says it has no hosts | 17:08 |
*** ViswaV has quit IRC | 17:08 | |
amrith | which is ridiculous | 17:08 |
amrith | because nothing else is running | 17:08 |
amrith | vkmc, this is for the tutorial at summit | 17:08 |
vkmc | oh I have seen that before | 17:08 |
vkmc | pmackinn, ^ | 17:08 |
amrith | ah, and what do you do to fix it (please don't say unstack.sh ;)) | 17:08 |
krotscheck | I'm trying to write some tests for https://review.openstack.org/#/c/217918/ , and I | 17:09 |
cp16net | amrith: wonder if you need to wait a bit before running create so that scheduler can see how much memory/cpu is avail | 17:09 |
amrith | cp16net, I will try that | 17:09 |
amrith | but it appears that nova scheduler is up and running | 17:09 |
amrith | I ran nova show-hosts and stuff | 17:09 |
krotscheck | , and I'm goign through the dev setup. Is there any interest in having me setup a vagrant script that'll just boostrap the VM that's specified here? | 17:09 |
amrith | and it seems to see the host | 17:09 |
cp16net | at least watch the scheduler log to see if its reporting the correct memory and cpu avail | 17:09 |
krotscheck | Something like this -> http://git.openstack.org/cgit/openstack/ironic/tree/Vagrantfile | 17:10 |
*** ViswaV has joined #openstack-trove | 17:10 | |
sonali5 | amrith is the erro because https://review.openstack.org/#/c/230957/5/trove/tests/config.py in this file max_instance_per_tenant is not defined | 17:10 |
sonali5 | ? | 17:10 |
amrith | cp16net, will check that | 17:10 |
cp16net | krotscheck: a vagrant file would be nice, a while back i had one that worked but its not worked in over a year for me any longer... | 17:11 |
vkmc | sonali5, what do you think? before asking, try deducing it yourself | 17:11 |
vkmc | sonali5, try making the change and running the tests, if that is what you think | 17:11 |
krotscheck | cp16net: Yeah, the trick is how to gate that, since you can't really run a vm in a vm. | 17:11 |
amrith | krotscheck, sorry, not sure what you refer to ... | 17:11 |
krotscheck | amrith: Converting http://docs.openstack.org/developer/trove/dev/install.html into a vagrant box | 17:11 |
amrith | it may be useful to some | 17:12 |
amrith | but at the end of the day, having the steps is more important | 17:12 |
amrith | for example, I don't use vagrant | 17:12 |
amrith | and I'm sure that if you use vagrant, the puppet lobby will come and say nasty things to you | 17:12 |
amrith | then the ansible folks will come next | 17:12 |
amrith | personally I don't much care for the vagrant file given that there are six while steps you have to follow ;) | 17:13 |
cp16net | krotscheck: so i dont think gating a vagrant file is a good idea but if you had one that a dev could use to get started with some doc around it that might be useful | 17:13 |
krotscheck | amrith: Well, not everyone has years of domain experience. I, for example, have a few tests that I need to write and I don't really have time to learn everything. | 17:13 |
krotscheck | cp16net: Ultimately, the vagrantfile would just execute ansible anyway. | 17:13 |
amrith | krotscheck, good point. I'm not the audience so I guess I don't see the value. | 17:14 |
cp16net | krotscheck: i'd say ansible/puppet/bash doesnt really matter to me | 17:14 |
amrith | fyi, if I was automating something, I wouldn't automate those steps | 17:14 |
amrith | I would ... | 17:14 |
amrith | set the current user to passwordless sudo | 17:15 |
amrith | openstack ALL=(ALL) NOPASSWD: ALL | 17:15 |
amrith | or some such | 17:15 |
amrith | I'd reset PATH_DEVSTACK_SRC to /opt/stack/devstack | 17:15 |
cp16net | krotscheck: a long time ago in a galaxy far far way this vagrant file work... https://github.com/cp16net/trove-tester/blob/master/Vagrantfile | 17:15 |
amrith | I'd then | 17:15 |
amrith | apt-get install -y git-core libmysqlclient-dev | 17:15 |
amrith | sudo mkdir /opt/stack | 17:15 |
amrith | sudo chown -R openstack.openstack /opt/stack | 17:15 |
amrith | git clone http://git.openstack.org/openstack/trove-integration | 17:15 |
amrith | cd trove-integration/scripts | 17:15 |
amrith | ./redstack install | 17:15 |
amrith | ./redstack kick-start mysql | 17:16 |
krotscheck | I can't help but think that devstack already has something that does this. | 17:16 |
amrith | that whole process takes about 20m on my machine on a fresh ubuntu vm | 17:16 |
amrith | krotscheck, devstack does | 17:16 |
amrith | would you like those steps instead? | 17:16 |
cp16net | amrith: this sounds like the steps you are talking about https://github.com/cp16net/trove-tester/blob/master/Vagrantfile | 17:17 |
cp16net | err... https://github.com/cp16net/trove-tester/blob/master/prep.sh | 17:17 |
cp16net | my copy paste skillz are giving me a case of the mondays... | 17:17 |
krotscheck | amrith: Whatever gets me to "writing tests for trove" fastest. | 17:17 |
amrith | the steps above are the quickest | 17:18 |
amrith | with devstack, you get to make your own localrc | 17:18 |
amrith | not hard ... | 17:18 |
amrith | here is one I use | 17:18 |
krotscheck | amrith: Alright, lemme go run those and see what I end up with. | 17:18 |
amrith | # Sample localrc file | 17:18 |
amrith | # For use in installing Trove with devstack | 17:18 |
amrith | # The various passwords below are just 20 character random passwords | 17:18 |
amrith | # produced with makepasswd. The SWIFT_HASH is a unique string for a | 17:18 |
amrith | # swift cluster and cannot be changed once established. | 17:18 |
amrith | MYSQL_PASSWORD=07f1bff15e1cd3907c0f | 17:18 |
amrith | RABBIT_PASSWORD=654a2b9115e9e02d6b8a | 17:18 |
amrith | SERVICE_TOKEN=fd77e3eadc57a57d5470 | 17:18 |
amrith | ADMIN_PASSWORD=882f520bd67212bf9670 | 17:18 |
amrith | SERVICE_PASSWORD=96438d6980886000f90b | 17:18 |
amrith | PUBLIC_INTERFACE=eth0 | 17:18 |
amrith | ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond | 17:18 |
amrith | enable_plugin trove git://git.openstack.org/openstack/trove | 17:18 |
amrith | enable_plugin python-troveclient git://git.openstack.org/openstack/python-troveclient | 17:18 |
amrith | # Trove also requires Swift to be enabled for backup / restore | 17:18 |
amrith | ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account | 17:18 |
amrith | SWIFT_HASH=6f70656e737461636b2074726f766520627920616d72697468202620646f7567 | 17:19 |
amrith | then stack.sh | 17:19 |
amrith | I could pastebin them to you if you want to go that route | 17:19 |
amrith | just put them in above to show you that it's all that much ... | 17:19 |
amrith | either way, pretty straightforward. | 17:19 |
cp16net | i've setup my env with an hp cloud vm using fabric it gets me setup pretty quickly | 17:19 |
cp16net | i think this just shows how many different ways everyone sets up their own env | 17:19 |
amrith | cp16net, true | 17:19 |
cp16net | trying to make it a single way isnt ideal for some workflows | 17:20 |
*** sonali5 has quit IRC | 17:20 | |
cp16net | having a something simple for someone to get started that doesnt know all this stuff i'd say is benifical | 17:20 |
amrith | krotscheck, please ping if we can help you get this setup working. | 17:20 |
*** sonali5 has joined #openstack-trove | 17:21 | |
krotscheck | amrith: Thanks | 17:21 |
krotscheck | I'll start with the first set of pastses | 17:21 |
*** openstackgerrit has quit IRC | 17:31 | |
*** openstackgerrit has joined #openstack-trove | 17:31 | |
*** itlinux has joined #openstack-trove | 17:33 | |
*** 32NAAH197 has quit IRC | 17:44 | |
*** itlinux has quit IRC | 17:54 | |
*** tosky has quit IRC | 17:55 | |
*** openstackgerrit has quit IRC | 18:01 | |
*** openstackgerrit has joined #openstack-trove | 18:01 | |
pmackinn | vkmc, amrith: wha? | 18:03 |
vkmc | pmackinn, amrith is hitting the "no hosts available" thing in nova | 18:03 |
vkmc | pmackinn, remember we saw it in packstack a few weeks ago? | 18:03 |
pmackinn | ahhh the great compute catch all error | 18:04 |
vkmc | the same | 18:04 |
vkmc | do you remember if we found a quick fix for that? | 18:04 |
vkmc | for some reason nova was not deleting the instances | 18:05 |
pmackinn | well, i've seen it happen if libvirt drivers are fubar (at least on centos) | 18:05 |
openstackgerrit | Sonali Goyal proposed openstack/trove: Changed quota values from per_user to per_tenant https://review.openstack.org/230957 | 18:14 |
*** itlinux has joined #openstack-trove | 18:21 | |
amrith | pmackinn, vkmc it turns out that glance is not working too well ... | 18:30 |
amrith | digging further | 18:30 |
vkmc | o.o | 18:30 |
pmackinn | poor glance | 18:30 |
amrith | yeah, right | 18:31 |
amrith | " | 18:31 |
*** IanGovett has quit IRC | 18:32 | |
amrith | the issue is that nova is attempting to launch an instance and glance can't seem to find the image | 18:32 |
amrith | my suspicion is that the underlying glance/swift store isn't properly mounted | 18:33 |
*** sonali5 has quit IRC | 18:35 | |
*** IanGovett has joined #openstack-trove | 18:38 | |
*** links has quit IRC | 18:44 | |
*** akanksha_ has joined #openstack-trove | 18:47 | |
*** ViswaV has quit IRC | 18:56 | |
*** ViswaV has joined #openstack-trove | 19:29 | |
*** itlinux has quit IRC | 19:30 | |
openstackgerrit | Peter Stachowski proposed openstack/trove: Add instance create int-tests https://review.openstack.org/217371 | 19:37 |
*** itlinux has joined #openstack-trove | 19:45 | |
*** amrith is now known as _amrith_ | 19:52 | |
*** itlinux has quit IRC | 20:03 | |
*** csoukup has quit IRC | 20:17 | |
*** tomblank has quit IRC | 20:17 | |
*** ViswaV has quit IRC | 20:36 | |
*** ViswaV has joined #openstack-trove | 20:41 | |
*** tomblank has joined #openstack-trove | 20:59 | |
*** zigo has quit IRC | 21:09 | |
*** zigo has joined #openstack-trove | 21:10 | |
*** crobertsrh is now known as _crobertsrh | 21:14 | |
*** _amrith_ is now known as amrith | 21:16 | |
*** tomblank has quit IRC | 21:22 | |
*** jwang_ has joined #openstack-trove | 21:50 | |
*** chlong has joined #openstack-trove | 22:09 | |
*** ViswaV has quit IRC | 22:12 | |
*** openstackgerrit has quit IRC | 22:16 | |
*** openstackgerrit has joined #openstack-trove | 22:16 | |
*** ViswaV has joined #openstack-trove | 22:21 | |
*** ViswaV has quit IRC | 22:53 | |
*** david-ly_ has joined #openstack-trove | 23:04 | |
*** david-lyle has quit IRC | 23:04 | |
*** zhiyan has quit IRC | 23:24 | |
*** zhiyan has joined #openstack-trove | 23:26 | |
*** akanksha_ has quit IRC | 23:28 | |
*** IanGovett has quit IRC | 23:32 | |
*** ViswaV has joined #openstack-trove | 23:36 | |
*** ViswaV_ has joined #openstack-trove | 23:37 | |
*** ViswaV has quit IRC | 23:40 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!