openstackgerrit | Merged openstack/python-troveclient stable/queens: Replace openstack.org git:// URLs with https:// https://review.openstack.org/647088 | 00:54 |
---|---|---|
openstackgerrit | Merged openstack/trove stable/pike: Replace openstack.org git:// URLs with https:// https://review.openstack.org/647199 | 00:54 |
openstackgerrit | Merged openstack/trove stable/ocata: Replace openstack.org git:// URLs with https:// https://review.openstack.org/647198 | 00:54 |
openstackgerrit | Merged openstack/python-troveclient master: Replace openstack.org git:// URLs with https:// https://review.openstack.org/647087 | 00:54 |
openstackgerrit | Merged openstack/python-troveclient stable/stein: Replace openstack.org git:// URLs with https:// https://review.openstack.org/647090 | 00:55 |
openstackgerrit | Merged openstack/trove-dashboard stable/stein: Replace openstack.org git:// URLs with https:// https://review.openstack.org/647208 | 00:58 |
openstackgerrit | Merged openstack/trove-dashboard stable/queens: Replace openstack.org git:// URLs with https:// https://review.openstack.org/647206 | 01:00 |
openstackgerrit | Merged openstack/trove-dashboard stable/rocky: Replace openstack.org git:// URLs with https:// https://review.openstack.org/647207 | 01:01 |
openstackgerrit | Merged openstack/trove-dashboard stable/pike: Replace openstack.org git:// URLs with https:// https://review.openstack.org/647205 | 01:02 |
openstackgerrit | Merged openstack/trove-dashboard stable/ocata: Replace openstack.org git:// URLs with https:// https://review.openstack.org/647204 | 01:03 |
*** jamesmcarthur has joined #openstack-trove | 01:20 | |
*** jamesmcarthur has quit IRC | 01:23 | |
*** openstackgerrit has quit IRC | 01:30 | |
*** openstackgerrit has joined #openstack-trove | 02:00 | |
openstackgerrit | Merged openstack/trove master: Add error handling when Swift is not installed https://review.openstack.org/649051 | 02:00 |
*** sapd1 has joined #openstack-trove | 02:27 | |
*** openstackstatus has quit IRC | 04:35 | |
*** openstackstatus has joined #openstack-trove | 04:36 | |
*** ChanServ sets mode: +v openstackstatus | 04:36 | |
*** pcaruana has joined #openstack-trove | 05:06 | |
*** tosky has joined #openstack-trove | 07:28 | |
*** pcaruana has quit IRC | 07:34 | |
*** pcaruana has joined #openstack-trove | 07:35 | |
*** chhagarw has joined #openstack-trove | 09:12 | |
openstackgerrit | Kasper Hasior proposed openstack/trove master: Add Cassandra datastore upgrade https://review.openstack.org/651225 | 09:33 |
*** rcernin has quit IRC | 09:47 | |
*** ygbo has joined #openstack-trove | 09:52 | |
*** sapd1 has quit IRC | 11:29 | |
*** sapd1 has joined #openstack-trove | 11:29 | |
*** maciejjozefczyk has joined #openstack-trove | 11:59 | |
*** sapd1 has quit IRC | 12:00 | |
*** sapd1 has joined #openstack-trove | 12:02 | |
openstackgerrit | Kasper Hasior proposed openstack/trove master: Changing file owner when upgrading mariadb https://review.openstack.org/649581 | 12:29 |
openstackgerrit | Kasper Hasior proposed openstack/trove master: Add Cassandra datastore upgrade https://review.openstack.org/651225 | 12:59 |
*** irclogbot_2 has joined #openstack-trove | 13:04 | |
*** altlogbot_3 has joined #openstack-trove | 13:07 | |
openstackgerrit | Kasper Hasior proposed openstack/trove master: Fix backup tests https://review.openstack.org/651529 | 13:18 |
*** maciejjozefczyk has quit IRC | 13:19 | |
*** maciejjozefczyk has joined #openstack-trove | 13:21 | |
*** maciejjozefczyk has quit IRC | 13:21 | |
openstackgerrit | Kasper Hasior proposed openstack/trove master: Fix backup tests https://review.openstack.org/651529 | 13:25 |
*** openstackgerrit has quit IRC | 14:14 | |
*** sapd1 has quit IRC | 14:27 | |
*** sapd1 has joined #openstack-trove | 14:27 | |
*** sapd1 has quit IRC | 15:09 | |
*** sapd1 has joined #openstack-trove | 15:09 | |
*** maciejjozefczyk has joined #openstack-trove | 15:14 | |
*** jamesmcarthur has joined #openstack-trove | 15:32 | |
*** ygbo has quit IRC | 16:05 | |
*** jamesmcarthur has quit IRC | 16:06 | |
*** jamesmcarthur has joined #openstack-trove | 16:08 | |
*** sapd1 has quit IRC | 16:32 | |
*** sapd1 has joined #openstack-trove | 16:32 | |
*** altlogbot_3 has quit IRC | 16:46 | |
*** chhagarw has quit IRC | 17:03 | |
*** sapd1 has quit IRC | 17:29 | |
*** sapd1 has joined #openstack-trove | 17:30 | |
*** jamesmcarthur has quit IRC | 17:42 | |
*** sapd1 has quit IRC | 18:00 | |
*** sapd1 has joined #openstack-trove | 18:00 | |
*** jamesmcarthur has joined #openstack-trove | 18:12 | |
*** tosky has quit IRC | 18:21 | |
-openstackstatus- NOTICE: Restarting Gerrit on review.openstack.org to pick up new configuration for the replication plugin | 19:06 | |
mloza | lxkong: I have the xenial version now and I still don't have the trove-guest.service | 19:46 |
mloza | I'm launching the trove via nova launch instance but I don't see the trove-guest.service inside it | 19:58 |
mloza | trove image nova launch* | 19:58 |
*** jamesmcarthur has quit IRC | 19:59 | |
*** sapd1 has quit IRC | 20:10 | |
*** sapd1 has joined #openstack-trove | 20:16 | |
*** sapd1 has quit IRC | 20:34 | |
mloza | whats the difference between trove/integration/scripts/files/elements/ubuntu-guest/extra-data.d and trove/integration/scripts/files/elements/ubuntu-xenial-guest/extra-data.d | 20:36 |
mloza | i dont 20-guest-systemd inside trove/integration/scripts/files/elements/ubuntu-guest/extra-data.d | 20:37 |
mloza | i dont have* | 20:37 |
*** sapd1 has joined #openstack-trove | 20:37 | |
*** sapd1 has quit IRC | 21:14 | |
*** sapd1 has joined #openstack-trove | 21:19 | |
lxkong | mloza: you installed trove in devstack or manually? | 21:21 |
lxkong | mloza: how you built the image? | 21:21 |
lxkong | could you please provide the detailed steps? | 21:22 |
mloza | lxkong: kolla-ansible using the stable/rocky branch | 21:22 |
lxkong | mloza: i am using devstack with at least stable/stein, | 21:23 |
lxkong | mloza: can you log into the guest? | 21:23 |
lxkong | guest instance | 21:23 |
mloza | this is the script i'm using to build the trove image http://paste.openstack.org/show/e0RbUelWicxwzRKKRlLd/ | 21:24 |
mloza | lxkong: sure. let me create an instance out of the trove image | 21:24 |
lxkong | mloza: you want mariadb? | 21:26 |
mloza | ./build-trove.sh /home/mloza/test-imagecreate/iaas-imagebuilder/trove 10.0.91.12 mysql > mysql.log | 21:26 |
mloza | mysql | 21:26 |
mloza | i will send you the mysql.log once this finish building | 21:26 |
lxkong | `export GUEST_USERNAME=trovedb` i think it shold be `ubuntu` | 21:27 |
mloza | i dont see ubuntu-xenial-guest element getting triggered when building the image | 21:27 |
lxkong | for you script, make sure you understand each variable | 21:27 |
mloza | k let me change that | 21:28 |
lxkong | because you didn't specify that element in the script | 21:28 |
mloza | if i specicfy ubuntu-xenial-guest the build process fails | 21:28 |
mloza | specify* | 21:29 |
lxkong | what's the failure? | 21:29 |
mloza | hold | 21:29 |
lxkong | mloza: i need more information, the steps, the cli, the log, otherwide, i don't think i can provide any useful suggestion | 21:29 |
mloza | alright | 21:30 |
mloza | just a se | 21:30 |
mloza | i'm collecting logs | 21:30 |
lxkong | sure | 21:30 |
mloza | with GUEST_USERNAME=ubuntu and added the element ubuntu-xenial-guest the build process fails http://paste.openstack.org/show/ne7yOLOAd2C48KihA8kf/ | 21:34 |
mloza | looks like the paste is not complete | 21:36 |
mloza | here is the complete log https://pastebin.com/raw/eZ9bCLXu | 21:36 |
mloza | I modified the script http://paste.openstack.org/show/5GxuO8DQOKFz5Cw1t8nX/ | 21:38 |
mloza | ./build-trove.sh /home/mloza/test-imagecreate/iaas-imagebuilder/trove 10.0.91.12 mysql | 21:38 |
mloza | I'm following this guide https://docs.openstack.org/trove/rocky/admin/building_guest_images.html#building-guest-images-using-standard-elements but it doesn't specify ${DISTRO}-${RELEASE}-guest element when building the image | 21:42 |
mloza | it only has ${DISTRO}-guest | 21:44 |
mloza | lxkong: here is successful build without the ubuntu-xenial-guest element https://pastebin.com/raw/8susUwjf | 21:46 |
mloza | but it doesn't contain trove-guest.service | 21:46 |
mloza | same cli but without ubuntu-xenial-element in the script | 21:47 |
mloza | lxkong: do you want me to spin up a trove instance? | 21:49 |
*** sapd1 has quit IRC | 21:50 | |
*** sapd1 has joined #openstack-trove | 21:54 | |
lxkong | just back from stand up meeting | 21:58 |
lxkong | looking now | 21:58 |
lxkong | https://www.irccloud.com/pastebin/55upHFz9/ | 22:02 |
lxkong | that's the error | 22:02 |
lxkong | btw, the rocky doc you mentioned is just an example, it doesn't mean you should only use the elements included in the script | 22:03 |
lxkong | i have a patch aiming at make the image building process easier https://review.openstack.org/#/c/650608/ | 22:04 |
lxkong | but i'm afraid it only works with master | 22:04 |
*** rcernin has joined #openstack-trove | 22:06 | |
*** tosky has joined #openstack-trove | 22:26 | |
mloza | lxkong: I didn't saw that error. | 22:28 |
mloza | so sed is not escaping the // | 22:28 |
mloza | I can change this to | | 22:29 |
lxkong | the error is in https://pastebin.com/raw/eZ9bCLXu | 22:29 |
mloza | lxkong: in which file can I find this element that does the sed? | 22:30 |
mloza | sed 's|GUEST_USERNAME|ubuntu|g;s|GUEST_LOGDIR|/tmp/trove-logs|g;s|HOST_SCP_USERNAME|mloza|g;s|CONTROLLER_IP|10.0.91.12|g;s|PATH_TROVE|/home/mloza/test-imagecreate/iaas-imagebuilder/trove|g' | 22:30 |
lxkong | integration/scripts/files/elements/ubuntu-xenial-guest/extra-data.d/20-guest-systemd | 22:30 |
mloza | thanks a lot | 22:31 |
lxkong | np | 22:31 |
mloza | lxkong: is there another way in fixing this without changing / to | in sed? | 22:39 |
mloza | lxkong: https://review.openstack.org/#/c/650608/ this works in stein? | 22:39 |
*** sapd1 has quit IRC | 22:41 | |
lxkong | mloza: you need to convert all the paths before passing them to image build command | 22:41 |
lxkong | at least for mysql, yes | 22:41 |
lxkong | mloza: any reason you are using stable/rocky? | 22:41 |
lxkong | are you running trove in production or just testing? | 22:42 |
*** sapd1 has joined #openstack-trove | 22:42 | |
mloza | for some reason the master branch of kolla-ansible is broken | 22:42 |
mloza | thats why i resorted to stable/rocky | 22:42 |
mloza | just testing | 22:42 |
mloza | i will implement in production after testing | 22:43 |
mloza | i'm testing it in my lab env | 22:43 |
lxkong | so you've already used kolla-ansible to deploy other services in production? | 22:43 |
mloza | yes | 22:44 |
lxkong | i see | 22:44 |
lxkong | i'm not sure how trove is supported in kolla-ansible :-( | 22:44 |
lxkong | mloza: may i know your cloud name or company name? just as a reference | 22:45 |
mloza | lxkong: morphlabs | 22:45 |
mloza | i see | 22:45 |
lxkong | thanks | 22:46 |
mloza | why do you mean by converting all the paths? | 22:46 |
mloza | what* | 22:46 |
lxkong | something like `ESCAPED_PATH_TROVE=$(echo $PATH_TROVE | sed 's/\//\\\//g')` | 22:46 |
*** tosky has quit IRC | 22:47 | |
mloza | oh ok | 22:47 |
mloza | got it | 22:47 |
*** sapd1 has quit IRC | 22:55 | |
*** sapd1 has joined #openstack-trove | 22:58 | |
mloza | lxkong: so I have the guest agent inside image but the service is failing http://paste.openstack.org/raw/SjEuP3A92RgFp4PLy2BI/ | 23:18 |
mloza | is it necessary to give trove access to the controller ? | 23:18 |
lxkong | `Permission denied, please try again` | 23:18 |
lxkong | take a look at the file permissions in `/home/mloza/test-imagecreate/iaas-imagebuilder/trove/` | 23:19 |
mloza | i have it under my username | 23:21 |
mloza | i built the image in my local workstation | 23:21 |
mloza | the controller doesnt have /home/mloza/test-imagecreate/iaas-imagebuilder/trove/ | 23:21 |
mloza | the permission are correct | 23:21 |
mloza | lxkong: http://paste.openstack.org/show/aUdAP1etRlUPEo1OnYWb/ | 23:22 |
*** sapd1 has quit IRC | 23:23 | |
lxkong | the ssh private key in trove guest agent needs to be included in your host's authorized_keys | 23:24 |
*** sapd1 has joined #openstack-trove | 23:24 | |
lxkong | in order to ssh into the host and downlaod trove code | 23:24 |
mloza | is it possible to skip doing ssh instead put the trove source code inside the image ? | 23:27 |
lxkong | that's what https://review.openstack.org/#/c/650608/ does | 23:27 |
lxkong | but not possible with stable/rocky | 23:27 |
lxkong | and i am going to work on nova keypair support | 23:28 |
lxkong | so in future, we don't need to inject ssh keys into the image at the build time | 23:28 |
lxkong | all those things are gonna happen in Train dev cycle | 23:28 |
mloza | lxkong: I see. I plan to upgrade my lab env to master and I will test the patch | 23:48 |
mloza | Nice I hope it will come soon | 23:48 |
*** sapd1 has quit IRC | 23:48 | |
lxkong | mloza: please let me know if you have any question | 23:49 |
lxkong | my tz is UTC+12, so if i don't reply to you in IRC, just send email to openstack-discussion mailing list with topic '[trove]' | 23:49 |
mloza | lxkong: As an alternative of doing ssh to the controller get the source code, can I just use a VM that will contain the trove source the agent will copy not the controller node ? | 23:50 |
mloza | lxkong: As an alternative of doing ssh to the controller and get the source code, can I just use a VM that will contain the trove source code the agent will copy from not the controller node ? | 23:50 |
*** sapd1 has joined #openstack-trove | 23:50 | |
lxkong | you could, but need config the params carefully | 23:51 |
lxkong | i hope after you upgrading to master, the `dev_mode=false` could help you | 23:51 |
*** rcernin has quit IRC | 23:52 | |
mloza | so the value for $CONTROLLER_IP is just for SSH access and not kind interaction to the trove_api ? | 23:52 |
lxkong | yes, just for ssh | 23:53 |
mloza | lxkong: by master, you mean stein right? | 23:53 |
lxkong | that patch was merged only in master, but i can do backport to stable/stein | 23:53 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!