*** itlinux has joined #openstack-trove | 00:08 | |
*** itlinux has quit IRC | 00:28 | |
*** itlinux has joined #openstack-trove | 00:28 | |
*** itlinux has quit IRC | 00:29 | |
*** jamesmcarthur has joined #openstack-trove | 01:04 | |
*** itlinux has joined #openstack-trove | 01:11 | |
*** jamesmcarthur has quit IRC | 01:24 | |
*** jamesmcarthur has joined #openstack-trove | 01:25 | |
*** jamesmcarthur has quit IRC | 01:30 | |
*** jamesmcarthur has joined #openstack-trove | 01:43 | |
*** jamesmcarthur has quit IRC | 02:14 | |
*** itlinux has quit IRC | 02:40 | |
*** jamesmcarthur has joined #openstack-trove | 03:14 | |
*** jamesmcarthur has quit IRC | 03:19 | |
*** Bhujay has joined #openstack-trove | 03:20 | |
*** Bhujay has quit IRC | 03:38 | |
*** Bhujay has joined #openstack-trove | 04:33 | |
*** VickyG has joined #openstack-trove | 04:54 | |
*** VickyG has joined #openstack-trove | 04:55 | |
VickyG | Greetings everyone | 04:56 |
---|---|---|
VickyG | does anyone by any means to have a ready-made images for trove to be deployed onto Openstack Ocata? | 04:56 |
VickyG | those used to be at http://tarballs.openstack.org/trove/images | 05:01 |
VickyG | trying to follow DIB, just stuck on the variables | 05:02 |
*** VickyG has quit IRC | 06:04 | |
*** VickyG has joined #openstack-trove | 06:07 | |
*** jamesmcarthur has joined #openstack-trove | 07:15 | |
*** jamesmcarthur has quit IRC | 07:19 | |
*** tosky has joined #openstack-trove | 08:02 | |
*** pcaruana has joined #openstack-trove | 08:03 | |
*** Bhujay has quit IRC | 08:19 | |
*** pcaruana has quit IRC | 08:24 | |
*** pcaruana has joined #openstack-trove | 08:33 | |
*** pcaruana has quit IRC | 08:41 | |
cezary_zukowski | VikcyG: I do not think there are tarballs available anywhere. In the first place, you may try to follow the guide: https://docs.google.com/document/d/17jQYV0X-qy6s1NwgU-bYJVt6oQBsaNSn5TZZkr1SQsg/edit?usp=sharing (this about how to prepare Devstack environment and build an e.g. mysql image that becomes loaded into Trove and can be used with Trove command lines, e.g. trove create ...) | 08:47 |
cezary_zukowski | VickyG: when you cloned devstack switch to proper branch (i.e. ocata) - this is described in the guide. Also, you should choose proper branch when configuring local.conf (also described in the guide). | 08:50 |
*** rcernin has quit IRC | 08:51 | |
*** v12aml has quit IRC | 09:01 | |
*** Bhujay has joined #openstack-trove | 09:03 | |
*** v12aml has joined #openstack-trove | 09:04 | |
*** Bhujay has quit IRC | 09:04 | |
*** Bhujay has joined #openstack-trove | 09:05 | |
*** Bhujay has quit IRC | 09:06 | |
*** Bhujay has joined #openstack-trove | 09:06 | |
*** Bhujay has quit IRC | 09:07 | |
*** dkehn has quit IRC | 09:08 | |
*** Bhujay has joined #openstack-trove | 09:08 | |
*** Bhujay has quit IRC | 09:09 | |
*** Bhujay has joined #openstack-trove | 09:09 | |
*** Bhujay has quit IRC | 09:10 | |
*** Bhujay has joined #openstack-trove | 09:11 | |
*** Bhujay has quit IRC | 09:24 | |
*** Bhujay has joined #openstack-trove | 09:48 | |
*** Bhujay has quit IRC | 09:51 | |
*** maciejjozefczyk has quit IRC | 10:04 | |
*** maciejjozefczyk has joined #openstack-trove | 10:05 | |
*** maciejjozefczyk has quit IRC | 10:06 | |
*** maciejjozefczyk has joined #openstack-trove | 10:08 | |
*** maciejjozefczyk has quit IRC | 10:08 | |
*** Bhujay has joined #openstack-trove | 10:11 | |
*** Bhujay has quit IRC | 10:12 | |
*** Bhujay has joined #openstack-trove | 10:12 | |
*** Bhujay has quit IRC | 10:13 | |
*** Bhujay has joined #openstack-trove | 10:14 | |
VickyG | Thanks cezary_zukowski | 10:23 |
VickyG | I have already got the environment built with Trovestack (which uses Devstack) | 10:23 |
*** Bhujay has quit IRC | 10:24 | |
VickyG | Nice document with details, wish I had it earlier | 10:27 |
*** maciejjozefczyk has joined #openstack-trove | 10:49 | |
*** maciejjozefczyk has quit IRC | 10:51 | |
*** maciejjozefczyk has joined #openstack-trove | 10:54 | |
cezary_zukowski | VickyG: you are welcome | 10:54 |
*** maciejjozefczyk has quit IRC | 10:57 | |
*** maciejjozefczyk has joined #openstack-trove | 11:05 | |
*** maciejjozefczyk has quit IRC | 11:07 | |
*** maciejjozefczyk has joined #openstack-trove | 11:15 | |
*** Bhujay has joined #openstack-trove | 11:21 | |
cezary_zukowski | tomtom001: by the way, you have mentioned about production environment, are you going to use Trove on production? | 12:03 |
*** maciejjozefczyk has quit IRC | 13:11 | |
*** maciejjozefczyk has joined #openstack-trove | 13:12 | |
*** jamesmcarthur has joined #openstack-trove | 13:27 | |
*** jamesmcarthur has quit IRC | 13:37 | |
*** maciejjozefczyk has quit IRC | 13:38 | |
*** jamesmcarthur has joined #openstack-trove | 13:48 | |
*** dkehn has joined #openstack-trove | 13:49 | |
*** Bhujay has quit IRC | 14:02 | |
*** Bhujay has joined #openstack-trove | 14:02 | |
*** Bhujay has quit IRC | 14:03 | |
*** Bhujay has joined #openstack-trove | 14:04 | |
*** Bhujay has quit IRC | 14:05 | |
*** Bhujay has joined #openstack-trove | 14:05 | |
*** Bhujay has quit IRC | 14:06 | |
*** Bhujay has joined #openstack-trove | 14:07 | |
*** Bhujay has quit IRC | 14:12 | |
*** maciejjozefczyk has joined #openstack-trove | 14:18 | |
*** maciejjozefczyk has quit IRC | 14:41 | |
*** maciejjozefczyk has joined #openstack-trove | 14:43 | |
tomtom001 | cezary_zukowski: yes I would like to use trove in production. | 14:54 |
*** maciejjozefczyk has quit IRC | 14:55 | |
cezary_zukowski | tomtom001: that would be great :) and could you reveal what company is going to employ trove? I mean, there are little statistics about who is using trove (at least it was on OpenStack Summit this year), and every information or feedback is useful when devloping it | 15:07 |
tomtom001 | cezary_zukowski: I'm sure i can share statistics, but I have to get it working first. So far the biggest challenge is getting the images to boot as trove instances and then getting ssh access into them. | 15:47 |
cezary_zukowski | tomtom001: at what stage you are now? do you have image qcow2 file? | 15:51 |
tomtom001 | yes, but when I update trove db with the new image info it doesn't "see" it yet and only creates a blank volume. That's why I get no bootable device, but after a few updates or me wrangling with it it starts to work. | 15:52 |
*** Bhujay has joined #openstack-trove | 15:57 | |
*** Bhujay has quit IRC | 15:58 | |
*** Bhujay has joined #openstack-trove | 15:58 | |
*** Bhujay has quit IRC | 15:59 | |
*** Bhujay has joined #openstack-trove | 16:00 | |
*** Bhujay has quit IRC | 16:01 | |
*** Bhujay has joined #openstack-trove | 16:01 | |
*** Bhujay has quit IRC | 16:02 | |
*** Bhujay has joined #openstack-trove | 16:03 | |
*** Bhujay has quit IRC | 16:04 | |
*** Bhujay has joined #openstack-trove | 16:04 | |
cezary_zukowski | tomtom001: https://review.openstack.org/#/c/606960/65/devstack/plugin.sh <-- if you have image, then you need to add to Glance and then run a few commands afterwards (specifically, trove-manage to update trove database) | 16:05 |
cezary_zukowski | tomtom001: examine function _setup_minimal_image from the point echo "Add image to glance" | 16:05 |
*** Bhujay has quit IRC | 16:05 | |
*** Bhujay has joined #openstack-trove | 16:06 | |
*** Bhujay has quit IRC | 16:07 | |
*** Bhujay has joined #openstack-trove | 16:07 | |
cezary_zukowski | tomtom001: you may (or must) use cloud.init to pass ssh information to GA (a guest agent) | 16:08 |
*** Bhujay has quit IRC | 16:08 | |
*** Bhujay has joined #openstack-trove | 16:09 | |
*** Bhujay has quit IRC | 16:10 | |
*** Bhujay has joined #openstack-trove | 16:10 | |
*** Bhujay has quit IRC | 16:11 | |
*** Bhujay has joined #openstack-trove | 16:12 | |
*** Bhujay has quit IRC | 16:13 | |
*** Bhujay has joined #openstack-trove | 16:13 | |
*** Bhujay has quit IRC | 16:14 | |
tomtom001 | cezary_zukowski: yeah so I'm running the trove manage commands and uploading to glance and creating the image with the following the elements: disk-image-create -o mariadb.qcow2 ubuntu vm apt-conf-dir cloud-init-datasources ubuntu-guest ubuntu-xenial-mariadb | 16:15 |
*** Bhujay has joined #openstack-trove | 16:15 | |
tomtom001 | trove-manage datastore_update mariadb '' | 16:15 |
*** itlinux has joined #openstack-trove | 16:15 | |
tomtom001 | trove-manage datastore_version_update mariadb 5.6 mariadb 4ec201ba-69c9-4a87-a0ac-0f87afba0635 "mariadb-server" 1 | 16:15 |
tomtom001 | cezary_zukowski: are there other commands for me to run to get it to work | 16:16 |
tomtom001 | ?? | 16:16 |
*** Bhujay has quit IRC | 16:16 | |
*** Bhujay has joined #openstack-trove | 16:16 | |
*** Bhujay has quit IRC | 16:17 | |
*** Bhujay has joined #openstack-trove | 16:18 | |
*** Bhujay has quit IRC | 16:19 | |
*** Bhujay has joined #openstack-trove | 16:19 | |
cezary_zukowski | tomtom001: https://pastebin.com/DXKAJcSn | 16:20 |
*** Bhujay has quit IRC | 16:20 | |
*** Bhujay has joined #openstack-trove | 16:21 | |
*** Bhujay has quit IRC | 16:22 | |
*** Bhujay has joined #openstack-trove | 16:22 | |
*** Bhujay has quit IRC | 16:23 | |
*** Bhujay has joined #openstack-trove | 16:24 | |
*** Bhujay has quit IRC | 16:25 | |
*** Bhujay has joined #openstack-trove | 16:25 | |
*** Bhujay has quit IRC | 16:26 | |
*** Bhujay has joined #openstack-trove | 16:27 | |
*** Bhujay has quit IRC | 16:28 | |
*** Bhujay has joined #openstack-trove | 16:28 | |
*** Bhujay has quit IRC | 16:29 | |
*** Bhujay has joined #openstack-trove | 16:30 | |
*** Bhujay has quit IRC | 16:31 | |
*** Bhujay has joined #openstack-trove | 16:31 | |
*** Bhujay has quit IRC | 16:32 | |
*** Bhujay has joined #openstack-trove | 16:33 | |
*** Bhujay has quit IRC | 16:34 | |
*** Bhujay has joined #openstack-trove | 16:34 | |
*** Bhujay has quit IRC | 16:35 | |
*** Bhujay has joined #openstack-trove | 16:36 | |
*** Bhujay has quit IRC | 16:37 | |
*** Bhujay has joined #openstack-trove | 16:37 | |
*** Bhujay has quit IRC | 16:38 | |
*** Bhujay has joined #openstack-trove | 16:39 | |
*** Bhujay has quit IRC | 16:40 | |
*** Bhujay has joined #openstack-trove | 16:40 | |
*** Bhujay has quit IRC | 16:41 | |
*** Bhujay has joined #openstack-trove | 16:42 | |
*** Bhujay has quit IRC | 16:43 | |
*** Bhujay has joined #openstack-trove | 16:43 | |
*** Bhujay has quit IRC | 16:44 | |
*** Bhujay has joined #openstack-trove | 16:45 | |
*** Bhujay has quit IRC | 16:46 | |
*** Bhujay has joined #openstack-trove | 16:46 | |
*** Bhujay has quit IRC | 16:47 | |
*** Bhujay has joined #openstack-trove | 16:48 | |
*** Bhujay has quit IRC | 16:49 | |
*** Bhujay has joined #openstack-trove | 16:49 | |
*** Bhujay has quit IRC | 16:50 | |
*** Bhujay has joined #openstack-trove | 16:51 | |
*** Bhujay has quit IRC | 16:52 | |
*** Bhujay has joined #openstack-trove | 16:52 | |
*** Bhujay has quit IRC | 16:53 | |
*** Bhujay has joined #openstack-trove | 16:54 | |
*** Bhujay has quit IRC | 16:55 | |
*** Bhujay has joined #openstack-trove | 16:55 | |
*** Bhujay has quit IRC | 16:56 | |
*** Bhujay has joined #openstack-trove | 16:57 | |
*** Bhujay has quit IRC | 16:58 | |
*** Bhujay has joined #openstack-trove | 16:58 | |
*** Bhujay has quit IRC | 16:59 | |
*** Bhujay has joined #openstack-trove | 17:00 | |
*** Bhujay has quit IRC | 17:01 | |
*** Bhujay has joined #openstack-trove | 17:01 | |
*** Bhujay has quit IRC | 17:02 | |
*** Bhujay has joined #openstack-trove | 17:03 | |
*** Bhujay has quit IRC | 17:04 | |
*** Bhujay has joined #openstack-trove | 17:04 | |
*** Bhujay has quit IRC | 17:05 | |
*** Bhujay has joined #openstack-trove | 17:06 | |
*** Bhujay has quit IRC | 17:07 | |
*** Bhujay has joined #openstack-trove | 17:07 | |
*** Bhujay has quit IRC | 17:08 | |
*** Bhujay has joined #openstack-trove | 17:09 | |
*** Bhujay has quit IRC | 17:10 | |
*** Bhujay has joined #openstack-trove | 17:10 | |
*** Bhujay has quit IRC | 17:11 | |
*** Bhujay has joined #openstack-trove | 17:12 | |
*** Bhujay has quit IRC | 17:13 | |
*** Bhujay has joined #openstack-trove | 17:13 | |
*** Bhujay has quit IRC | 17:14 | |
*** Bhujay has joined #openstack-trove | 17:15 | |
tomtom001 | cezary_zukowski: i verified in the database that the datastore_version_id and the image id is correct but trove is still creating a blank volume for the instance it boots | 17:15 |
*** Bhujay has quit IRC | 17:16 | |
*** Bhujay has joined #openstack-trove | 17:16 | |
cezary_zukowski | tomtom001: could you describe what "blank volume" in details? any debugging information? | 17:16 |
*** Bhujay has quit IRC | 17:17 | |
*** Bhujay has joined #openstack-trove | 17:18 | |
*** Bhujay has quit IRC | 17:19 | |
*** Bhujay has joined #openstack-trove | 17:19 | |
*** Bhujay has quit IRC | 17:20 | |
*** Bhujay has joined #openstack-trove | 17:21 | |
*** Bhujay has quit IRC | 17:22 | |
*** Bhujay has joined #openstack-trove | 17:22 | |
*** Bhujay has quit IRC | 17:23 | |
*** Bhujay has joined #openstack-trove | 17:24 | |
*** Bhujay has quit IRC | 17:25 | |
*** Bhujay has joined #openstack-trove | 17:25 | |
*** Bhujay has quit IRC | 17:26 | |
*** Bhujay has joined #openstack-trove | 17:27 | |
*** Bhujay has quit IRC | 17:28 | |
*** Bhujay has joined #openstack-trove | 17:28 | |
*** Bhujay has quit IRC | 17:29 | |
*** Bhujay has joined #openstack-trove | 17:30 | |
*** Bhujay has quit IRC | 17:31 | |
*** Bhujay has joined #openstack-trove | 17:31 | |
*** Bhujay has quit IRC | 17:32 | |
*** Bhujay has joined #openstack-trove | 17:33 | |
*** Bhujay has quit IRC | 17:34 | |
*** Bhujay has joined #openstack-trove | 17:34 | |
*** Bhujay has quit IRC | 17:35 | |
*** Bhujay has joined #openstack-trove | 17:36 | |
*** Bhujay has quit IRC | 17:37 | |
*** Bhujay has joined #openstack-trove | 17:37 | |
*** Bhujay has quit IRC | 17:38 | |
*** Bhujay has joined #openstack-trove | 17:39 | |
*** Bhujay has quit IRC | 17:40 | |
*** Bhujay has joined #openstack-trove | 17:40 | |
tomtom001 | Yeah it's like nova wasn't given an image to boot the instance from which just results in blank volume being created... I'm actually investigating another possibility. Gimme a minute | 17:41 |
tomtom001 | cezary_zukowski^^ | 17:41 |
*** Bhujay has quit IRC | 17:41 | |
*** Bhujay has joined #openstack-trove | 17:42 | |
*** Bhujay has quit IRC | 17:43 | |
*** Bhujay has joined #openstack-trove | 17:43 | |
cezary_zukowski | tomtom001: have you set up cloud.init before? (this might be crucial) | 17:44 |
*** Bhujay has quit IRC | 17:44 | |
*** Bhujay has joined #openstack-trove | 17:45 | |
cezary_zukowski | tomtom001: sure, take your time | 17:45 |
tomtom001 | cezary_zukowski: so I have a question: is trove sending to nova "boot from image" or "boot from image, creates a volume"? | 17:45 |
*** Bhujay has quit IRC | 17:46 | |
tomtom001 | I have two compute nodes, one which will boot the trove instances and the other when trove creates the instance, it looks like it creates a blank volume. | 17:46 |
*** Bhujay has joined #openstack-trove | 17:46 | |
tomtom001 | I haven't setup cloud-init like in the paste you gave, I was going to look more into it once I figured out how to get the trove instances to boot consistently. | 17:47 |
*** Bhujay has quit IRC | 17:47 | |
tomtom001 | I have some slight configuration differences between the two compute nodes. other than that the configurations are the exact same. | 17:48 |
tomtom001 | cezary_zukowski^^ | 17:48 |
*** Bhujay has joined #openstack-trove | 17:48 | |
tomtom001 | cezary_zukowski: i'm putting the configuration differences into a paste for you | 17:48 |
*** Bhujay has quit IRC | 17:49 | |
*** Bhujay has joined #openstack-trove | 17:49 | |
tomtom001 | ) | 17:49 |
tomtom001 | ) | 17:49 |
tomtom001 | cezary_zukowski: http://paste.openstack.org/show/737747/ This paste describes an nova config that won't boot the image. | 17:50 |
*** Bhujay has quit IRC | 17:50 | |
*** Bhujay has joined #openstack-trove | 17:51 | |
tomtom001 | I've seen this before where when booting instances from a certain type of raw image or qcow2 where these settings are necessary to avoid the "no bootable device" error. It has something to do with how the image is loaded. | 17:51 |
tomtom001 | force_raw_images = False | 17:51 |
tomtom001 | use_cow_images = True | 17:51 |
tomtom001 | cezary_zukowski: ^^ specifically those two settings make the difference. | 17:52 |
*** Bhujay has quit IRC | 17:52 | |
*** Bhujay has joined #openstack-trove | 17:52 | |
tomtom001 | There may be some conflict or setting that we can in adjust in trove to how we send the instance create command to nova? | 17:53 |
tomtom001 | cezary_zukowski^^ | 17:53 |
*** Bhujay has quit IRC | 17:53 | |
*** Bhujay has joined #openstack-trove | 17:54 | |
*** Bhujay has quit IRC | 17:55 | |
*** Bhujay has joined #openstack-trove | 17:55 | |
cezary_zukowski | tomtom001: was you able to boot any other kind of image? not certainly, the trove one? what was the setting then? | 17:56 |
*** Bhujay has quit IRC | 17:56 | |
cezary_zukowski | tomtom001: by the way, why "instance_build_timeout = 0" is set to zero? | 17:56 |
*** Bhujay has joined #openstack-trove | 17:57 | |
bzurkowski | tomtom001: Here is Trove code responsible for creating volume and spawning VM: https://pastebin.com/tTypLELP | 17:57 |
tomtom001 | ok, let me take a look thank you! | 17:57 |
bzurkowski | In particular, _create_server should be in the point of your interest | 17:58 |
*** Bhujay has quit IRC | 17:58 | |
*** Bhujay has joined #openstack-trove | 17:58 | |
bzurkowski | In a typical setup, Trove spawns VM from image and additionaly creates volume in Cinder | 17:59 |
bzurkowski | Than attaches volume to VM | 17:59 |
tomtom001 | oh ok, so the volume creation offloaded to nova? it's actually a separate request to cinder? | 17:59 |
bzurkowski | Separate request to Cinder | 17:59 |
*** Bhujay has quit IRC | 17:59 | |
*** Bhujay has joined #openstack-trove | 18:00 | |
cezary_zukowski | so, I am wondering from where "no bootable device" error comes from? | 18:02 |
bzurkowski | tomtom001: If you list Cinder volumes in your setup, having bootable=false flag set for your Trove instance volume is normal | 18:05 |
bzurkowski | This Cinder volume is used for persistent storage | 18:05 |
*** Bhujay has quit IRC | 18:05 | |
bzurkowski | This is where the database stores data | 18:06 |
bzurkowski | VM image with operating system lives in ephemeral storage | 18:06 |
*** bzurkowski has quit IRC | 18:11 | |
*** cezary_zukowski has quit IRC | 18:11 | |
*** pgodek has quit IRC | 18:12 | |
tomtom001 | cezary_zukowski: I think "no bootable device" comes from how the volume is created in cinder... so I am going to check cinder logs for the volume to see if there are any errors there or clues. | 18:12 |
*** cezary_zukowski_ has quit IRC | 18:13 | |
tomtom001 | bzurkowski, cezary_zukowski: Volume 5112b85e-9fcb-4b4d-97a4-c83eb69c4d34: being created as raw with specification: | 18:20 |
tomtom001 | found this, are we specifically creating the volume as a raw volume? | 18:20 |
*** jamesmcarthur has quit IRC | 19:01 | |
*** cezary_zukowski has joined #openstack-trove | 19:03 | |
*** cezary_zukowski has quit IRC | 19:08 | |
*** jamesmcarthur has joined #openstack-trove | 19:13 | |
*** jamesmcarthur has quit IRC | 19:17 | |
tomtom001 | bzurkowski, cezary_zukowski: so if I create a volume from the mariadb image and then attach to an instance, it will boot. | 19:18 |
*** cezary_zukowski has joined #openstack-trove | 19:22 | |
*** jamesmcarthur has joined #openstack-trove | 19:32 | |
*** jamesmcarthur has quit IRC | 19:59 | |
*** dkehn has quit IRC | 20:39 | |
tomtom001 | bzurkowski, cezary_zukowski: I'm working on some testing to see where the issue is. Right now I think it's in the nova config, I think config options make it so a qcow2 image isn't considered raw. Also does it boot with EFI? | 20:54 |
*** dkehn has joined #openstack-trove | 20:55 | |
*** tosky has quit IRC | 21:02 | |
*** rcernin has joined #openstack-trove | 22:19 | |
*** rcernin has quit IRC | 22:36 | |
*** rcernin has joined #openstack-trove | 22:37 | |
*** rcernin has quit IRC | 22:57 | |
*** rcernin has joined #openstack-trove | 22:58 | |
*** rcernin has quit IRC | 22:59 | |
*** rcernin has joined #openstack-trove | 23:07 | |
*** jamesmcarthur has joined #openstack-trove | 23:24 | |
*** jamesmcarthur has quit IRC | 23:29 | |
*** rcernin has quit IRC | 23:38 | |
*** rcernin has joined #openstack-trove | 23:41 | |
*** tosky has joined #openstack-trove | 23:56 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!