Wednesday, 2018-12-19

*** itlinux has joined #openstack-trove00:08
*** itlinux has quit IRC00:28
*** itlinux has joined #openstack-trove00:28
*** itlinux has quit IRC00:29
*** jamesmcarthur has joined #openstack-trove01:04
*** itlinux has joined #openstack-trove01:11
*** jamesmcarthur has quit IRC01:24
*** jamesmcarthur has joined #openstack-trove01:25
*** jamesmcarthur has quit IRC01:30
*** jamesmcarthur has joined #openstack-trove01:43
*** jamesmcarthur has quit IRC02:14
*** itlinux has quit IRC02:40
*** jamesmcarthur has joined #openstack-trove03:14
*** jamesmcarthur has quit IRC03:19
*** Bhujay has joined #openstack-trove03:20
*** Bhujay has quit IRC03:38
*** Bhujay has joined #openstack-trove04:33
*** VickyG has joined #openstack-trove04:54
*** VickyG has joined #openstack-trove04:55
VickyGGreetings everyone04:56
VickyGdoes anyone by any means to have a ready-made images for trove to be deployed onto Openstack Ocata?04:56
VickyGthose used to be at http://tarballs.openstack.org/trove/images05:01
VickyGtrying to follow DIB, just stuck on the variables05:02
*** VickyG has quit IRC06:04
*** VickyG has joined #openstack-trove06:07
*** jamesmcarthur has joined #openstack-trove07:15
*** jamesmcarthur has quit IRC07:19
*** tosky has joined #openstack-trove08:02
*** pcaruana has joined #openstack-trove08:03
*** Bhujay has quit IRC08:19
*** pcaruana has quit IRC08:24
*** pcaruana has joined #openstack-trove08:33
*** pcaruana has quit IRC08:41
cezary_zukowskiVikcyG: 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_zukowskiVickyG: 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 IRC08:51
*** v12aml has quit IRC09:01
*** Bhujay has joined #openstack-trove09:03
*** v12aml has joined #openstack-trove09:04
*** Bhujay has quit IRC09:04
*** Bhujay has joined #openstack-trove09:05
*** Bhujay has quit IRC09:06
*** Bhujay has joined #openstack-trove09:06
*** Bhujay has quit IRC09:07
*** dkehn has quit IRC09:08
*** Bhujay has joined #openstack-trove09:08
*** Bhujay has quit IRC09:09
*** Bhujay has joined #openstack-trove09:09
*** Bhujay has quit IRC09:10
*** Bhujay has joined #openstack-trove09:11
*** Bhujay has quit IRC09:24
*** Bhujay has joined #openstack-trove09:48
*** Bhujay has quit IRC09:51
*** maciejjozefczyk has quit IRC10:04
*** maciejjozefczyk has joined #openstack-trove10:05
*** maciejjozefczyk has quit IRC10:06
*** maciejjozefczyk has joined #openstack-trove10:08
*** maciejjozefczyk has quit IRC10:08
*** Bhujay has joined #openstack-trove10:11
*** Bhujay has quit IRC10:12
*** Bhujay has joined #openstack-trove10:12
*** Bhujay has quit IRC10:13
*** Bhujay has joined #openstack-trove10:14
VickyGThanks cezary_zukowski10:23
VickyGI have already got the environment built with Trovestack (which uses Devstack)10:23
*** Bhujay has quit IRC10:24
VickyGNice document with details, wish I had it earlier10:27
*** maciejjozefczyk has joined #openstack-trove10:49
*** maciejjozefczyk has quit IRC10:51
*** maciejjozefczyk has joined #openstack-trove10:54
cezary_zukowskiVickyG: you are welcome10:54
*** maciejjozefczyk has quit IRC10:57
*** maciejjozefczyk has joined #openstack-trove11:05
*** maciejjozefczyk has quit IRC11:07
*** maciejjozefczyk has joined #openstack-trove11:15
*** Bhujay has joined #openstack-trove11:21
cezary_zukowskitomtom001: by the way, you have mentioned about production environment, are you going to use Trove on production?12:03
*** maciejjozefczyk has quit IRC13:11
*** maciejjozefczyk has joined #openstack-trove13:12
*** jamesmcarthur has joined #openstack-trove13:27
*** jamesmcarthur has quit IRC13:37
*** maciejjozefczyk has quit IRC13:38
*** jamesmcarthur has joined #openstack-trove13:48
*** dkehn has joined #openstack-trove13:49
*** Bhujay has quit IRC14:02
*** Bhujay has joined #openstack-trove14:02
*** Bhujay has quit IRC14:03
*** Bhujay has joined #openstack-trove14:04
*** Bhujay has quit IRC14:05
*** Bhujay has joined #openstack-trove14:05
*** Bhujay has quit IRC14:06
*** Bhujay has joined #openstack-trove14:07
*** Bhujay has quit IRC14:12
*** maciejjozefczyk has joined #openstack-trove14:18
*** maciejjozefczyk has quit IRC14:41
*** maciejjozefczyk has joined #openstack-trove14:43
tomtom001 cezary_zukowski: yes I would like to use trove in production.14:54
*** maciejjozefczyk has quit IRC14:55
cezary_zukowskitomtom001: 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 it15:07
tomtom001cezary_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_zukowskitomtom001: at what stage you are now? do you have image qcow2 file?15:51
tomtom001yes, 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-trove15:57
*** Bhujay has quit IRC15:58
*** Bhujay has joined #openstack-trove15:58
*** Bhujay has quit IRC15:59
*** Bhujay has joined #openstack-trove16:00
*** Bhujay has quit IRC16:01
*** Bhujay has joined #openstack-trove16:01
*** Bhujay has quit IRC16:02
*** Bhujay has joined #openstack-trove16:03
*** Bhujay has quit IRC16:04
*** Bhujay has joined #openstack-trove16:04
cezary_zukowskitomtom001: 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_zukowskitomtom001: examine function _setup_minimal_image from the point echo "Add image to glance"16:05
*** Bhujay has quit IRC16:05
*** Bhujay has joined #openstack-trove16:06
*** Bhujay has quit IRC16:07
*** Bhujay has joined #openstack-trove16:07
cezary_zukowskitomtom001: you may (or must) use cloud.init to pass ssh information to GA (a guest agent)16:08
*** Bhujay has quit IRC16:08
*** Bhujay has joined #openstack-trove16:09
*** Bhujay has quit IRC16:10
*** Bhujay has joined #openstack-trove16:10
*** Bhujay has quit IRC16:11
*** Bhujay has joined #openstack-trove16:12
*** Bhujay has quit IRC16:13
*** Bhujay has joined #openstack-trove16:13
*** Bhujay has quit IRC16:14
tomtom001cezary_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-mariadb16:15
*** Bhujay has joined #openstack-trove16:15
tomtom001trove-manage datastore_update mariadb ''16:15
*** itlinux has joined #openstack-trove16:15
tomtom001trove-manage datastore_version_update mariadb 5.6 mariadb 4ec201ba-69c9-4a87-a0ac-0f87afba0635 "mariadb-server" 116:15
tomtom001cezary_zukowski: are there other commands for me to run to get it to work16:16
tomtom001??16:16
*** Bhujay has quit IRC16:16
*** Bhujay has joined #openstack-trove16:16
*** Bhujay has quit IRC16:17
*** Bhujay has joined #openstack-trove16:18
*** Bhujay has quit IRC16:19
*** Bhujay has joined #openstack-trove16:19
cezary_zukowskitomtom001: https://pastebin.com/DXKAJcSn16:20
*** Bhujay has quit IRC16:20
*** Bhujay has joined #openstack-trove16:21
*** Bhujay has quit IRC16:22
*** Bhujay has joined #openstack-trove16:22
*** Bhujay has quit IRC16:23
*** Bhujay has joined #openstack-trove16:24
*** Bhujay has quit IRC16:25
*** Bhujay has joined #openstack-trove16:25
*** Bhujay has quit IRC16:26
*** Bhujay has joined #openstack-trove16:27
*** Bhujay has quit IRC16:28
*** Bhujay has joined #openstack-trove16:28
*** Bhujay has quit IRC16:29
*** Bhujay has joined #openstack-trove16:30
*** Bhujay has quit IRC16:31
*** Bhujay has joined #openstack-trove16:31
*** Bhujay has quit IRC16:32
*** Bhujay has joined #openstack-trove16:33
*** Bhujay has quit IRC16:34
*** Bhujay has joined #openstack-trove16:34
*** Bhujay has quit IRC16:35
*** Bhujay has joined #openstack-trove16:36
*** Bhujay has quit IRC16:37
*** Bhujay has joined #openstack-trove16:37
*** Bhujay has quit IRC16:38
*** Bhujay has joined #openstack-trove16:39
*** Bhujay has quit IRC16:40
*** Bhujay has joined #openstack-trove16:40
*** Bhujay has quit IRC16:41
*** Bhujay has joined #openstack-trove16:42
*** Bhujay has quit IRC16:43
*** Bhujay has joined #openstack-trove16:43
*** Bhujay has quit IRC16:44
*** Bhujay has joined #openstack-trove16:45
*** Bhujay has quit IRC16:46
*** Bhujay has joined #openstack-trove16:46
*** Bhujay has quit IRC16:47
*** Bhujay has joined #openstack-trove16:48
*** Bhujay has quit IRC16:49
*** Bhujay has joined #openstack-trove16:49
*** Bhujay has quit IRC16:50
*** Bhujay has joined #openstack-trove16:51
*** Bhujay has quit IRC16:52
*** Bhujay has joined #openstack-trove16:52
*** Bhujay has quit IRC16:53
*** Bhujay has joined #openstack-trove16:54
*** Bhujay has quit IRC16:55
*** Bhujay has joined #openstack-trove16:55
*** Bhujay has quit IRC16:56
*** Bhujay has joined #openstack-trove16:57
*** Bhujay has quit IRC16:58
*** Bhujay has joined #openstack-trove16:58
*** Bhujay has quit IRC16:59
*** Bhujay has joined #openstack-trove17:00
*** Bhujay has quit IRC17:01
*** Bhujay has joined #openstack-trove17:01
*** Bhujay has quit IRC17:02
*** Bhujay has joined #openstack-trove17:03
*** Bhujay has quit IRC17:04
*** Bhujay has joined #openstack-trove17:04
*** Bhujay has quit IRC17:05
*** Bhujay has joined #openstack-trove17:06
*** Bhujay has quit IRC17:07
*** Bhujay has joined #openstack-trove17:07
*** Bhujay has quit IRC17:08
*** Bhujay has joined #openstack-trove17:09
*** Bhujay has quit IRC17:10
*** Bhujay has joined #openstack-trove17:10
*** Bhujay has quit IRC17:11
*** Bhujay has joined #openstack-trove17:12
*** Bhujay has quit IRC17:13
*** Bhujay has joined #openstack-trove17:13
*** Bhujay has quit IRC17:14
*** Bhujay has joined #openstack-trove17:15
tomtom001cezary_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 boots17:15
*** Bhujay has quit IRC17:16
*** Bhujay has joined #openstack-trove17:16
cezary_zukowskitomtom001: could you describe what "blank volume" in details? any debugging information?17:16
*** Bhujay has quit IRC17:17
*** Bhujay has joined #openstack-trove17:18
*** Bhujay has quit IRC17:19
*** Bhujay has joined #openstack-trove17:19
*** Bhujay has quit IRC17:20
*** Bhujay has joined #openstack-trove17:21
*** Bhujay has quit IRC17:22
*** Bhujay has joined #openstack-trove17:22
*** Bhujay has quit IRC17:23
*** Bhujay has joined #openstack-trove17:24
*** Bhujay has quit IRC17:25
*** Bhujay has joined #openstack-trove17:25
*** Bhujay has quit IRC17:26
*** Bhujay has joined #openstack-trove17:27
*** Bhujay has quit IRC17:28
*** Bhujay has joined #openstack-trove17:28
*** Bhujay has quit IRC17:29
*** Bhujay has joined #openstack-trove17:30
*** Bhujay has quit IRC17:31
*** Bhujay has joined #openstack-trove17:31
*** Bhujay has quit IRC17:32
*** Bhujay has joined #openstack-trove17:33
*** Bhujay has quit IRC17:34
*** Bhujay has joined #openstack-trove17:34
*** Bhujay has quit IRC17:35
*** Bhujay has joined #openstack-trove17:36
*** Bhujay has quit IRC17:37
*** Bhujay has joined #openstack-trove17:37
*** Bhujay has quit IRC17:38
*** Bhujay has joined #openstack-trove17:39
*** Bhujay has quit IRC17:40
*** Bhujay has joined #openstack-trove17:40
tomtom001Yeah 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 minute17:41
tomtom001cezary_zukowski^^17:41
*** Bhujay has quit IRC17:41
*** Bhujay has joined #openstack-trove17:42
*** Bhujay has quit IRC17:43
*** Bhujay has joined #openstack-trove17:43
cezary_zukowskitomtom001: have you set up cloud.init before? (this might be crucial)17:44
*** Bhujay has quit IRC17:44
*** Bhujay has joined #openstack-trove17:45
cezary_zukowskitomtom001: sure, take your time17:45
tomtom001cezary_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 IRC17:46
tomtom001I 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-trove17:46
tomtom001I 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 IRC17:47
tomtom001I have some slight configuration differences between the two compute nodes. other than that the configurations are the exact same.17:48
tomtom001cezary_zukowski^^17:48
*** Bhujay has joined #openstack-trove17:48
tomtom001cezary_zukowski: i'm putting the configuration differences into a paste for you17:48
*** Bhujay has quit IRC17:49
*** Bhujay has joined #openstack-trove17:49
tomtom001)17:49
tomtom001)17:49
tomtom001cezary_zukowski: http://paste.openstack.org/show/737747/   This paste describes an nova config that won't boot the image.17:50
*** Bhujay has quit IRC17:50
*** Bhujay has joined #openstack-trove17:51
tomtom001I'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
tomtom001force_raw_images = False17:51
tomtom001use_cow_images = True17:51
tomtom001cezary_zukowski: ^^ specifically those two settings make the difference.17:52
*** Bhujay has quit IRC17:52
*** Bhujay has joined #openstack-trove17:52
tomtom001There 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
tomtom001cezary_zukowski^^17:53
*** Bhujay has quit IRC17:53
*** Bhujay has joined #openstack-trove17:54
*** Bhujay has quit IRC17:55
*** Bhujay has joined #openstack-trove17:55
cezary_zukowskitomtom001: 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 IRC17:56
cezary_zukowskitomtom001: by the way, why "instance_build_timeout = 0" is set to zero?17:56
*** Bhujay has joined #openstack-trove17:57
bzurkowskitomtom001: Here is Trove code responsible for creating volume and spawning VM: https://pastebin.com/tTypLELP17:57
tomtom001ok, let me take a look thank you!17:57
bzurkowskiIn particular, _create_server should be in the point of your interest17:58
*** Bhujay has quit IRC17:58
*** Bhujay has joined #openstack-trove17:58
bzurkowskiIn a typical setup, Trove spawns VM from image and additionaly creates volume in Cinder17:59
bzurkowskiThan attaches volume to VM17:59
tomtom001oh ok, so the volume creation offloaded to nova?  it's actually a separate request to cinder?17:59
bzurkowskiSeparate request to Cinder17:59
*** Bhujay has quit IRC17:59
*** Bhujay has joined #openstack-trove18:00
cezary_zukowskiso, I am wondering from where "no bootable device" error comes from?18:02
bzurkowskitomtom001: If you list Cinder volumes in your setup, having bootable=false flag set for your Trove instance volume is normal18:05
bzurkowskiThis Cinder volume is used for persistent storage18:05
*** Bhujay has quit IRC18:05
bzurkowskiThis is where the database stores data18:06
bzurkowskiVM image with operating system lives in ephemeral storage18:06
*** bzurkowski has quit IRC18:11
*** cezary_zukowski has quit IRC18:11
*** pgodek has quit IRC18:12
tomtom001cezary_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 IRC18:13
tomtom001bzurkowski, cezary_zukowski: Volume 5112b85e-9fcb-4b4d-97a4-c83eb69c4d34: being created as raw with specification:18:20
tomtom001found this, are we specifically creating the volume as a raw volume?18:20
*** jamesmcarthur has quit IRC19:01
*** cezary_zukowski has joined #openstack-trove19:03
*** cezary_zukowski has quit IRC19:08
*** jamesmcarthur has joined #openstack-trove19:13
*** jamesmcarthur has quit IRC19:17
tomtom001bzurkowski, 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-trove19:22
*** jamesmcarthur has joined #openstack-trove19:32
*** jamesmcarthur has quit IRC19:59
*** dkehn has quit IRC20:39
tomtom001bzurkowski, 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-trove20:55
*** tosky has quit IRC21:02
*** rcernin has joined #openstack-trove22:19
*** rcernin has quit IRC22:36
*** rcernin has joined #openstack-trove22:37
*** rcernin has quit IRC22:57
*** rcernin has joined #openstack-trove22:58
*** rcernin has quit IRC22:59
*** rcernin has joined #openstack-trove23:07
*** jamesmcarthur has joined #openstack-trove23:24
*** jamesmcarthur has quit IRC23:29
*** rcernin has quit IRC23:38
*** rcernin has joined #openstack-trove23:41
*** tosky has joined #openstack-trove23:56

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